CI/CS/CD: Why Continuous Security Belongs in Software Delivery
Make security a continuous feedback loop across code, builds and production—with verified evidence, clear owners and practical release decisions.
Software delivery can move continuously while security decisions remain occasional. A team merges code, passes its tests and deploys a release, yet a dependency advisory arrives later, a permission changes or an exposed endpoint behaves differently in production. The delivery pipeline needs a security feedback loop that continues through those changes.
We use **CI/CS/CD** to make that responsibility explicit: Continuous Integration, Continuous Security and Continuous Delivery or Deployment. CS is an operating shorthand for this article, not a new standard, certification or claim of industry consensus. It builds on DevSecOps, which already brings security into development and operations. The useful question is whether security work actually continues when a build finishes.
## What each part contributes
| Activity | Main question | Evidence to retain |
| --- | --- | --- |
| CI: Continuous Integration | Does this integrated change build and satisfy the selected tests? | Exact revision, test scope, results and failures |
| CS: Continuous Security | What security risks apply to this source, artifact and running environment now? | Coverage, validated findings, context, decisions and verified fixes |
| CD: Continuous Delivery or Deployment | Can we release this approved artifact, and did the intended release reach its destination? | Artifact identity, release decision, deployment result and rollback reference |
Continuous delivery keeps software ready for release; continuous deployment automates release to production under the chosen controls. Neither term, by itself, establishes which security checks ran. CS should span design, integration, build, release and operation. Writing it between CI and CD must not reduce it to a single gate.
## Why a green pipeline has a limited shelf life
A test result belongs to the code, configuration, tools, scope and time that produced it. It cannot establish the absence of every vulnerability. An unchanged application can need a new security decision when a component vulnerability is disclosed or its environment changes. An authorization test can pass for one role while another role or tenant boundary remains untested.
[NIST’s Secure Software Development Framework, SP 800-218 version 1.1](https://csrc.nist.gov/pubs/sp/800/218/final), recommends integrating secure development practices into the software lifecycle. Its goals include reducing released vulnerabilities, limiting the effects of vulnerabilities that remain and addressing root causes. Our practical interpretation is to keep prevention, response and learning connected to delivery, rather than treating a one-time scan as enduring assurance.
Continuous does not mean every tool must run on every keystroke. It means defined triggers, accountable owners and a reliable path from a relevant change to a new decision. A pull request, dependency update, deployment configuration change, newly disclosed vulnerability or incident can each trigger the checks appropriate to its scope.
## Build a feedback loop, not a findings queue
Use a simple loop: **change or new evidence → assess → validate → decide → repair → retest → verify deployment → reassess**. This is a proposed operating model, not a measured claim about risk reduction.
Start with the change and its trust boundaries. Code review, secret detection, dependency analysis, infrastructure policy checks and authorization regression tests answer different questions. Runtime observation adds context about the deployed system. Authorized penetration testing can examine behavior that static checks miss, but requires explicit targets, permissions and operating limits. A subscription or repository connection is not permission to attack production.
Then validate the findings that matter. A scanner report is a candidate, not proof of exploitability or business impact. Record the affected component, reachable path, privileges, deployment exposure and supporting evidence. Preserve unresolved uncertainty. A skipped scanner or failed collection step must remain visible as missing coverage; it must not become a clean result.
Assign an owner to remediation and to the release decision. Link the fix to a regression case and rerun the relevant checks. Finally, verify that the intended artifact is actually deployed. Closing a ticket or merging a pull request proves a different outcome from repairing a running service.
## Protect the delivery system itself
The pipeline is part of the attack surface. [OWASP’s Top 10 CI/CD Security Risks](https://owasp.org/projects/top-10-cicd-security-risks) highlights areas including identity and access, dependency abuse, poisoned pipeline execution, credential hygiene and artifact integrity. Adding scanners while leaving the build or deployment authority exposed leaves an important gap.
Our recommended boundary is straightforward: untrusted code and pull-request jobs should not receive production deployment credentials. Keep sensitive publication authority in a trusted owner, minimize privileges and credential lifetimes, and independently verify the source and artifact accepted for release. Retain an identifiable previous version and a tested recovery path.
[NIST SP 800-204D](https://csrc.nist.gov/pubs/sp/800/204/d/final) examines how software supply-chain security measures fit into DevSecOps CI/CD pipelines. For artifact verification, [SLSA v1.2](https://slsa.dev/spec/v1.2/verifying-artifacts) describes checking provenance against trusted builders and expected build parameters. Simply storing provenance is insufficient; a verifier must evaluate it.
Use that evidence for the question it can answer. An artifact matching an accepted build provenance does not, by itself, prove that its application logic is secure. Likewise, a component inventory helps locate potentially affected releases; it does not establish exploitability or remediate a vulnerability.
## A hypothetical release that needs reassessment
Consider a service released on Tuesday. Its recorded checks passed for a specific commit and artifact. On Thursday, an advisory identifies a vulnerability in one of its dependencies. No application code has changed, so a workflow triggered only by commits would not revisit the release.
A continuous security process identifies which deployed artifacts contain the component, investigates whether the relevant code and configuration are exposed, and gives an owner the mitigation decision. The team updates or mitigates the component, adds an appropriate regression check, verifies the replacement artifact and confirms the deployment. If the rollout fails, it reconciles the actual state and follows the recovery plan. This example describes a workflow; it is not an observed customer outcome.
## Keep release gates proportionate and explicit
Blocking every change on every raw finding encourages alert fatigue and workarounds. Blocking nothing leaves no enforceable boundary. Define release policy around validated impact, exposure and the product’s trust model. Make high-impact failures explicit, and decide how unavailable or incomplete checks affect a release instead of silently accepting them.
Where an exception is justified, record the risk owner, reason, scope, compensating controls, expiry and required reassessment. A report-only rollout can help a team understand coverage and noise before enforcing a new check. It should have an owner and a transition decision, rather than becoming an indefinite substitute for policy.
## Measure the loop’s effectiveness
Track the share of relevant repositories, deployed artifacts and trust boundaries covered, together with the age and reason for gaps. Measure time from discovery to triage, validated remediation and successful retest separately. Report sample counts and observation periods alongside latency percentiles, and distinguish accepted-risk exceptions from verified fixes.
Also track delivery cost: queue time, check runtime, resources and developer effort for comparable workloads. Raw finding counts alone cannot tell you whether risk improved. More findings can reflect better coverage; fewer can reflect a broken collector. No universal percentage improvement or zero-vulnerability guarantee follows from adopting the acronym.
## Start with one delivery path
Choose one service and map its source, build, release and runtime owners. Record what is checked and what remains unknown. Bind results to the exact commit, artifact digest, environment, tool and policy versions, and observation time. Add a small set of relevant checks, a clear release policy and a response trigger for newly relevant vulnerabilities. Exercise one remediation and deployment read-back before expanding the process.
The value of CI/CS/CD is an accountable security loop that travels with software as it changes. Use the name if it helps the team keep that loop visible; judge the result by verified coverage, decisions and repairs.
## Sources and editorial scope
Sources reviewed on **14 November 2026**: [NIST SSDF v1.1, SP 800-218](https://csrc.nist.gov/pubs/sp/800/218/final); [NIST SP 800-204D](https://csrc.nist.gov/pubs/sp/800/204/d/final); [SLSA v1.2 artifact verification](https://slsa.dev/spec/v1.2/verifying-artifacts); [OWASP Top 10 CI/CD Security Risks](https://owasp.org/projects/top-10-cicd-security-risks). The workflow, example and implementation recommendations are Mithril’s editorial synthesis. This article does not announce a deployed Mithril service, a security certification or independently measured product results. Editorial snapshot: **ci-cs-cd-2026-11-14-v1**.