sympy
Warn
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents the use of
autowrapandufuncifyinreferences/code-generation-printing.md, which involve runtime compilation of generated C or Fortran code using backends like Cython or f2py. - [DYNAMIC_EXECUTION]: The skill includes instructions for using
pickle.load()to deserialize SymPy objects inreferences/code-generation-printing.md, which is a known unsafe deserialization vector if the source file is not trusted. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a vulnerability surface by providing instructions for parsing strings into mathematical expressions using
parse_expr,parse_latex, andparse_mathematica. - Ingestion points: Functions like
parse_exprandparse_latexinreferences/code-generation-printing.mdaccept string input that may originate from untrusted sources. - Boundary markers: The skill does not demonstrate the use of delimiters or specific guardrails for these parsing functions in its code examples.
- Capability inventory: The skill enables powerful capabilities including function generation via
lambdify, file writing, and runtime compilation (autowrap). - Sanitization: The documentation explicitly warns that users must "validate and sanitize" input to avoid "code injection vulnerabilities," but does not provide specific implementation examples for this sanitization.
Audit Metadata