Software signing

From RedHatProductSecurity/prodsec-skills · View interactive version

Software signing is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Enforce digital signing of software binaries and container images. Use when building, releasing, or reviewing CI/CD pipelines for AI software, MCP servers, or any distributed components.

How to use this skill

Skill file

Software Signing

Security Requirement

All binaries and container images MUST be digitally signed so that users and automated systems can verify their integrity and provenance.

What to Sign

| Artifact | Signing Method |

|---|---|

| Container images | Sigstore Cosign, Docker Content Trust |

| Binaries | GPG signatures, Sigstore |

| Helm charts | Helm provenance files (GPG signed) |

| Python packages | GPG or Sigstore signatures |

| npm packages | npm provenance (Sigstore-based) |

Sigstore Cosign Example

# Sign a container image
cosign sign --key cosign.key registry.example.com/mcp-server:v1.0.0

# Verify a container image
cosign verify --key cosign.pub registry.example.com/mcp-server:v1.0.0

Keyless Signing (Sigstore Fulcio)

For open source projects, use keyless signing with Sigstore Fulcio to avoid key management:

# Keyless sign (uses OIDC identity)
cosign sign registry.example.com/mcp-server:v1.0.0

# Verify with identity
cosign verify \
  --certificate-identity=ci@example.com \
  --certificate-oidc-issuer=https://accounts.google.com \
  registry.example.com/mcp-server:v1.0.0

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.