sympy
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents functions such as
parse_expr(),lambdify(),autowrap(), andufuncify()which generate and execute Python, C, or Fortran code at runtime. It also documents the use ofpicklefor object serialization. - [REMOTE_CODE_EXECUTION]: The documentation covers the
parse_expr()andparse_latex()functions. Sinceparse_expr()uses Python'seval()internally, it represents a potential execution vector if applied to unsanitized external strings. The skill explicitly warns about this risk inreferences/code-generation-printing.md. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a surface for processing untrusted mathematical expressions that could be executed via documented parsing functions. (1) Ingestion points: Mathematical strings ingested for parsing (noted in
references/code-generation-printing.md). (2) Boundary markers: The skill provides prominent warnings regardingevalusage and suggests using restricted parsing environments. (3) Capability inventory: Support for file system operations viaBashtool and runtime code compilation/execution viaautowrap. (4) Sanitization: Suggests input validation using regular expressions and limited symbol dictionaries. - [EXTERNAL_DOWNLOADS]: The skill instructs the installation of standard scientific Python packages (
sympy,numpy,scipy,matplotlib) from public package registries.
Audit Metadata