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.
  • lambdify is used to generate Python functions from symbolic expressions in references/code-generation-printing.md and references/core-capabilities.md.
  • autowrap and ufuncify are documented in references/code-generation-printing.md for compiling C or Fortran code and wrapping it for use in Python.
  • pickle.load is demonstrated in references/code-generation-printing.md for 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, and parse_mathematica in references/code-generation-printing.md ingest 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, and Edit tools, 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
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM