autogen-development
Fail
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
calculatetool function implementation inSKILL.mduses the Pythoneval()function to process theexpressionargument. Since this argument is generated by an LLM based on user input, it allows for arbitrary code execution on the host system where the agent is running. - [COMMAND_EXECUTION]: The skill provides an example of
LocalCommandLineCodeExecutorinSKILL.md. This component allows an agent to execute arbitrary shell commands on the local system. While the skill correctly suggests using Docker as a secure alternative, the inclusion of local execution represents a high-privilege capability that could be abused if the agent is compromised. - [INDIRECT_PROMPT_INJECTION]: The skill describes a multi-agent environment where agents ingest data from various sources (e.g., the
researcheragent). - Ingestion points: The
researcherandtool_agentprocess task descriptions and potentially external information. - Boundary markers: None are implemented in the code snippets provided.
- Capability inventory: Includes tool execution (with
eval) and shell command execution viaLocalCommandLineCodeExecutor. - Sanitization: There is no evidence of input validation or sanitization before passing data to the
eval()function or the code executor.
Recommendations
- AI detected serious security threats
Audit Metadata