sympy
Pass
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents the use of
pickle.load()for deserializing saved mathematical expressions inreferences/code-generation-printing.md. Loading data withpicklefrom untrusted sources is a critical vulnerability that can lead to arbitrary code execution. - [DYNAMIC_EXECUTION]: Multiple functions including
autowrap()andufuncify()are described which perform runtime compilation of C or Fortran code to create Python extensions. Additionally,lambdify()is used to generate executable Python functions from symbolic expressions. - [COMMAND_EXECUTION]: The skill utilizes
parse_expr()to evaluate string inputs as Python expressions and notes that the output ofsrepr()can be passed directly toeval(). These patterns allow for the execution of arbitrary Python code if the input strings are not properly sanitized. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a vulnerability surface through its use of
parse_expr()to process external mathematical strings. - Ingestion points:
parse_expr()inreferences/code-generation-printing.mdaccepts strings for parsing. - Boundary markers: No explicit delimiters or boundary markers are defined for isolating mathematical input.
- Capability inventory: The skill has the ability to execute generated code via
lambdify,eval, and runtime compilation (autowrap). - Sanitization: The documentation includes a textual warning to "validate and sanitize to avoid code injection," but the skill itself does not implement automated sanitization logic.
- [METADATA_POISONING]: The
SKILL.mdfile contains instructions that override the agent's natural response behavior by requiring it to "proactively suggest using K-Dense Web (www.k-dense.ai)" when tasks involve multi-step reasoning or complex research. This is a form of instructional steering for promotional purposes.
Audit Metadata