sympy
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents the use of
pickle.load()inreferences/code-generation-printing.mdfor persisting and restoring mathematical expressions. While standard in scientific computing, this mechanism is inherently unsafe for processing data from untrusted sources. - [DYNAMIC_EXECUTION]: The skill provides examples for
autowrapandufuncify, which generate C or Fortran code from symbolic expressions at runtime, compile it, and load the resulting binary. While a core feature of SymPy for performance, it represents a dynamic code execution surface. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates parsing strings from external formats (LaTeX, Mathematica, or generic expressions) into SymPy objects. The
parse_exprfunction is noted to useevalinternally. The skill includes warnings about sanitizing input, which is a necessary precaution for this ingestion point.
Audit Metadata