- Home
- Skills
- Testing & Debugging
- Catch Fake Tests and Unsafe Payment Code (Anti-Slop)
Catch Fake Tests and Unsafe Payment Code (Anti-Slop)
AI agents under pressure to turn a test suite green write tests that pass no matter what the code does.
$5.99
Catch Fake Tests and Unsafe Payment Code (Anti-Slop)
Example session with this skill installed
Run a deep slop audit on this repository: can my tests actually fail, and is there any unsafe API or payment code?
- Read your context and instructions
- Compiled the catch fake tests
AI Slop Audit — scam-contract-checker
Date: 2026-11-30 ·
Scope: scam-contract-checker ·
Method: automated static analysis + mutation testing (see Scope & method below)
Health score: 83/100 — grade B
Largely clean; address the items below before the next release.
| Severity | Count |
|---|---|
| 🔴 High | 0 |
| 🟡 Medium | 0 |
| ⚪ Low | 0 |
Top risks
No high-severity findings.
1. Test integrity — can these tests actually fail?
Tests scanned: 5. Static slop findings: 🔴 0 · 🟡 0 · ⚪ 0.
None found.
Mutation test (proof): 14 injected bugs · 8 caught · 6 survived · mutation score 57%.
Survivors are real code changes the tests did NOT catch:
| file | line | undetected change |
|---|---|---|
| src/chains.ts | 44 | true → false |
| src/cli.ts | 56 | !== → === |
| src/honeypot.ts | 79 | true → false |
| src/honeypot.ts | 103 | false → true |
| src/honeypot.ts | 112 | false → true |
| src/probe.ts | 28 | false → true |
2. API & payment safety
None found.
3. Placeholder / fake code & secrets
None found.
4. Prioritized remediation plan
- Rotate any real secrets found in §3 (minutes; highest blast radius).
- Fix rigged tests in §1 — delete tautologies, un-
.only, replace swallowed catches and floating async with real assertions. A green suite that can't fail is worse than none. - Close API/payment holes in §2 — integer money, idempotency keys, webhook signature checks, parameterised SQL, no card data in logs.
- Replace placeholder/fake code in §3 with real implementations, or mark it clearly as unfinished.
- Prove it: re-run
slop-audit --deep; target 0 high-severity findings and a mutation score ≥ 80% on core logic.
Scope & method
Produced by the anti-slop toolchain: test-slop.mjs (static test-slop), slop-scan.mjs (API/payment/placeholder/secret heuristics), mutate-test.mjs (mutation testing). These are
heuristic: each finding should be confirmed by reading the code, and they do not replace a full security review. Mutation testing proves only the mutations it tried. Absence of findings is not a guarantee of correctness.
Real output from 2026-11-30. Re-run after fixes to show the before/after.
Connects securely to your tools. The creator never sees your data.
About this skill
AI agents under pressure to turn a test suite green write tests that pass no matter what the code does. This skill catches them and proves which bugs your tests would miss.
- Rigged tests: no assertion,
expect(true).toBe(true),.only/.skip, swallowed failures, un-awaited promises, snapshot-only tests. - Mutation testing: flips operators and booleans in your source, reruns your tests, and lists every change no test caught.
- Unsafe API and payment code: SQL built from strings, money as floats, no idempotency key on charges, unverified webhooks, card data in logs, placeholder code presented as finished.
- One graded report with a health score and a fix plan, ready to hand to a client.
Each script exits non-zero on serious findings, so it fits CI or a pre-commit hook. The static scans are heuristics; confirm findings by reading the code.
Node.js 18 or newer, no dependencies, runs locally: your code never leaves your machine.
Static scans are heuristic and require manual verification. Mutation testing requires a clean git tree and Node 18+. Does not scan for leaked secrets.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
Permissions
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.