sympy

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill documents the use of pickle.load() in references/code-generation-printing.md for restoring symbolic expressions. This is an unsafe deserialization pattern that can be exploited if the pickle file originates from an untrusted source.
  • [DYNAMIC_EXECUTION]: The skill provides patterns for runtime compilation and execution in references/code-generation-printing.md through autowrap and ufuncify. These tools generate C, Fortran, or Cython code and compile it into shared libraries at runtime.
  • [DYNAMIC_EXECUTION]: The skill mentions parse_expr() and its internal use of eval(). The documentation in references/code-generation-printing.md provides explicit security warnings and validation strategies (e.g., Pattern 3: Interactive Computation) to prevent arbitrary code execution from user-supplied strings.
  • [COMMAND_EXECUTION]: The skill requires shell access and compiler invocations (e.g., uv, gcc) to manage dependencies and perform the runtime compilation tasks described in the code generation reference.
  • [INDIRECT_PROMPT_INJECTION]: The skill identifies a data ingestion surface in references/code-generation-printing.md where mathematical strings are parsed. Ingestion points: String inputs to parse_expr and parse_latex in references/code-generation-printing.md. Boundary markers: Not explicitly utilized in samples, though validation logic is suggested. Capability inventory: Runtime compilation and system execution. Sanitization: The skill includes example code for strict regex validation and limited parsing transformations to mitigate injection risks.
  • [EXTERNAL_DOWNLOADS]: The skill fetches citation metadata from the well-known research repository arxiv.org as described in SKILL.md to ensure proper academic attribution.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 09:47 AM