# security-checklist

Audits Micronaut/Kotlin backends for access control, input checks, injection risks, and data exposure. Use it during implementation or review.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 109
- Author: c0x12c
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/c0x12c/ai-toolkit/tree/HEAD/toolkit/skills/security-checklist/SKILL.md
- Updated: 2026-06-18
- HTML: https://affpapa.org/en/nevibecode/skills/security-checklist

## What it does

This skill audits Micronaut/Kotlin backend code across authentication, authorization, request validation, and common OWASP-related risks. It checks resource access, SQL injection, XSS, CSRF, IDOR, auth bypass, mass assignment, data exposure, and rate limiting.

The review covers `@Secured` on controllers, `OAuthSecurityRule.ADMIN` for admin endpoints, and `@Valid` with Jakarta annotations in request DTOs. It also looks for hardcoded secrets, credentials in logs, raw entities in responses, and overly detailed errors. An endpoint without `@Secured` fails the skill’s stated audit rule.

The result is a pass/fail checklist with fix examples for each issue. Further code patterns and vulnerability examples are referenced through `audit-reference.md`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add c0x12c/ai-toolkit --skill security-checklist -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/security-checklist/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/security-checklist/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add c0x12c/ai-toolkit --skill security-checklist -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/security-checklist/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add c0x12c/ai-toolkit --skill security-checklist -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/security-checklist/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install c0x12c/ai-toolkit security-checklist
```

2. **Manually: put the files in place**
- File: `.github/skills/security-checklist/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add c0x12c/ai-toolkit --skill security-checklist -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/c0x12c/ai-toolkit --path toolkit/skills/security-checklist
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/security-checklist/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add c0x12c/ai-toolkit --skill security-checklist -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/c0x12c/ai-toolkit/tree/HEAD/toolkit/skills/security-checklist/SKILL.md

## When to use it
- verify that users can access only allowed resources
- spot SQL injection risks in queries
- check request validation on endpoints
- remove tokens and passwords from logs
- detect sensitive fields exposed by response DTOs

## Example prompts
- Audit every endpoint in this Micronaut/Kotlin backend and produce a pass/fail report.
- Review authorization and show code changes for each issue you find.
- Check this code before merge for SQL injection, IDOR, XSS, and secret leaks.

## Similar
- [git-guardrails-claude-code](https://affpapa.org/en/nevibecode/skills/git-guardrails-claude-code.md) — skill · 499069 installs
- [ponytail-review](https://affpapa.org/en/nevibecode/skills/ponytail-review.md) — skill · 57000 installs
- [ponytail-audit](https://affpapa.org/en/nevibecode/skills/ponytail-audit.md) — skill · 45400 installs
- [security-audit](https://affpapa.org/en/nevibecode/skills/cloudflare-security-audit.md) — skill · 54800 installs
- [security-and-hardening](https://affpapa.org/en/nevibecode/skills/security-and-hardening.md) — skill · 70200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [c0x12c/ai-toolkit](https://affpapa.org/en/nevibecode/by/c0x12c/ai-toolkit.md) — 33 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
