security
SaaS Security
Production guardrails for agents building or reviewing scalable multi-tenant B2B/SaaS products (MVP through enterprise technical readiness). Primary examples use TypeScript/Node, PostgreSQL, and cloud patterns (AWS/GCP). Complements swift for Apple-platform secrets and distribution—do not duplicate Keychain or notarization here. Defensive guidance only: no exploit PoCs. Compliance content maps technical controls; it is not legal advice.
Out of Scope
Offensive security / exploit writing; novel cryptography; GDPR/HIPAA/PCI legal opinions; Apple Keychain/notarization (swift); pure SIEM/SOC tooling unrelated to the product codebase; UI craft (craft-and-taste); AI coding-assistant ignore files, MCP auto-run, and package-hallucination hygiene (ai-security).
Five Pillars
Map every change to Confidentiality, Integrity, Availability, Authentication, and Non-Repudiation (STRIDE’s property side). Treat Authorization as first-class beside them—Broken Access Control is OWASP Top 10:2025 A01.
Operating Loop
Run on every security-relevant request. Stop when each step's criterion is met.