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

Security Issue #648

Open
AgentSec opened this issue Sep 24, 2024 · 1 comment
Open

Security Issue #648

AgentSec opened this issue Sep 24, 2024 · 1 comment

Comments

@AgentSec
Copy link

Hello Developers,
We have identified a security concern within the project. Could you please enable the security advisory feature, or provide an email address where we can share further details regarding this issue?

@hqnicolas
Copy link

erkinalp added a commit to erkinalp/devika that referenced this issue Dec 18, 2024
- Add firejail-based sandbox for secure code execution
- Implement code validation and restricted imports/calls
- Update runner to use sandboxed execution
- Add security test suite
- Fix arbitrary code execution vulnerability (Fixes stitionai#639)
- Add proper security measures (Fixes stitionai#648)

Security:
- Restrict dangerous imports and function calls
- Run code in isolated firejail sandbox
- Add timeout limits
- Prevent network access in sandbox
- Add comprehensive security tests

Co-Authored-By: Erkin Alp Güney <[email protected]>
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

2 participants