Security hardening and vulnerability defense skill. Enforces OWASP Top 10 mitigations, zero hardcoded secrets, input sanitization, and SQL parameterization.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Security Hardening & Vulnerability Defense (`/security`)
> **Philosophy**: *Assume breach. Defense in depth. Never trust client input. Never interpolate variables into queries or shell commands. Never swallow errors silently. Refresh tokens must rotate with family reuse detection. All object access must be scoped to the tenant. Block private subnets on outbound requests.*
This skill establishes defensive security standards across web applications, APIs, databases, container environments, and secret management lifecycles.
---
## 1. The Five Core Security Gates
```mermaid
flowchart TD
A["Untrusted Client Request"] --> B["Gate 1: Boundary Ingress & DDoS Defense"]
B --> C["Gate 2: Authentication & Cryptographic Token Vault"]
C --> D["Gate 3: Authorization & BOLA / IDOR Tenant Scoping"]
D --> E["Gate 4: Injection & Memory Safety (SQL, Shell, ReDoS)"]
E --> F["Gate 5: Defensive Error Handling & Audited Telemetry"]
```
1. **Gate 1: Boundary Ingress & DDoS Defense**: Cap request payloads (100KB JSON), enforce connection timeouts (3s / 15s), and throttle traffic with sliding-window / token-bucket rate limits.
…
The line at the top of this page pins the label git:20261029.1aa6bef, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_zoj3ay3cfb6oee6e
GET https://markdownregistry.com/api/v1/resolve?ref=darknecrocities/skillbuilder/.cursor/rules/security.mdc
GET https://markdownregistry.com/api/v1/blob/46882d1077fbe75e60e6ad72c3c14e9b8a56031eac04d69b93d56546142faf6c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
darknecrocities/skillbuilder · .cursor/rules/ai.mdc · Architect, implement, and maintain production AI systems, Gemini API agents, Antigravity multi-agent orchestration…
boshu2/agentops · skills/security/SKILL.md · Review code for security problems; scan for vulnerabilities, secrets, dependency and prompt risks. Use when: asked…
boshu2/agentops · plugin/skills/security/SKILL.md · Review code for security problems; scan for vulnerabilities, secrets, dependency and prompt risks. Use when: asked…
openhands/extensions · skills/security/SKILL.md · Security best practices for secure coding, authentication, authorization, and data protection. Use when developing…