agent-development
Warn
Audited by Gen Agent Trust Hub on Mar 31, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes a code example for AutoGen's
UserProxyAgentwherehuman_input_modeis set to"NEVER"andcode_execution_configis enabled. This pattern allows an AI agent to execute code on the local system autonomously without human-in-the-loop verification, which significantly increases the risk if the agent is manipulated via prompt injection. - [REMOTE_CODE_EXECUTION]: In the
CalculatorToolexample, the skill demonstrates using the Pythoneval()function to process theexpressioninput string. Usingeval()on strings that may originate from untrusted sources (such as LLM outputs or external data) is a critical security vulnerability that allows for arbitrary code execution within the host environment. - [PROMPT_INJECTION]: As the skill describes building agents that integrate tools, memory, and multi-agent communication, it inherently establishes an attack surface for indirect prompt injection. If an agent built using these patterns processes untrusted external data (e.g., via the search tools or memory retrieval described), it could be coerced into executing malicious commands or tools.
Audit Metadata