reviewPre-commit security review
Read-only findings with evidence, impact, fixes, verification limits, and residual risk.
Whole-project security review skill
A production security reviewer for Codex, AI-generated codebases, and vibe-coded apps: scan the repo, confirm real exploit paths, fix by invariant, verify the result, and report coverage in a format teams can trust.
Built for normal human requests and fast vibe-coding workflows. Users can say "review this project" or "make it production ready"; Secure maps that to the right workflow.
Command surface
Secure works from normal requests, while `security-review`, `vibe-security`, and `secure-code-review` aliases make it easier to discover from the searches developers actually run.
reviewRead-only findings with evidence, impact, fixes, verification limits, and residual risk.
auditBroader pass across routes, auth, config, secrets, logs, CORS, CSRF, rate limits, storage, webhooks, and fail-open behavior.
scrapeLocal scanner emits risky files, entry points, possible secrets, capability clusters, and inspection order.
inventoryLists sensitive surfaces, user-controlled inputs, sinks, expected guards, and review priorities.
hardenFixes confirmed findings by restoring the broken invariant, then runs focused verification.
harden-allScan, confirm, patch, verify, rescan, and iterate until confirmed Critical and High issues are fixed or blocked.
secureNatural hardening mode for requests like "make this production ready" or "fix the security issues".
threat-modelMaps actors, assets, trust boundaries, inputs, sinks, abuse cases, and required controls before coding.
compareChecks missed findings, severity drift, naming bias, weak evidence, skipped surfaces, and fix quality.
Use secure. Audit this app before production:
C:\path\to\projectChatGPT, review this project before commit.
Focus on production and security issues.npx skills add usesecure/secure --skill security-review
npx skills add usesecure/secure --skill vibe-security
npx skills add usesecure/secure --skill secure-code-reviewBenchmark result
Secure was tuned against an intentionally vulnerable fixture with authentication bypass, tenant leaks, route exposure, public side effects, signed URL abuse, AI/PDF cost paths, payment tampering, webhook forgery, malformed input, and naming bias.
Detected, 0 partial, 0 missed, 0 out of scope.
Findings
Critical: Authentication Trust. Evidence: src/security.mjs:4. Impact: forged admin sessions. Fix: signed sessions only.
...
Verification
- npm test: passed 7/7.
Coverage
Reviewed scoped routes, auth, tenant scope, storage, AI/PDF, payments, webhooks, input, logs, naming bias.
Case Coverage
Summary: 21/21 Detected, 0 Partial, 0 Missed, 0 Out of scope.
- Partial/Missed/Out of scope: NoneBlind comparison
The fixture was copied into a neutral project named Admin Studio, with tests, answer keys, benchmark wording, and `secure` hints removed. Then the same normal pre-commit prompt was run twice: once with the skill forbidden, once with skill selection allowed.
Detected. 5 partial, 4 missed, 0 out of scope.
Detected. 0 partial, 0 missed, 0 out of scope.
ChatGPT, review this project before commit. Focus on production and security issues.
Project:
C:\Users\danie\Escritorio\Proyectos\presentacion\review-targetOperational loop
Read thousands of local files and emit a bounded review pack with routes, risky files, secrets, and capability clusters.
Follow input to sink. A keyword hit is only a lead until the guard, object scope, and side effect are verified in code.
Fix the broken rule, not the local symptom: auth trust, tenant scope, mass assignment, signed URLs, rate limits, logs.
Run tests, typechecks, focused searches, and the scraper again. Report confirmed coverage and remaining risk.
Intent router
Secure does not wait for users to know command names. It reads intent from natural language, chooses the right workflow, and reports what it did with evidence.
Read-only security review for a whole project, PR, diff, or specific path. Secure runs the compact scraper, inspects high-risk source files, confirms issues from code, and returns findings first.
Broader production-readiness pass. It includes review findings, plus deployment-sensitive checks: secrets, environment defaults, CORS, CSRF, logs, rate limits, external calls, webhooks, and fail-open behavior.
Token-efficient project scan. The local scraper reads many files, ranks risky surfaces, redacts likely secrets, and emits a bounded review pack instead of dumping the repository into context.
Full hardening loop. Secure scans, confirms real findings, patches by invariant, verifies, rescans, and iterates until confirmed Critical and High issues are fixed or explicitly blocked.
Design-time security planning. It maps actors, assets, trust boundaries, user-controlled inputs, sensitive sinks, abuse cases, and controls before code is written.
Review-quality evaluation. Secure compares outputs, checks missed findings, severity drift, naming bias, weak evidence, and whether fixes restore the invariant or only patch one symptom.
Algorithms, cases, tests
Secure combines fast repository mapping with source-confirmed review. The scanner can produce leads quickly, but the review only reports a finding after the relevant guard, input, object scope, and sink are checked.
Security surface
The skill looks for capability, not names. A route called preview, helper, public, lead, quote, template, or asset can still mutate state, expose files, or spend resources.
Detects demo headers, client-provided identity, weak session boundaries, and role confusion.
Checks direct object reads, updates, deletes, exports, jobs, and signed URLs for cross-tenant leakage.
Finds policy fields flowing from payloads into models, DTOs, ORMs, mappers, and update calls.
Reviews uploads, object keys, public files, private buckets, signed URLs, previews, and delete paths.
Prioritizes forms, webhooks, AI calls, PDF rendering, email, queues, quotas, and missing rate limits.
Flags secrets, fail-open defaults, noisy logs, provider errors, CORS, CSRF, and verification blockers.
Multi-language by invariant
Controllers, handlers, views, routes, middleware, filters, guards, policies, voters, decorators, and permission classes all answer the same question: does the guard dominate the sink?
Secure mode
The skill never claims a project is 100 percent secure. It reports what matters: confirmed findings, fixed findings, verification results, blockers, and remaining risk.
$secure C:\path\to\projectExample report after scan, confirm, patch, verify, and rescan.
Ready to use
The skill ships as a self-contained folder with instructions, references, local scanners, and UI metadata. It is built for large projects without dumping the whole repo into context.
npx skills add usesecure/secureUse secure. Review this project before commit, focused on production and security issues:
C:\path\to\projectUse secure. Make this project production ready. Fix confirmed Critical and High findings, verify, rescan, and report fix coverage:
C:\path\to\project