# security-skills

> Composable security skills for threat modeling, security reviews, secrets hygiene, dependency audits, access control, web hardening, and incident response.

security-skills is a free AI agent skill pack (several skills in one listing) on Agensi by Aravinda Amarasingha, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Aravinda Amarasingha](https://www.agensi.io/creators/aravinda-amarasingha)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Rating: 5.0 out of 5 from 1 review
- Uses: 6
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/security-skills
- Tags: security, devops, docker, api, documentation

## About this skill

### Why Security Skills?

Security guidance is most useful when it is available at the exact moment a developer needs it. **Security Skills** packages 12 focused, practical security workflows for AI coding agents that can be run during everyday engineering work.

Instead of generic advice, these skills instruct your coding agent to inspect actual project files, confirm vulnerability reachability, separate facts from assumptions, and produce actionable remediation plans.

---

### Included Workflows (12 Composable Skills)

#### 🛠️ Setup & Context
* **`/setup-security-skills`**: Detects your project stack and available scanners, gathers missing context, and generates a tailored `SECURITY-CONTEXT.md`.

#### 📐 Design & Code Review
* **`/security-grill`**: Interviews you about assets, entry points, trust boundaries, identity, and failure modes before writing code.
* **`/threat-model`**: Generates a focused threat model using assets, actors, trust boundaries, and the STRIDE framework.
* **`/security-review`**: Reviews diffs, branches, pull requests, or files for exploitable vulnerabilities (SQLi, XSS, SSRF, path traversal, etc.).
* **`/auth-access-review`**: Audits authentication, session handling, BOLA/IDOR, object ownership, roles, and multi-tenant isolation.

#### 🛡️ Infrastructure, Web & Pipelines
* **`/web-hardening`**: Reviews security headers, CORS, CSRF, cookies, CSP, file uploads, and rate limiting (includes dedicated references for **Django**, **Next.js/Supabase**, and **Express/Fastify**).
* **`/api-security`**: Audits REST, GraphQL (introspection, depth limits), and gRPC APIs for input validation, rate limiting, and excessive data exposure.
* **`/container-security`**: Checks Dockerfiles, runtime privileges, resource limits, and Kubernetes manifests (RBAC, network policies, pod security).
* **`/cicd-security`**: Hardens GitHub Actions and CI/CD pipelines against secrets exposure, overly permissive tokens, and supply-chain risks.

#### 🚨 Prevention & Incident Response
* **`/secrets-hygiene`**: Finds, rotates, prevents, and cleans up exposed credentials in the working tree, logs, and Git history.
* **`/dependency-audit`**: Audits lockfiles and dependencies for known CVEs, typosquatting, and malicious install scripts.
* **`/incident-response`**: Structured workflow to contain, preserve evidence, scope, eradicate, and recover from a suspected compromise.

## Requires

- Git
- node = 18

## Known limitations

Static analysis only. No active pentesting or DAST. Requires native tools like gitleaks or trivy for automated scanning. Scope limited to provided files and logs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the security-skills skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly is included in the security-skills package?

You will receive 12 distinct, ready-to-use security skills covering the full development lifecycle, from STRIDE-based threat modeling to incident response protocols and infrastructure hardening.

### Which AI agents or development environments are compatible with these skills?

While these skills work best with agents that have file system and shell access, they are designed to be framework-agnostic and can be integrated into most LLM-based development agents using the provided initialization context.

### Will these skills perform live attacks or dynamic testing against my running applications?

No, these skills focus on static analysis and configuration auditing; they do not perform active penetration testing or dynamic execution, ensuring they remain safe to run in sensitive development environments.

### How do I configure the agent to understand my specific project's security requirements?

Simply run the `setup-security-skills` command to generate a `SECURITY-CONTEXT.md` file, which allows you to define your specific tech stack and protection priorities for the agent to follow.

### How does this suite perform better than just asking a standard LLM to 'check my code for bugs'?

These skills are more effective because they use structured workflows to trace data from untrusted inputs to dangerous sinks, rather than relying on an LLM's general knowledge which often misses environment-specific edge cases.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
