skills/nebulis-lab/skills_lib/sympy/Gen Agent Trust Hub

sympy

Warn

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides examples for using the pickle module to save and load SymPy expressions (e.g., pickle.load(f) in references/code-generation-printing.md). Using pickle.load() is insecure as it can execute arbitrary code if the input file has been tampered with or originates from an untrusted source.
  • [DYNAMIC_EXECUTION]: The skill documents the use of autowrap and ufuncify in references/code-generation-printing.md. These utilities dynamically generate, compile, and load C or Fortran code at runtime, which bypasses static security analysis and introduces risks associated with dynamic execution.
  • [DYNAMIC_EXECUTION]: Documentation in references/code-generation-printing.md suggests that srepr() output can be used with eval() to recreate objects. Using eval() on strings is a high-risk pattern that can lead to arbitrary code execution if the input is influenced by an attacker.
  • [INDIRECT_PROMPT_INJECTION]: The skill identifies parse_expr and input() as methods for interactive computation, creating an attack surface where malicious input could exploit the agent's mathematical processing capabilities.
  • Ingestion points: Untrusted data enters via parse_expr(user_input) and input() as documented in references/code-generation-printing.md.
  • Boundary markers: No explicit delimiters or boundary markers are demonstrated in the provided interactive code patterns.
  • Capability inventory: The skill scripts utilize pickle.load, eval, autowrap, and lambdify, providing a broad set of executable capabilities.
  • Sanitization: While a general note suggests sanitizing input, the code examples do not implement validation or filtering to mitigate injection risks.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 5, 2026, 11:08 AM