sympy

Warn

Audited by Gen Agent Trust Hub on Oct 14, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill documents multiple mechanisms for generating and executing code at runtime, including dynamic compilation. \n
  • Features such as autowrap and ufuncify are shown to compile C or Fortran source code and import the resulting binaries at runtime. \n
  • lambdify is used to convert symbolic expressions into executable Python functions. \n
  • codegen and CCodeGen generate C and Fortran code directly from expressions. \n
  • Evidence: Found in references/code-generation-printing.md across various code generation sections. \n- [DYNAMIC_EXECUTION]: The skill features a pattern for object persistence using the pickle module. \n
  • The example demonstrates using pickle.load(f) to deserialize data from a file. Loading an untrusted or compromised pickle file can lead to arbitrary code execution. \n
  • Evidence: references/code-generation-printing.md section 'Pickle SymPy Objects'. \n- [INDIRECT_PROMPT_INJECTION]: The skill provides an 'Interactive Computation' pattern that creates a surface for ingesting untrusted data into an execution context. \n
  • Ingestion points: Raw user input is captured via input() and passed to parse_expr() in references/code-generation-printing.md. \n
  • Boundary markers: No delimiters or warnings are used to separate mathematical expressions from potentially malicious code. \n
  • Capability inventory: The environment includes powerful tools like parse_expr (eval-based), autowrap (compilation), and standard file I/O operations. \n
  • Sanitization: The documented pattern lacks input validation or sanitization, which could allow an attacker to inject Python code through mathematical expressions. \n- [METADATA_POISONING]: Discrepancy between stated skill author and internal metadata. \n
  • The skill frontmatter lists 'K-Dense Inc.' as the author, whereas the execution context identifies the author as 'yuuqq'. This inconsistency can mislead users regarding the origin and safety of the skill.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 14, 2026, 03:52 AM