sympy
Warn
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill demonstrates the use of 'autowrap' and 'ufuncify' in 'references/code-generation-printing.md'. These functions automatically compile C or Fortran code at runtime and create Python wrappers, which involves executing external compilers and loading shared libraries into the process.\n- [DYNAMIC_EXECUTION]: The 'parse_expr()' function is documented in 'references/code-generation-printing.md'. This function uses Python's 'eval()' internally to convert strings into SymPy expressions. Although the file includes a security warning and suggests restricted parsing, the use of 'eval' on strings derived from untrusted sources is a significant dynamic execution risk.\n- [DYNAMIC_EXECUTION]: The skill provides examples of using 'pickle.load()' for deserializing SymPy objects in 'references/code-generation-printing.md'. Pickle is inherently insecure against maliciously constructed data, and loading a pickle file from an untrusted source can lead to arbitrary code execution.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes mathematical expressions from potentially untrusted sources, creating an attack surface for indirect prompt injection.\n
- Ingestion points: Mathematical strings processed by 'parse_expr', 'parse_latex', or 'parse_mathematica' as documented in 'references/code-generation-printing.md'.\n
- Boundary markers: The documentation suggests validation but does not define or enforce strict boundary markers for the agent's runtime prompt context.\n
- Capability inventory: The skill has access to the 'Bash' tool and utilizes functions that perform 'eval' and runtime compilation.\n
- Sanitization: A security warning is provided in 'references/code-generation-printing.md' advising against use on unsanitized user input, but the skill relies on the agent's implementation of these safeguards.
Audit Metadata