Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By stylusnexusv1.13.0MITIn 1 marketplace
Language-aware defect hunter: detect stack → triage → run real analyzers → reason with battle-tested patterns → report (confidence-tiered, tracker-correlated) → fix.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Most scanners flag patterns and dump a wall of warnings. defect-scan finds defects your tools miss and tells you how sure it is — it detects the stack, runs the real analyzers your project already has (ruff, tsc, clippy, go vet…), then reasons about the bugs linters can't see and reports each finding in a confidence tier with a repro path and a one-line fix. Correctness, security, and supply-chain across 15 languages.
No service to deploy, no API key, no security-team budget. It runs as a plugin
inside Claude Code (and Codex) — the same session you're already coding in. Free, MIT,
local. Report-only by default; --fix applies only the adversarially-verified
high-confidence tier and refuses on a dirty tree so every fix stays revertable.
A scan returns a tiered, honest report — never a raw warning dump. Each finding carries two independent axes (how sure we are it's real, and how bad it is), the evidence that survived an adversarial "prove it isn't a bug" pass, and a fix:
defect-scan — src/ (MODE=changes)
Stacks: python Tools run: ruff, mypy, bandit, pip-audit Tools missing: —
Triage: deep-reasoned top 12 of 34 in-scope files (rest tool-scanned only)
Correlation: on (2 findings matched existing issues)
Findings: High 3 · Medium 2 · Low 4 (NEW 4 · already-filed 1)
cat#3 — Injection
[High] (High) [NEW] api/users.py:88 · SQL built by f-string from a request arg
evidence: f"SELECT … WHERE id = {user_id}" — user_id flows unsanitized from
request.args to cursor.execute; survived adversarial verification
(no ORM/escaping anywhere on the path)
fix: parameterize — cursor.execute(sql, (user_id,))
cat#2 — Silent failures
[Medium] (Medium) [LIKELY FILED #142] worker/sync.py:51 · bare except swallows retry error
evidence: except Exception: pass wraps the network retry — failures vanish silently
fix: log and re-raise, or narrow the except to the expected error
Coverage is always reported honestly: if a tool was missing or triage couldn't deep-read every file, the header says so — it never implies clean coverage it didn't achieve.
defect-scan ships its own evidence. Every supported language has a labeled fixture corpus with a committed precision/recall baseline, scored by a model-free grader (±2-line tolerance, strict 1:1 matching). A change may not regress these baselines — improvement lands only via reviewed PRs that add fixtures without dropping the gate:
| Corpus | precision baseline | recall baseline | enforced floor |
|---|---|---|---|
| Most language corpora (python, rust, go, java, ts, ruby, swift, kotlin, dart, objc, yaml, shell) | 1.00 | 1.00 | ≥ 0.80 precision |
| supply-chain pack | 0.81 | 0.93 | ≥ 0.65 precision |
These are seen-split baselines on the maintainer-run eval harness; a green run means a
change didn't get worse — enforced, not a marketing number. On live re-measurement a
couple of languages (c#, php) can sit a point or two under 1.00 from a defensible
secondary finding on a bug file — recall stays 1.00 (no missed bugs), and it's held
inside the gate's noise band. Full method, splits, and how to run it:
tests/eval/README.md.
15 profiles, each pairing the language's real analyzers with a reasoning checklist
mapped to the six baseline defect categories + language-specific footguns (cat#1–5
cover correctness and security fundamentals; cat#6 — supply-chain / dependency
integrity — covers npm lifecycle abuse, typosquat / dependency-confusion, lockfile
tampering, and install-time exfil, complementing npm audit and osv-scanner):
Indexed from v1.13.0Marketplace JSON
defect-scan@stylus-nexus is listed by stylusnexus/agent-plugins — review the source before installing
npx claudepluginhub stylusnexus/agent-plugins --plugin defect-scanPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.