Security Checklist¶
Lightweight, repeatable security & privacy review pass aligned with the Security Privacy Baseline v1 controls SPB-01 through SPB-15.
When to use¶
- Pre-commit on changes touching: credentials, secrets, network egress, file IO, deserialization, eval-likes, auth, user data.
- New dependency added.
- New environment variable or config knob introduced.
- Before promoting a project from Stage 0 → Stage 1.
What you produce¶
A pass / partial / fail assessment per relevant SPB control, with concrete remediation suggestions.
Procedure¶
- Identify the change surface. Files modified, new deps, new env vars, network endpoints, secret usage.
- For each relevant control, evaluate:
- SPB-01 Data classification: is the data class declared and respected?
- SPB-02 Agent credential isolation: any shared credentials? agent-scoped?
- SPB-03 User-only secret store: any path the agent could read user secrets?
- SPB-04 Least-privilege: scopes minimal? deny-by-default?
- SPB-05 TTL: any long-lived tokens introduced?
- SPB-06 JIT: privileged op without explicit approval/expiry?
- SPB-07 Provisioning: new credential added without request/approval record?
- SPB-08 Rotation: rotation plan exists?
- SPB-09 Secret handling: plaintext in repo / log / prompt / artifact?
- SPB-10 Runtime boundary: data class compatible with runtime?
- SPB-11 Egress: outbound network minimized? allowlist updated?
- SPB-12 Audit: privileged actions emit audit events?
- SPB-13 Attestation: project still passes baseline attestation?
- SPB-14 Incident response: secret-compromise playbook still valid?
- SPB-15 Policy change: any baseline change documented?
- Score each evaluated control as
pass,partial,fail, orn/a. - Recommend smallest-fix remediation for each non-pass.
- Decide: safe to commit, return to bounded edit, or escalate.
Report template¶
# Security Checklist — <change>
## Surface
- Files: ...
- New deps: ...
- New env / config: ...
- Network endpoints: ...
## Evaluations
| Control | Result | Notes / remediation |
| ------- | ------ | ------------------- |
| SPB-01 | | |
| ... | | |
## Decision
- [ ] safe to commit
- [ ] return to bounded edit (list fixes)
- [ ] escalate (reason)
Compatibility¶
- Runs read-only against the diff.
- Does not exfiltrate code or findings outside the workspace.
- If MCP servers are used during the review, they must be in the project allowlist.