Introducing a new way to review your PRs.

Read the announcement

raroque / vibe-security-skill

Agent skill that audits vibe-coded apps for common security vulnerabilities introduced by AI coding assistants

View on GitHub

15 documents · Updated Oct 30, 2026

docs / security-review-workflow

Security review workflow

The security-review skill audits application changes for common security risks and helps prevent those risks before release. It focuses on server-side trust, access control, secrets, abuse limits, payments, mobile use, AI services, deployment, and data input.

Operating model

The skill treats every client-controlled value as untrusted. It checks that the server validates or enforces prices, user identity, roles, subscription state, feature flags, and rate limits instead of accepting them from a browser, mobile app, or request body.【vibe-security/SKILL.md#L15-L17】

Review triggers

The skill can start from an explicit security request such as an audit or vulnerability review. It can also start implicitly when a change handles authentication, payments, database access, API keys, or user data. The configured OpenAI agent allows this implicit invocation and exposes the skill through its default audit prompt; see OpenAI agent configuration.【vibe-security/SKILL.md#L1-L3】【vibe-security/agents/openai.yaml#L1-L8】

References: vibe-security/SKILL.md• L1-3 vibe-security/…/openai.yaml• L1-8

Review scope

The review covers only security issues that apply to the project. The skill loads guidance for a technology or pattern only when the codebase uses it, and it skips unrelated areas. A focused review can load only the guidance for the requested area.【vibe-security/SKILL.md#L20-L22】【vibe-security/SKILL.md#L42-L42】

References: vibe-security/SKILL.md• L20-22 vibe-security/SKILL.md• L42

Review sequence

The review moves from exposed trust boundaries to protected operations and then to deployment risks. Each stage uses the matching reference guidance so the final result reflects the technologies and flows that the change actually uses.

Review stages

The skill examines the change in this order:

  1. Secrets and environment variables — Find exposed credentials and unsafe client-side configuration.
  2. Database access control — Check row or document access rules and server-side guards.
  3. Authentication and authorization — Check identity proof, session handling, and permission checks.
  4. Rate limiting and abuse prevention — Check limits on sensitive or costly actions.
  5. Payment security — Check server-owned prices, webhook proof, and subscription state.
  6. Mobile security — Check token storage, backend protection for keys, and deep links.
  7. AI and LLM integration — Check key protection, usage caps, prompt injection, and output safety.
  8. Deployment configuration — Check production settings, response headers, source maps, and environment separation.
  9. Data access and input validation — Check query safety and validation of incoming data.

The stages are conditional rather than a fixed checklist. A project that has no mobile client or payment flow does not receive unrelated findings.【vibe-security/SKILL.md#L20-L42】

References: vibe-security/SKILL.md• L20-42

Guidance selection

Each review stage points to a focused reference file. This keeps the review specific to the project while preserving the same high-level checks across supported technologies such as Supabase, Firebase, Convex, Stripe, React Native, and AI services.【vibe-security/SKILL.md#L24-L40】【vibe-security/SKILL.md#L112-L122】

References: vibe-security/SKILL.md• L24-40 vibe-security/SKILL.md• L112-122

Change application

The skill applies the same review model both after code exists and while code is being generated. This makes security guidance a design constraint for new work instead of only a late defect report.【vibe-security/SKILL.md#L45-L52】【vibe-security/SKILL.md#L107-L109】

Finding treatment

The review reports genuine security issues only. It puts the most exploitable and harmful issues first and raises critical problems such as exposed secrets, disabled database protection, or authentication bypasses at the top of the response.【vibe-security/SKILL.md#L45-L51】

Findings use a consistent severity order:

OrderMeaning in the review
CriticalImmediate, severe compromise such as exposed secrets or an authentication bypass
HighA direct path to major abuse or loss
MediumA meaningful weakness with narrower impact
LowA lower-impact security issue

Each finding identifies the affected file and lines, names the vulnerability, explains the concrete attacker impact, and gives a before-and-after fix. The response ends with a prioritized summary and omits categories with no issues.【vibe-security/SKILL.md#L54-L64】

References: vibe-security/SKILL.md• L45-64

Preventive use

When a change touches authentication, payments, database access, API keys, or user data, the skill consults the relevant guidance before code is written. The goal is to keep unsafe client trust and missing server checks out of the change rather than only finding them afterward.【vibe-security/SKILL.md#L49-L50】【vibe-security/SKILL.md#L107-L109】

References: vibe-security/SKILL.md• L49-50 vibe-security/SKILL.md• L107-109

Change checklist

When these files or sections are changed, remember to consider these:

  • Changes that add a new technology or sensitive flow may require a new review stage and its matching reference guidance.
  • Changes to client-visible configuration must be checked against the server-trust rule, especially for secrets and access decisions.
  • Changes to finding severity or output structure must preserve the critical-to-low ordering and the concrete fix guidance.
  • Changes to the OpenAI agent configuration must preserve both the audit prompt and implicit invocation behavior; see OpenAI agent configuration.

Important failure modes

TriggerConsequenceGuard
A secret or privileged key is exposed to a clientAn attacker can use the key outside the intended access boundaryKeep secrets server-side and run the secrets review stage
A client supplies a price, role, user ID, or subscription state that the server acceptsAn attacker can change access or financial outcomesValidate or enforce the value on the server
A relevant technology stage is skippedA technology-specific vulnerability can remain unseenLoad the matching reference only when the project uses that technology
A critical finding is buried among lower-severity itemsRemediation of the most urgent risk can be delayedPut critical findings at the top and order all findings by severity

Key files

FileWhy to read it
vibe-security/SKILL.mdDefines the trust model, review sequence, finding rules, and preventive use
vibe-security/…/openai.yamlDefines the configured OpenAI agent name, prompt, and invocation policy
vibe-security/references/Provides the focused guidance selected for each technology or security area