# Security architecture review checklist

From ArchitectureCompass (https://architecturecompass.com/toolkit/checklists/security-review/). Free to use and adapt.

This checklist reviews a design, not code. It asks whether the architecture makes the secure path the easy path, and whether a breach would be noticed and contained. Pair it with a threat model for anything handling sensitive data.

**When to use it:** During design review for any new system or significant change, and before go-live.

## Data

- [ ] Data is classified, and the classification of each data store and message is recorded.
- [ ] Personal and sensitive data is minimized: the system collects and keeps only what it needs, for a stated period.
- [ ] Data is encrypted in transit everywhere, including inside the network, and at rest.
- [ ] Who can read decrypted data is limited and auditable.
  - *Why:* Encryption at rest doesn't help when every application path decrypts transparently; the breach usually comes through the application.
- [ ] Deletion and retention rules are implemented, including in backups, logs and analytics copies.

## Identity and access

- [ ] People authenticate through single sign-on with multi-factor authentication.
- [ ] Services authenticate to each other with workload identities, not shared accounts or long-lived keys.
- [ ] Authorization is checked on every request at the service that owns the data, not only at the edge.
  - *Why:* An edge-only check fails as soon as one internal service is reachable another way.
- [ ] Permissions follow least privilege, and broad roles are justified in writing.
- [ ] Administrative access to production is time-limited, approved and logged.

## Trust boundaries

- [ ] Every trust boundary is drawn on a diagram: internet, partners, internal zones, third-party services.
- [ ] Input crossing a boundary is validated, including files, messages and generated configuration from other teams.
- [ ] Outbound calls are restricted to known destinations.
- [ ] Third-party integrations get only the data and permissions they need.
- [ ] Multi-tenant designs prevent one tenant reading or affecting another's data, and that's tested.

## Secrets and keys

- [ ] Secrets live in a secrets manager and are never in code, images or configuration files.
- [ ] Secrets can be rotated without downtime, and rotation is automated where possible.
- [ ] Expiry of certificates and credentials is monitored with alerts well before it happens.
- [ ] Encryption keys have a defined owner, rotation policy and recovery procedure.

## Dependencies and supply chain

- [ ] Third-party libraries and images are scanned, and critical vulnerabilities have a patch deadline.
- [ ] Builds are reproducible, and production runs only artifacts built by the pipeline.
- [ ] Pipeline credentials are scoped and protected as production credentials.
- [ ] Critical SaaS dependencies have been through due diligence (see the SaaS due diligence checklist (https://architecturecompass.com/toolkit/checklists/saas-due-diligence/)).

## Logging, detection and response

- [ ] Security-relevant events are logged centrally: authentication, authorization failures, administrative actions and data exports.
- [ ] Logs can't be altered or deleted by the people whose actions they record.
- [ ] Alerts exist for the attacks named in the threat model.
- [ ] An incident response plan covers this system, including who can isolate it and how.
- [ ] Personal data doesn't leak into logs, traces or error messages.
