Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Code Review Lite: Catch Secrets Before You Commit

    by Mas Boy

    1

    Your AI coding agent just committed a secret and nobody noticed.

    Free

    Security scanned
    Code Review Lite: Catch Secrets Before You Commit

    Code Review Lite: Catch Secrets Before You Commit

    Example session with this skill installed

    Run Review Lite on the worked examples and show me the traffic-light report for each codebase, with file:line findings.

    • Read your context and instructions
    • Compiled the code review lite

    Worked examples run 1 December 2026: a deliberately messy app scored RED — possible Stripe live secret key at src/config.js:3 (value redacted, verified absent from all output), empty catch at src/app.js:20, 543-line file, 80-line function, 4 debug leftovers, 4 files without tests. A tidy tested module scored GREEN with zero findings. A real production codebase scored YELLOW (95-line main(), one missing test sibling). Deterministic: clean-unzip rerun reproduced identical findings.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your AI coding agent just committed a secret and nobody noticed. This free 30-second pre-flight check scans your project for leaked keys, silent failures and runaway files, then gives one honest verdict: RED, YELLOW or GREEN — with the exact file and line for every problem.

    • RED — fix before merge: a secret-pattern hit (reported by type + location only, values never stored or printed) or an empty/swallowing catch block.
    • YELLOW — worth a look: debug leftovers, TODO/FIXME markers, files over 500 lines, functions over 60 lines, source files without test siblings, files over 1 MB.
    • GREEN — clean by this scan: none of the above.

    Every finding carries file:line, ranked red-first, with a machine-readable lite.json for tooling. The scan is deterministic (same code in, same report out), runs offline with zero dependencies, and records per-file read errors instead of silently skipping them. Scanning zero files reports "no files were scanned" — unscanned code is never called clean.

    Proof — run on real codebases, 1 Dec 2026. Token Launch Radar (17 files, 1,755 lines): RED — 0 secrets, but 3 empty-catch hits (one at scripts/dashboard/app.js:175, duplicated across generated copies), 1 oversized file, 3 long functions, 6 missing test siblings. PredArena Solana app (34 files, 9,107 lines): RED — 0 secrets, 3 empty catches, TradeBox.tsx oversized at 639 lines, 10 long functions, 27 missing test siblings. And the planted test fixture with a fake Stripe key: RED, key caught and redacted. Real codebases, real verdicts — no demo data.

    Honest limits: this is a pattern scan, not a review. It cannot judge correctness, logic bugs, or security paths; secret patterns are heuristics (verify hits; a clean scan is not proof); function-length and catch checks use brace-tracking heuristics; test detection knows conventional names only. A green light means "no obvious pre-review problems", not "this code is right".

    Want the deep pass? Code Review Pro does the evidence-first correctness review — findings proven with reproduction steps, injection-path analysis, and regression tests written against each finding. Run Review Lite for the 60-second quick wins; run Pro when the merge matters.

    Want the deep pass? Code Review Pro does the evidence-first correctness review — a deterministic scanner finds secrets, injection sinks, swallowed errors, and hotspots, then every blocker is confirmed by tracing the actual code path, with a fix order and one regression test per finding. Run Code Review Lite for the 60-second quick wins; run Pro when the merge matters. 👉 https://www.agensi.io/skills/code-review-pro-blockers-risks-and-nits-line-by-line

    Heuristic secret detection may miss encoded keys. Brace-tracking for function length can be skewed by braces in comments. Conventional test naming only.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Permissions

    Terminal / Shell
    Write Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill performs a fast, deterministic pattern scan to find hardcoded secrets, empty catch blocks that swallow errors, and maintenance smells like debug leftovers or oversized functions before you begin a manual review.

    The skill requires Node 22 or higher and uses a zero dependency script that runs locally without any API keys or network access. You simply provide the directory or file paths you want to analyze.

    You receive a traffic light summary (Red, Yellow, or Green) highlighting finding counts, a list of the top 10 issues with exact file and line locations, and a machine readable JSON file containing all findings.

    This skill cannot determine if code is logically correct, identify injection paths, or reason about design. It is a pattern based scanner meant for quick wins, not a replacement for a deep architectural or security audit.

    The skill may miss credentials that are split across strings or encoded in unusual formats. Additionally, its function length and catch block detection use brace tracking, which can be skewed by braces appearing inside comments or strings.

    You can tell your agent to point the skill at a specific directory or a list of files from a recent PR. For example, ask it to perform a pre-review scan on your current branch to check for secrets and debug leftovers before you push your code.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.

    Free