DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to scan a branch for bugs and security issues before merging with Codexqa

Get a P0 to P3 HTML scan that merges SAST, lint, and secrets results with a semantic pass.

Short answer: Install the defect analyzer with npx skills add openqa-cn/codexqa --skill codexqa-defect-analyzer; then check out the branch or paste the newly written code into the agent session; run the agent prompt below against the branch. All steps.

Who it is forA developer who just had an agent write code and wants to catch bugs or secrets that a quick glance would miss.

The problemAI-written code can hide logic defects, dangerous patterns, or leaked secrets that look correct at first read.

The outcomeA P0 to P3 HTML defect report with the location, evidence, and a suggestion for each finding.

What you need first

  • One of Cursor, Claude Code, Codex, or OpenClaw installed
  • A local git repository with the branch to check (the README refers to origin/main)
  • Node.js with npx available (inferred from the npx install commands)
  • For browser replay: Playwright Chromium, as named in the README

Steps

  1. Install the defect analyzer with npx skills add openqa-cn/codexqa --skill codexqa-defect-analyzer.
  2. Check out the branch or paste the newly written code into the agent session.
  3. Run the agent prompt below against the branch.
  4. Open the HTML scan and sort findings by priority, starting with P0.

Prompt for your agent

Use codexqa-defect-analyzer on this branch in <repo-path>. Merge SAST, lint, and secrets results with one semantic pass and write a P0 to P3 HTML report. Verify that each finding shows its location, evidence, and suggestion.

Caveat. The README names SAST, lint, and secrets as inputs but does not list the specific tools or versions behind them, so check what your environment provides.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for openqa-cn/codexqa and "Scan a branch for bugs and security issues before merging"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer