mojo-python-interop

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides examples of using Python.evaluate to run Python code generated at runtime. In the sort_by_field example, a variable is directly concatenated into a Python lambda string: Python.evaluate("lambda x: x['" + field + "']"). Assembling executable code via string interpolation is a risky pattern that can lead to arbitrary code execution if the interpolated variable contains untrusted data.
  • [INDIRECT_PROMPT_INJECTION]: The skill documents an attack surface where untrusted data could influence sensitive execution sinks without sanitization.
  • Ingestion points: The field parameter in the sort_by_field function example found in SKILL.md.
  • Boundary markers: The example lacks any boundary markers or delimiters to isolate the untrusted variable from the code template.
  • Capability inventory: The skill enables arbitrary Python execution via Python.evaluate and module loading through Python.import_module.
  • Sanitization: There is no evidence of input validation, sanitization, or escaping of the field variable before it is interpolated into the executable string.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 08:21 PM