johnku2011/boilerplates-with-ai-skills/project-security
Claude Code and agent skill by johnku2011/boilerplates-with-ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when reviewing security-sensitive code paths — check auth, secrets, input validation, dependency risk, and data exposure before shipping.
Install
npx vskill@latest install johnku2011/boilerplates-with-ai-skills/project-securitySKILL.md
The same SKILL.md was published earlier as johnku2011/boilerplates-with-ai-skills/project-security.
Project Security
Overview
Apply a practical security review to changes in this project. Focus on real exploitable issues, not generic checklists.
Core principle: Assume all external input is hostile. Assume secrets will leak unless kept server-side.
When to Use
- New or changed HTTP routes, API handlers, or auth flows
- File upload, subprocess, or shell execution
- Environment variable or config changes
- Dependency additions or version bumps
- Anything touching user data, tokens, or payments
Process
- Map trust boundaries — user input, network, filesystem, subprocesses,
third-party APIs, client vs server.
- Authentication & authorization — every new route/action must declare who
can call it and what they can access.
- Secrets — no keys/tokens in source, logs, client bundles, or error
responses; env vars on server only.
- Input validation — validate query, body, headers, filenames, and IDs;
reject early with safe error messages.
- Output encoding — prevent injection (HTML, SQL, shell, template).
- Dependencies — prefer existing libs; note new supply-chain surface.
- Data exposure — server-only data must not reach client, logs, or analytics.
Stack-Specific Checks
When the stack matters, read `references/stack-checks.md` for web/API and mobile notes (progressive disclosure — load only if needed).
Severity Guide
| Severity | Examples | |
|---|---|---|
| Blocking | Missing auth on privileged route, SQL/command injection, secret in client | |
| High | Weak session handling, verbose errors leaking internals | |
| Medium | Missing rate limit, overly broad CORS | |
| Low | Defense-in-depth hardening, logging improvements |
Output Format
Anti-patterns
- Rubber-stamping without checking auth on new endpoints.
- Ignoring client-visible env vars or API responses that expose internals.
- Security theater (extra complexity without reduced risk).
- "We will add auth later" on production-bound code.
After Fixes
Re-check the diff. Run bwai scan-project if skills or agent config changed.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingshared/skills/project-security/SKILL.md
Popularity
- Repository stars
- 240
- Repository forks
- 24
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/johnku2011/boilerplates-with-ai-skills/project-security)