praisonaiagents is vulnerable to Code Injection
100
Critical Risk
CodeAgent._execute_python() writes LLM-generated Python to a temp file and runs it in a subprocess with os.environ.copy(), with no AST validation, import restrictions, or sandbox enforcement—even when CodeConfig(sandbox=True) is set. An attacker who can influence the generated code through prompt injection can read environment secrets such as API keys and cloud credentials and run arbitrary code on the host. The fix enforces sandboxing for code execution and stops passing the full parent environment into the subprocess.
You are affected if you are using a version that falls within the vulnerable range and use CodeAgent (or equivalent code-execution tooling) with LLM-generated or otherwise untrusted code.
praisonaiagents is vulnerable to Code Injection in versions 0.13.21 - 1.6.77.
Upgrade the praisonaiagents library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant