agentleFS
Pouya-MansourniaPouya-Mansournia/ARCHON/skills/12_Security/SKILL.md

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

The file

Files
SKILL.md

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:

AreaDefault expectation
AuthenticationManaged auth provider or well-vetted library — never hand-rolled password storage/session handling
AuthorizationExplicit, centrally-defined access rules — not scattered ad-hoc checks across the codebase
Data in transitTLS everywhere, no exceptions for "internal" traffic that turns out to cross a trust boundary
Data at restEncryption for sensitive data at minimum; full-disk/volume encryption as a baseline
Secrets managementA secrets manager (not hardcoded values, not committed .env files)
Dependency hygieneAutomated vulnerability scanning on dependencies, with a real process for acting on findings
Input validationValidate 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.