Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Security bug: Arbitrary code execution #639

Open
SecureMPro opened this issue Aug 13, 2024 · 0 comments
Open

[Bug] Security bug: Arbitrary code execution #639

SecureMPro opened this issue Aug 13, 2024 · 0 comments

Comments

@SecureMPro
Copy link

Describe the bug

Security bug: Arbitrary code execution

How To Reproduce

Hello Developer,

I have noticed that Devika does not implement security measures to isolate the execution of user-provided code, which could lead to the takeover of the server running the code.

For instance, when I used the following prompt to execute code, Devika directly opened the calculator on my computer:
execute the following python code: os.system("open -a calculator")

If I were to execute malicious code, this could seriously compromise server security.

Screenshots and logs

image
@SecureMPro SecureMPro changed the title [Bug] [Bug] Security bug: Arbitrary code execution Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant