LESSON 10

Capstone: Produce the Security Assessment

Assemble the SignalDesk Security Assessment, check it for consistency and evidence, review it independently, and give decision-makers an honest recommendation on the release candidate.

Introduction

You have built the parts: security goals and scope, a threat model, a secure architecture, a vulnerability analysis method, static and dynamic analysis, dependency and supply chain controls, security reviews, security tests, and a remediation and reporting process. The capstone assembles them into a Security Assessment: a documented, evidence-based statement of what was examined, what was found, what was done about it, what remains, and whether the release candidate is acceptable to release.

A good assessment does not claim that the system is secure. It tells decision-makers the truth about risk, in a form they can act on.

Learning Objectives

  • Assemble a coherent, evidence-based security assessment.
  • Check the assessment for consistency across threats, controls, findings, and tests.
  • Verify that claims are supported by evidence, and that gaps are stated.
  • Assess a release candidate against explicit security criteria.
  • Present residual risk and a recommendation honestly to decision-makers.
  • Use AI for independent review without delegating the decision.
  • Plan the handoff to the operations course.

1. Assessment Package Structure

Keep the assessment short enough to be read, with detail linked from the repository and the security workspace. Suggested structure:

Section Content Lesson
1. Summary and recommendation Decision needed, recommendation, top risks, conditions All
2. Scope and method System, environments, assets, threat actors, authorization, exclusions 1
3. Risk scale and security goals Scales, responses, goals and obligations 1
4. Threat model Diagram, trust boundaries, threat register with ratings and status 2
5. Security architecture Authentication, authorization, tenant isolation, data protection, hardening, integrations, ADRs 3
6. Vulnerability analysis Method, findings register summary, priority rules 4
7. Automated analysis Tools, pipeline placement, gates, results, suppressions 5
8. Dependencies and supply chain SBOM, scan results, policy, build integrity and signing status 6
9. Security review Areas reviewed, results, AI review verification record 7
10. Security testing Authorization, test results, threat coverage, penetration test status 8
11. Remediation and exceptions Status by priority, exceptions with approvers and expiry dates 9
12. Disclosure and incident readiness Disclosure policy, playbooks, exercise results 9
13. Residual risks and limitations What could still go wrong; what was not examined All
14. Metrics Values and trends 9
Appendices Evidence links, register exports, tool reports, test results  

Store the assessment in the documentation set under a security section, using the metadata, ownership, and review checks from the documentation course. Reference evidence by link and keep sensitive detail (such as exploitation steps for open findings) in access-controlled storage, with the public or customer-facing version shortened accordingly.

2. Consistency Checks

Inconsistencies hide between the sections. Check at least:

  1. Threats to controls. Every high and critical threat has a named control in the architecture, or an accepted exception.
  2. Controls to evidence. Every claimed control has evidence: a configuration, a test, a review record, or a scan. A control that exists only in a document is marked “unverified.”
  3. Threats to tests. Every high threat has a passing test, or the gap is listed.
  4. Findings to closure. Every finding is verified closed, in progress with an owner and date, or covered by an exception with an approver and an unexpired date.
  5. Priority rules. Priorities follow the written rules; none was lowered without a recorded reason.
  6. Tools to coverage. The weakness classes that tools cannot find (access control, business logic) have another source of evidence.
  7. Artifacts. The scans, SBOM, and signing status refer to the exact artifact (digest) proposed for release.
  8. Pipeline permissions. The permissions and gates described match the actual pipeline definitions and infrastructure code.
  9. Documentation. The architecture documentation, developer guide, and customer-facing statements match what was built; no document claims a control that does not exist.
  10. Customer commitments. Statements in contracts and questionnaires are consistent with the assessment.

Record each check with its result and evidence. Fix what fails, and correct the documents, not only the assessment.

3. Validate Key Controls End to End

A table of controls is not proof. Before assessing the release candidate, exercise the most important defenses together in staging, with synthetic data and within the authorization:

Exercise What it proves
Cross-tenant attempts across the API, exports, search, files, and queue Tenant isolation holds in every place tenant data lives
Privilege escalation attempts by each role Authorization is enforced for every role
Credential leak drill: revoke and rotate a service credential Rotation works without outage; leak response is practical
Malicious upload set through the full import and summary path Limits, parsing safety, output encoding, and injection containment hold
Dependency advisory drill: “a critical flaw in library X was announced” The SBOM answers where it is used; the patch path is fast
Pipeline tampering review: attempt to change what is deployed without review Branch protection, permissions, and signature verification block it
Detection check: perform a few noisy, authorized, test actions Logs and alerts show them; someone would notice
Tabletop incident: suspected cross-tenant exposure Roles, playbooks, and communication work; gaps are found

Record the results, what surprised you, and what changed. A drill that finds a gap in staging is a success.

4. Assess the Release Candidate

Apply the assessment to the real artifact that the Production Deployment Pipeline will release. Gather evidence for explicit criteria:

Criterion Evidence
No open critical findings; no open high findings without approved mitigation or exception Findings register export
Threat model current for this release Diff of the threat register against the last review
Authorization and tenant isolation tests pass for all endpoints Test run for the release candidate digest
Secrets scanning clean, including history; no known leaked credentials Scan report, rotation records
Dependency and image scans: no exploitable critical vulnerabilities without an accepted exception Scan reports with dates, SBOM
Artifact integrity: provenance and signature verified before deployment Verification record
Static and dynamic analysis completed with triage Reports and triage record
AI integration containment tests pass; provider data handling confirmed Test results, review of provider terms
Infrastructure policy checks pass; permissions reviewed Plan output, review record
Logging and alerting cover security events Test records
Incident and disclosure readiness Playbooks, exercise record, policy
Penetration test completed or consciously deferred with a rationale Report or decision record
Exceptions approved, unexpired, and visible Exception records

Mark each criterion met, not met, or met with accepted risk, with evidence and, for exceptions, the person who accepted the risk.

5. The Security Assessment Summary

Produce a summary of one to two pages for the decision-makers:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Security assessment: SignalDesk v0.1.0-rc1

Recommendation: [Release / Release with conditions / Do not release]

Scope and method: [what was examined, how, by whom, when; what was
                  explicitly out of scope]
Criteria status: [table: criterion, status, evidence]
Key findings: [count by priority; open, in progress, verified closed;
              the most important and their status]
Exceptions: [each, with approver, compensating controls, expiry]
Threat coverage: [high threats with verified control and passing test;
                 gaps]
Residual risks: [what could still go wrong; likelihood, impact,
                mitigation, owner]
Not covered / limitations: [explicit]
Conditions for release: [if any]
Monitoring and response: [who watches, how incidents and reports are
                         handled]
Next review: [date or trigger]

State what is not covered: for example, a determined, well-resourced attacker, the internal security of the model provider, physical security, or social engineering of staff. A report that lists only successes invites false confidence.

The recommendation is yours. The decision to release, and acceptance of the residual risk, belongs to the accountable stakeholder, who deserves an honest picture. Record the decision, the date, and who made it.

6. Independent Review With AI

Obtain a skeptical outside view of the assessment, and verify its findings against the real artifacts.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Act as an independent security auditor reviewing a security
assessment for a multi-tenant SaaS product with an AI summary
feature.

Inputs:
- The assessment document and criteria table: [paste]
- Threat register, with controls and test links: [paste]
- Findings register and exceptions: [paste, redacted]
- Architecture and data flow summary: [paste]
- Pipeline and infrastructure permission summary: [paste]
- Test and scan result summaries: [paste]

Tasks:
1. Identify claims in the assessment that the evidence does not
   support, and evidence that was overlooked.
2. Identify high threats with no verified control or test.
3. Identify paths by which a user could reach another tenant's data,
   or an unreviewed change could reach production.
4. Identify inconsistencies between threats, controls, findings,
   exceptions, and tests.
5. Identify exceptions that are missing an approver, compensating
   control, or expiry date.
