S4Safetyscope: coreweight: 1fix: manual
S4: Security policy exists
Why this rule exists (Empirical Evidence)
Corpus analysis: 92% of repos have no SECURITY.md. Without it, AI has no reference for security-sensitive decisions and users have no vulnerability reporting channel.
Claude Code Repository Corpus Analysis (2026)
Anti-pattern (Triggers S4)
# Anti-pattern triggering S4 (Security policy exists) # Rule or repository configuration violates this check without verification.
Compliant pattern (Passes S4)
# Compliant harness passing S4 (Security policy exists) # Concrete, verifiable repository configuration backed by corpus-4533.
Verify locally or online
npm install -g agentlint-ai && agentlint check --check S4