Use this when updates, plugins or pipelines are trusted without verification (OWASP A08).
Software & Data Integrity Failures
1. Software and data integrity failures: unsigned updates, compromised pipelines, insecure deserialization.
2. Sign and verify artifacts.
3. Protect CI/CD.
4. SLSA provenance.
5. Verify dependencies.
source → build → signed artifact → verified deploy
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
- Lock files committed and dependencies pinned with hashes (
npm ci,pip install --require-hashes). - CI/CD runs with least privilege and protected branches.
- Artefacts signed and verified at deploy (cosign verify).
- SBOM generated for each release (Syft, CycloneDX).
- Auto-update channels use signed updates.
Step 2 Common mistakes Narrow the fault
- Unsigned updates and CI pipelines without integrity checks.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Sign and verify artefacts.
- Protect CI/CD pipelines.
- Avoid unsafe deserialization.
cosign verify <image>— signed images- CI/CD pipeline protections (protected branches, signed commits) — supply chain
- Deserialization of untrusted data — integrity
ReferenceWhy it matters1 section · depth on demand
Checklist
- Sign code and container images; verify signatures before deployment.
- Use trusted package repositories, lock dependency versions and check hashes.
- Protect CI/CD: least-privilege runners, protected branches, reviewed pipeline changes, secrets in a vault.
- Do not accept serialized objects from untrusted sources.
ReferenceHow it works1 section · depth on demand
In depth
Software and data integrity failures occur when code, updates, CI/CD pipelines or critical data are trusted without verification: unsigned updates, dependencies pulled from untrusted sources, compromised build systems, or deserialisation of untrusted data. Supply-chain attacks (SolarWinds, malicious packages) exploit them.
Controls:
| Area | Control |
|---|---|
| Updates | Signed updates verified before install |
| Dependencies | Pinned versions, trusted registries, integrity hashes |
| Build pipeline | Protected branches, least-privilege runners, provenance (SLSA) |
| Artifacts | Signing (cosign), SBOMs |
| Data | Integrity checks on critical data and configuration |
Treat the CI/CD system as production infrastructure: whoever controls the build controls what customers receive.
ReferenceImportant terms & boundaries1 section · depth on demand
Examples
| Case | What happened |
|---|---|
| SolarWinds (2020) | Build system compromised; signed update carried a backdoor |
| Codecov (2021) | Modified bash uploader exfiltrated CI secrets |
| xz-utils (2024) | Malicious maintainer added a backdoor to release tarballs |
Defences: signed artefacts (Sigstore/cosign), SBOMs, pinned dependencies with hashes, protected build pipelines (SLSA).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in OWASP → Software & Data Integrity Failures. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://owasp.org/www-project-application-security-verification-standard/ · confidence 94%