Pre-Release Security & Review Integrity Gate
Audits your codebase before every commit or release for vulnerable packages, leaked secrets, slow database loops, unguarded server actions, and risky migrations.
Free
What it does
- Checks production packages for high and critical security flaws across Node, Python, Rust, and Go
- Blocks leaked keys, passwords, and tracked environment files without exposing raw secret values
- Catches slow database and email loops plus oversized images before they hurt page speed
- Verifies server actions have login and input checks and confirms webhook routes verify signatures
- Flags risky database migrations and missing row-level security rules before deployment
- Exports clean terminal, Markdown, JSON, and security scanner reports for pull requests
Who it's for
Next.js, Prisma, Drizzle, and Supabase developers
Catches leaked secrets, N+1 loops, unguarded Server Actions, and missing RLS before you push.
Try asking: “Run the ship integrity gate on my staged changes before I commit”
Solo builders shipping SaaS apps quickly with AI
Adds a fast pre-release safety net with zero setup or paid security subscriptions.
Try asking: “Audit my repository in strict mode before I deploy to production”
Engineering leads enforcing PR quality on legacy repos
Blocks new security and performance regressions on touched PR files while baselining old debt.
Try asking: “Check my branch against origin/main and generate a Markdown PR summary”
AppSec engineers reviewing pull requests and releases
Produces redacted secret findings and SARIF 2.1.0 reports ready for code scanning dashboards.
Try asking: “Run a full security and migration audit and output a SARIF report”
Pre-Release Security & Review Integrity Gate
Example session with this skill installed
Run a pre-release Ship Integrity Gate audit on my Next.js + Supabase repository before merging to main.
- Read your context and instructions
- Compiled the pre-release security
- Generated the document
=== [SHIP INTEGRITY GATE v2 | DIFF-ONLY] ===
- Dependency CVEs : [OK] OSV.dev audit passed (142 packages in package-lock.json).
- Secret Shield : [FAIL] 1 potential secret(s) detected:
- src/lib/payments.ts:9 (Stripe Live/Webhook Secret)
- Public Assets : [WARN] 1 oversized asset(s) (> 500 KB):
- public/images/hero-banner.png (1620.0 KB)
- DB N+1 Guard : [WARN] 1 potential awaited DB/IO query inside loop:
- src/server/billing.ts:42 -> await prisma.invoice.update({ where: { id: inv.id }, data: ... })
- UI LCP Check : [INFO] 1 modified UI page(s) -> run DevTools/LCP check before final commit:
- src/app/pricing/page.tsx
- [hint] src/app/pricing/page.tsx:18 (raw-img-tag) -> Raw <img> tag detected; prefer next/image to protect LCP.
- Server Security : [WARN] 1 server/webhook security issue(s):
- src/app/actions/invoice.ts:14 (server-action-missing-auth) -> Server Action 'deleteInvoice' has no authentication/session guard.
- DB Migrations : [WARN] 1 migration/RLS hazard(s):
- supabase/migrations/20261204_init.sql:12 (supabase-missing-rls) -> Supabase public table 'invoices' is created without ENABLE ROW LEVEL SECURITY.
- Env Sync : [OK] All referenced env variables are documented.
[FAIL] Ship Integrity Gate complete.
hero-banner.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Ship Integrity Gate runs 8 deterministic pre-release checks in parallel using only the Python standard library — no packages to install, no API keys required, and no third-party SaaS account.
While compilers and linters catch syntax and type bugs, production incidents usually come from blind spots right before shipping: a newly disclosed CVE in a lockfile, an accidentally staged .env file or live Stripe key, a 2 MB PNG in public/, a sequential database query inside a for loop, an unprotected Server Action, a webhook missing signature verification, a destructive SQL migration, or a missing Supabase Row Level Security rule.
What You Get
- Zero-exfiltration secret protection: detects 13+ provider key formats, tracked or staged
.envfiles, and high-entropy secrets, masking every detected value immediately so raw credentials never appear in reports. - Multi-ecosystem vulnerability checks: audits production dependencies across Node (
pnpm,npm,yarn,bun), Python (uv,poetry,requirements.txt), Rust (Cargo.lock), and Go (go.mod). - Full-stack database & server guards: catches N+1 queries across Prisma, Drizzle, Supabase, Mongoose,
fetch, and Resend; audits Server Actions function by function; verifies webhook handlers; checks destructive SQL and chronological Supabase RLS; and verifies.env.example/src/env.tssync. - Instant adoption on existing repos: run
--stagedon pre-commit,--base origin/mainon pull requests, or snapshot legacy warnings with--write-baseline(secrets and CVEs can never be baselined).
Static analysis uses fast deterministic regex and brace-stack parsing rather than a full TypeScript or SQL AST compiler, so highly dynamic runtime patterns (such as indirect function wrappers or dynamically built SQL strings) may require manual review. Binary bun.lockb files require the local bun CLI for CVE checks.
Built in 100% Python 3.10+ standard library (zero third-party dependencies) across 8 modular scripts executed from a temporary folder against any target repository via --cwd. Uses ThreadPoolExecutor to run the hybrid OSV vulnerability batch API (with pure-Python CVSS v3.0/v3.1 vector math and local package-manager CLI fallback) concurrently with 7 read-only static analyzers. Supports WorkspaceReader (full-repo or --diff-only/--base) and StagedIndexReader (single batched git ls-files --stage + git cat-file --batch call for --staged). Reads source code, lockfiles, public/ assets, SQL migrations, and .env templates read-only; optional write flags (--init, --write-baseline, --install-hook) only write when explicitly invoked. Outputs text, json, markdown, github annotations, or SARIF 2.1.0.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Accounts
Osv
- Software
Python 3.10+
Git
- Optional
- Node.js / pnpm / yarn / bun
Works on Linux, macOS, and Windows with Python 3.10+ and Git. Local package managers are optional because the hybrid CVE engine can query the OSV advisory API directly; use --skip-cve for completely offline audits.
Permissions
Allowed Hosts
File Scopes
No API keys are required. Network access is used solely to query the OSV vulnerability API (or the local package manager registry) for production dependency CVEs and can be disabled with --skip-cve. All detected secret values are redacted immediately and never leave your machine.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.