sympy
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents and provides examples for features that execute or compile code at runtime.
lambdifyis used to generate Python functions from symbolic expressions inreferences/code-generation-printing.mdandreferences/core-capabilities.md.autowrapandufuncifyare documented inreferences/code-generation-printing.mdfor compiling C or Fortran code and wrapping it for use in Python.pickle.loadis demonstrated inreferences/code-generation-printing.mdfor object persistence. The skill author includes a specific security warning: 'Load only trusted pickle files; loading pickle can execute code.'- [INDIRECT_PROMPT_INJECTION]: The skill provides tools for parsing mathematical expressions from strings, which creates an attack surface if the input data is untrusted.
- Ingestion points: Functions like
parse_expr,parse_latex, andparse_mathematicainreferences/code-generation-printing.mdingest string data to create SymPy objects. - Boundary markers: The documentation explicitly warns that 'SymPy is not a sandbox' and advises using 'trusted local strings/expressions' or 'separately designed allowlisted grammars' for untrusted data.
- Capability inventory: The skill allows
Bash,Read,Write, andEdittools, meaning an injection that successfully executes code could interact with the filesystem or shell. - Sanitization: The skill recommends using allowlisted grammars and enforcing size/time limits for untrusted input, but does not provide the implementation for these safeguards within the skill scripts themselves.
Audit Metadata