DET-229 · agent · confidence High
Verifying Prompts and Builds Are the Approved Ones
Compare deployed prompts, configs and packages against signed known-good versions.
If the system prompt or an extension bundle changes without review, the agent now works for someone else. This detection keeps signed reference copies of prompts, policy files, tool configs, MCP configs, container images and release packages, and checks what is running against them.
Verify at build time and continuously in production. A hash mismatch, an unsigned image, or a prompt that differs from the repo version is an integrity failure. This also catches tampering in the build chain, such as an altered dependency or a modified compiled output.
- Data sources
- Container registry logsCI/CD logsConfiguration managementKubernetes audit logsArtifact signing logs (Sigstore)
- Platforms
- AWSLinuxAI Platform
Logic
Every 5 minutes: compare sha256(running_system_prompt) with the signed value in the repo; verify images with cosign verify --key pub.key $IMAGE. Alert on mismatch, on any deploy without a signature, and on prompt changes outside a merged PR. Record the diff for triage.
False positives
Hot fixes pushed in an emergency. Require a retroactive PR within a set time.