security-architecture
Skill2 starsChanged 5 months agoMITView on GitHub
Security architecture — authentication and authorization, data protection and encryption, and threat modeling/application security — with "secure by default" decision rules tied back to the Under-Engineering Detector.
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- jaskaranhundal/usap-skillstheir own version, first seen Sep 5, 2026
- vinayaklatthe/microsoft-security-skillstheir own version, first seen Jun 18, 2026
- vaibhav-deveree/skill-awesometheir own version, first seen Jun 3, 2026
- ffsshhttiikk/opencode-agents-skillstheir own version, first seen Feb 28, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- vinayaklatthe/microsoft-security-skills★ 175same name
- jaskaranhundal/usap-skills★ 4same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- vaibhav-deveree/skill-awesome★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- core-principles-decision-engineSkill
- foundationsSkill
- product-businessSkill
- frontend-architectureSkill
- backend-architectureSkill
- database-data-architectureSkill
- api-communication-architectureSkill
- architecture-patternsSkill
- cloud-infrastructureSkill
- devops-cicdSkill
- ai-ml-architectureSkill
- robotics-systems-architectureSkill
- reliability-sreSkill
- performance-engineeringSkill
- engineering-practicesSkill
- team-leadershipSkill
- cost-business-architectureSkill
- domain-reference-architecturesSkill
- review-output-standardsSkill
- archon-decision-engineSkill
The file
Files
12 — Security Architecture (L4)
Level: L4 — Principal Engineering.
Goal
Apply security as a default property of the system, not a feature bolted on before a compliance audit — most real-world breaches exploit basic gaps (missing auth checks, unencrypted sensitive data, unpatched dependencies) rather than exotic attacks, so the highest-leverage security work is disciplined coverage of the fundamentals.
Security-by-Default Checklist (Maps to the Under-Engineering Detector)
skills/00_Core/reference/over-under-engineering.md already flags "no real auth" as a classic under-engineering trigger. This domain expands that into a fuller default-secure baseline every production system should have regardless of stage:
| Area | Default expectation |
| Authentication | Managed auth provider or well-vetted library — never hand-rolled password storage/session handling |
| Authorization | Explicit, centrally-defined access rules — not scattered ad-hoc checks across the codebase |
| Data in transit | TLS everywhere, no exceptions for "internal" traffic that turns out to cross a trust boundary |
| Data at rest | Encryption for sensitive data at minimum; full-disk/volume encryption as a baseline |
| Secrets management | A secrets manager (not hardcoded values, not committed .env files) |
| Dependency hygiene | Automated vulnerability scanning on dependencies, with a real process for acting on findings |
| Input validation | Validate and sanitize all external input — the root cause of most injection-class vulnerabilities |
Decision Rule
Default to managed/standard solutions (managed auth, established encryption libraries, a real secrets manager) over custom security implementations in virtually all cases — security is one of the few domains where "don't roll your own" is close to an absolute rule, not just a strong default. Reserve custom security engineering for genuinely novel requirements a standard solution can't satisfy, and have that work reviewed by someone with real security expertise.
Reference Files
reference/authn-authz.md— authentication and authorization patterns in depth (OAuth/OIDC, RBAC/ABAC, session management).reference/data-protection-encryption.md— encryption at rest/in transit, key management, and data classification.reference/threat-modeling-appsec.md— threat modeling process, OWASP Top 10 coverage, and application security practices.reference/compliance-governance.md— GDPR/HIPAA/SOC 2/PCI-DSS technical requirements and staged compliance posture.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

