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.evaluateto run Python code generated at runtime. In thesort_by_fieldexample, 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
fieldparameter in thesort_by_fieldfunction example found inSKILL.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.evaluateand module loading throughPython.import_module. - Sanitization: There is no evidence of input validation, sanitization, or escaping of the
fieldvariable before it is interpolated into the executable string.
Audit Metadata