behisecc/vibesec-skill/behisecc-vibe-security-skill
Claude Code and agent skill by behisecc/vibesec-skill
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Bug-hunter secure coding rules and audit workflow for web applications. Use when writing, modifying, or reviewing web code that handles authentication, authorization, webhooks, database queries, APIs, user input rendered in HTML/SVG/Markdown, redirects, outbound URL fetching, file uploads, or XML parsing, or when the user asks for a security review or audit. Do not load for pure styling, copy, or static layout edits.
Install
npx vskill@latest install behisecc/vibesec-skill/behisecc-vibe-security-skillSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
VibeSec
Approach web code from a bug hunter's perspective: prevent exploitable vulnerabilities without breaking functionality or adding unnecessary complexity.
Modes
Building or modifying code
- Identify every security surface the change touches using the routing table below.
- You must open and read every matching file in
references/before writing or editing code — the bypass lists and framework traps there are not repeated here. Skip files whose surfaces are untouched. - Apply the always-on invariants below plus the edge cases from those references without breaking existing app conventions.
- Before finishing, inspect your diff against the invariants and reference rules. When the project has a test suite, add negative security tests for new or modified routes (unauthenticated ->
401, cross-user/tenant ->404, invalid or extra fields -> rejected).
Auditing or reviewing code
- Map entry points and trust boundaries first: routes, Server Actions, API resolvers, webhook handlers, auth middleware, database queries, outbound HTTP calls, file handlers, and client render sinks.
- You must read every
references/file matching a surface present in the codebase before reporting findings; skip unrelated files. - Trace real data flows from untrusted input to sink and verify whether an existing defense already blocks exploitation.
- Report only verified, exploitable findings ordered by severity. For each finding, include
file:line, vulnerability class, concrete exploit path, and minimal fix. Skip generic advice and theoretical hardening unless asked.
Always-On Invariants
Apply these on every security-relevant web change:
- Authorize at the data layer, not only middleware. Scope every read or mutation by the authenticated user or tenant (and parent resource where nested). Never trust client-supplied
userId,orgId, orrole. - Return `404` instead of `403` on unauthorized object lookups to prevent ID enumeration.
- Use non-guessable IDs (UUIDv4, ULID, or CUID2) for new schemas and tables that expose user records, unless sequential IDs are explicitly required. Do not migrate existing integer primary keys unless asked.
- Fail closed on auth and permission errors. Missing tokens, invalid signatures, unset secrets, or unexpected roles must deny access — never fall through or use hardcoded fallback secrets.
- Keep secrets strictly server-side. Never put API keys, DB URLs, JWT secrets, OAuth client secrets, or service-role keys in
NEXT_PUBLIC_*,VITE_*,REACT_APP_*, client bundles, source maps, or SSR hydration payloads. - Allowlist mutable fields explicitly. Never pass raw request bodies or form data straight into ORM
.create()or.update(). - Parameterize all queries and commands. Never interpolate user input into SQL, shell commands, or template strings; strictly allowlist identifiers that cannot be parameterized (
ORDER BY, column or table names). - Validate input server-side even when client-side validation exists.
- Keep errors opaque to callers. Log full details server-side; never expose stack traces, SQL errors, or internal paths in responses.
- Set baseline response headers:
X-Content-Type-Options: nosniff,X-Frame-Options: DENY(or CSPframe-ancestors 'none'),Referrer-Policy: strict-origin-when-cross-origin,Cache-Control: no-storeon sensitive responses, andStrict-Transport-Securityover HTTPS in production. - Default to the stricter option when uncertain and briefly note the security trade-off in a comment.
Reference Routing
Read every file whose surface matches the current task (skip untouched surfaces):
| Surface touched | Reference file | |
|---|---|---|
| Auth, sessions, JWT, OAuth, incoming webhook signatures, passwords, RBAC, IDOR, multi-tenancy, RLS, Server Actions, rate limiting | references/auth-and-access.md | |
User-controlled HTML/Markdown/SVG/PDF rendering, postMessage, CSP, CSRF, CORS, client-side secret leaks | references/client-and-browser.md | |
| SQL/ORM queries, mass assignment, GraphQL, path traversal, command execution, SSTI, race conditions | references/server-and-data.md | |
| Outbound webhooks, URL previews/fetching (SSRF), redirects, file uploads, archives, SVG/DOCX/XLSX/XML parsing (XXE) | references/urls-files.md |
Security
- Security scanPassed, 95 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 repositoryCheckingSKILL.md
Popularity
- Repository stars
- 691
- Repository forks
- 66
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.
Extension points
configConfiguration overrides
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/behisecc/vibesec-skill/behisecc-vibe-security-skill)