skills/mukul975/anthropic-cybersecurity-skills/implementing-image-provenance-verification-with-cosign/Socket
implementing-image-provenance-verification-with-cosign
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyscripts/agent.py
LOWAnomalyLOW
scripts/agent.py
The code is a legitimate cosign/container provenance helper and contains no clear malware, data theft, persistence, or exfiltration behavior. The main security risk is unvalidated interpolation of image_ref into generated GitHub Actions YAML and shell commands, which can enable command or workflow injection when the generated workflow is later used. Signature verification is also overly permissive in the generated workflow because it accepts any certificate identity. The supplied fragment additionally contains a syntax error at the final main( call.
Confidence: 98%Severity: 62%
Audit Metadata