audit-provenance
Warn
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/audit_provenance.pydynamically loads Python modules from relative paths usingimportlib.util. Specifically, the_loadfunction callsexec_moduleon scripts located in sibling skill directories such asinspect-content-provenance,verify-content-credentials,audit-metadata-privacy, anddetect-text-watermark. - [REMOTE_CODE_EXECUTION]: The skill invokes an external binary (
c2patool) through therun_toolfunction inscripts/provenance_core.py. The path to this binary is a user-controlled parameter provided at runtime, which allows for the execution of arbitrary local files if an attacker-controlled path is passed to the tool. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted assets (images, documents, and text files) to extract metadata and return a summary to the AI agent. This creates a vulnerability where malicious instructions hidden in the file content could be processed and interpreted by the agent when it reads the audit results.
- Ingestion points: Asset content is read via
read_headandread_text_streamfunctions inscripts/provenance_core.py. - Boundary markers: The audit output is structured as JSON, but field values like
unknownsandreasondirectly incorporate data derived from the analyzed file content without specific delimiters. - Capability inventory: The skill possesses file-read and subprocess-execution capabilities.
- Sanitization: The skill does not implement sanitization or filtering to prevent instruction injection from the data extracted from analyzed assets.
Audit Metadata