6. Identify important scenarios that are neither tested nor listed
   as limitations.
7. List the five questions a decision-maker or a customer's security
   reviewer should ask.

Do not invent evidence. Separate findings from suspicions. Do not
state that the system is secure.

For every point, check the actual artifacts. Fix the real issues, record those you accept, and note where the model was wrong. If a human independent reviewer is available, such as a colleague from another team or an external specialist, have them review as well; a human who has not seen the system before often finds what both the team and the model overlooked.

7. The Attacker’s Pre-Mortem

Before recommending release, imagine it is two months after release and the company has suffered a serious security incident. Write the three most plausible stories, for example:

  • A customer’s administrator account is taken over through the reset flow, and the attacker exports a year of feedback; the login alerts exist, but nobody watches them.
  • A crafted upload makes the summary include misleading or sensitive text from a previous request because a cache was keyed without the tenant.
  • A malicious release of a small, rarely noticed dependency executes during the build and reads a deployment credential that was broader than needed.

For each: which gap did it come from, which control, test, or alert would have caught it, and does it exist? Add the missing control or record the residual risk. This exercise often reveals the gap between “prevented” and “detected and contained,” which the operations course addresses next.

8. Handoff to the Operations Course

The assessment and its evidence feed the next course in the series:

  • Software Operations: security logging, alerting, and detection needs; incident playbooks and exercise results; the disclosure process; vulnerability and patch routines; the open findings and expiring exceptions; and the residual risks all become inputs to observability, incident management, and the continuous improvement plan. Security measures join the service reliability measures.

Record the open items you are handing over, each with an owner and a due date. Also record triggers for reassessment: a new integration, a new data type, a major architectural change, a significant incident, a new class of attack, or a set period of time.

9. Capstone Acceptance Criteria

Your capstone is complete when:

  • The assessment covers every section above, concisely, with sensitive detail appropriately protected.
  • Scope, authorization, and exclusions are stated, and testing stayed within them.
  • The threat model is current and every high threat has a control and evidence, or a recorded exception.
  • Architecture controls for authentication, authorization, tenant isolation, data protection, and external integrations are described and verified.
  • The findings register shows each finding’s priority, owner, and status, and closure means verified.
  • Tools, reviews, and tests are mapped to the weakness classes they cover, with gaps stated.
  • Dependencies have an SBOM, scans, a policy, and build integrity controls.
  • Exceptions are approved, visible, and expiring.
  • Disclosure and incident readiness exist and were rehearsed.
  • Consistency checks, key-control exercises, an independent AI review, and a pre-mortem were completed, and findings resolved or logged.
  • The summary states residual risks, limitations, and a recommendation, and the release decision is recorded with the accountable person.

10. Final Reflection

  1. Which threat or finding surprised you most, and what did it teach you about the system?
  2. Where did AI help you notice something you would have missed, and where did it report something false or reassure you wrongly?
  3. Which control did you believe in until you tested it?
  4. Which class of weakness do your tools and tests cover least well, and what is the plan for it?
  5. What risk have you accepted, and would you be comfortable explaining it to a customer?
  6. What would make you change your release recommendation?
  7. What single structural change would remove the most findings in the future?

Key Takeaways

  • A security assessment is an honest, evidence-based statement of scope, findings, decisions, and residual risk, not a claim of safety.
  • Check the parts against each other; gaps hide between threats, controls, findings, and tests.
  • Exercise the key defenses together, and rehearse detection and response.
  • Report limitations and accepted risks plainly; people who decide on release need the real picture.
  • AI widens and challenges the review; accountable people verify, recommend, and decide.

What’s Next?

The AI-Powered Software Security course is complete. The next course in the series is AI-Driven Software Operations, where you learn to run and improve the system you have built, secured, and shipped: observability, logs, metrics and traces, incident management, root cause analysis, performance monitoring, SRE fundamentals, AI-assisted troubleshooting, and continuous improvement, ending in an Operations and Improvement Plan.