sympy
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents the use of SymPy functions like lambdify, parse_expr, and sympify, which involve runtime code generation and the use of Python's eval. It also demonstrates pickle for object persistence and autowrap for compiling native code. The documentation provides explicit warnings that these features are not sandboxed and should only be used with trusted input.
- [INDIRECT_PROMPT_INJECTION]: The skill describes capabilities to parse mathematical expressions from various text formats, creating an attack surface for indirect prompt injection if the agent processes untrusted external data. * Ingestion points: parse_expr, parse_latex, and parse_mathematica in references/code-generation-printing.md. * Boundary markers: The documentation warns that regex filtering and local dictionaries are not sufficient sandboxes and suggests using custom allowlisted grammars. * Capability inventory: The skill has access to shell execution via the Bash tool and file system writing, allowing it to execute generated code. * Sanitization: No automated sanitization is provided in the examples, but the documentation explicitly notes the risks.
- [EXTERNAL_DOWNLOADS]: The skill provides instructions to install SymPy and related scientific libraries from official package registries using the uv pip command.
Audit Metadata