Skip to content

Commit

Permalink
add security warning in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Feb 14, 2025
1 parent bdcfb13 commit 1ec190e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
<a href="https://www.linkedin.com/in/aleksandra-p%C5%82o%C5%84ska-42047432/">👩‍💼 LinkedIn</a>
</p>

## Important secutiry risk

The PlotAI executes code from LLM. It is using `exec()` function for this.

I commented out the `exec()` function in file `plotai/code/executor.py`. If you understand the security risks you need to remove comment to use the package.

# PlotAI 🎨🤖

The easiest way to create plots in Python and Matplotlib. The `plotai` is using LLM to generate code and plots.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="plotai",
version="0.0.6",
version="0.0.7",
description="Create plots in Python with AI",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 1ec190e

Please sign in to comment.