calculator
Fail
Audited by Gen Agent Trust Hub on Apr 11, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
calculator_cli.pyscript executes theexpressionparameter directly via theeval()function. This creates a critical security vulnerability where untrusted input can be used to execute arbitrary Python code. - [COMMAND_EXECUTION]: While the
eval()call uses an empty__builtins__dictionary as a sandbox, this is a known insecure configuration in Python. Attackers can use object introspection to escape the restricted environment, access theosorsubprocessmodules, and execute arbitrary shell commands on the underlying system. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection due to its processing of untrusted input combined with high-impact execution capabilities.
- Ingestion points: The
expressionparameter incalculator_cli.py(read fromsys.stdin). - Boundary markers: None identified in the prompt instructions or the CLI script.
- Capability inventory: Potential for full system access through the
eval()function incalculator_cli.py. - Sanitization: Minimal and ineffective; the script attempts to clear builtins but does not prevent attribute-based sandbox escapes.
Recommendations
- AI detected serious security threats
Audit Metadata