skills/mukul975/anthropic-cybersecurity-skills/implementing-image-provenance-verification-with-cosign/Gen Agent Trust Hub
implementing-image-provenance-verification-with-cosign
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
scripts/agent.pyandscripts/process.pyexecute thecosignCLI usingsubprocess.run. The commands are invoked using argument lists, which is a secure implementation that prevents shell injection attacks. - [EXTERNAL_DOWNLOADS]:
SKILL.mdprovides installation instructions that fetch thecosignbinary from Sigstore's official GitHub releases. Sigstore is the primary vendor for the tool and is a well-known security project. - [INDIRECT_PROMPT_INJECTION]: The skill reads and parses JSON data returned by the
cosigntool to generate reports and policies. - Ingestion points:
cosignCLI standard output inscripts/agent.pyandscripts/process.py. - Boundary markers: None identified; the skill relies on JSON structure for data delimitation.
- Capability inventory: The skill has the ability to execute system commands via
subprocess.runand write files to the local disk. - Sanitization: The data is parsed using the standard Python
json.loads()method before use. - [PRIVILEGE_ESCALATION]: The
SKILL.mddocumentation includessudocommands (sudo mvandsudo chmod) for installing thecosignbinary to a global system path. This is standard administrative practice for installing command-line tools.
Audit Metadata