Lesson 6: Secure Software Release and Remediation
Build security into software releases with clear acceptance criteria, review questions, pipeline checks and verified remediation. Includes a release exercise.
A secure software release combines defined security requirements, useful review evidence and a clear decision about remaining risk. Build these into normal delivery so each release has an accountable owner and a record of what was checked.
Security checks in delivery pipelines provide repeatable feedback, but they need an owner, suitable coverage and a response process. A passing job does not establish that all important security controls have been assessed.
Learning outcome
You should be able to define a release's relevant security acceptance criteria and explain how evidence supports the decision to deploy it.
Identify sensitive changes before implementation
Ask what information the feature reads or changes, who may use it and which trust boundaries it crosses. Consider exceptional states, repeated actions, concurrent requests and third-party failure.
Record the expected permissions and business rules. A new export, invitation flow or automation tool may alter the attack surface even if the visible screen changes little.
Make code review follow the change
Useful questions include:
- Where does untrusted input enter and how is each use protected?
- Where are function, object and tenant permissions enforced?
- Does the change expose new data, credentials or privileged actions?
- Are errors, logs and background tasks consistent with the intended controls?
- What happens if the action is repeated or interrupted?
Use a reviewer with enough context to understand the feature. For sensitive decisions, include the developer or service owner who can explain the expected behaviour.
Select pipeline checks with a purpose
| Check | Useful evidence |
|---|---|
| Secret detection | Suspected exposed values that have an investigation and response owner. |
| Dependency review | Affected shipped components and an update or risk decision. |
| Static analysis | Relevant code paths reviewed and findings validated. |
| Permission regression tests | Expected allowed and denied actions across important roles. |
| Deployed service checks | Results tied to a reachable build with suitable access. |
| Configuration review | Evidence that important runtime settings match the intended policy. |
Decide which results block a release and who may approve an exception. Avoid silently bypassing failed checks when the underlying system or account is unavailable; record the loss of evidence.
Use independent testing where it answers a material question
Plan assessment early enough to make changes. Define the release, scope, access and decision date, including important production differences.
Focused release testing can examine a changed permission model or integration. It should not be presented as a full assessment of unchanged components unless that broader work was included.
Turn findings into regression protection
Trace the root cause and investigate related instances. Implement the control at a suitable shared boundary where appropriate, then verify that legitimate use still works.
Record the deployed fix and repeat the relevant security scenario. Retesting should distinguish the portions verified from those that remain inaccessible or outside the agreed follow-up.
Review exercise
Choose an upcoming release and record its three most important security questions. For each, name the expected behaviour, evidence, owner and release condition.
Review the results with the service owner. Record unresolved findings and any authorised risk decision, including conditions and a review date.
After deployment, confirm the relevant configuration and operational checks. Feed incidents, assessment results and failed assumptions back into the acceptance criteria for future releases.
Related resources
- Application Go-live Security Checklist for Release Teams
- Vulnerability Remediation Tracker: Fields, Status and Verification
- Secure Code Review: Scope, OWASP ASVS and Remediation
Read our Testing methodology to discuss coverage, or Book a demo with the systems and objectives you have in mind.