johnku2011/boilerplates-with-ai-skills/project-security

Claude Code and agent skill by johnku2011/boilerplates-with-ai-skills

Trust tier 3
  • community
Source check pending

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-security

SKILL.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

  1. Map trust boundaries — user input, network, filesystem, subprocesses,

third-party APIs, client vs server.

  1. Authentication & authorization — every new route/action must declare who

can call it and what they can access.

  1. Secrets — no keys/tokens in source, logs, client bundles, or error

responses; env vars on server only.

  1. Input validation — validate query, body, headers, filenames, and IDs;

reject early with safe error messages.

  1. Output encoding — prevent injection (HTML, SQL, shell, template).
  2. Dependencies — prefer existing libs; note new supply-chain surface.
  3. 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

SeverityExamples
BlockingMissing auth on privileged route, SQL/command injection, secret in client
HighWeak session handling, verbose errors leaking internals
MediumMissing rate limit, overly broad CORS
LowDefense-in-depth hardening, logging improvements

Output Format

## Blocking
- [scenario] Issue — exploit path — fix
## Hardening
- Non-blocking improvements
## Verdict
safe to ship | ship with fixes | do not ship

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/johnku2011/boilerplates-with-ai-skills/project-security/badge)](https://verified-skill.com/skills/johnku2011/boilerplates-with-ai-skills/project-security)

Something wrong with this skill or its page? Tell us.