Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
This report summarizes scanner evidence for DietrichGebert/ponytail, a JavaScript project with 160,563 GitHub stars. SynthScan examined 15,307 lines of code across 143 source files, recording 154 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 24.3 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 21 finding(s).
Are imports declared and package/API names verified? 40 finding(s).
Are wrappers, guards, and repeated structures necessary? 96 finding(s).
Which changes need focused human review? 154 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 154 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/correctness.test.js | 32 | 'def validate_email(email):\n return True', | CODE |
| HIGH | tests/correctness.test.js | 97 | print(df['amount'].sum())`, | CODE |
| HIGH | tests/correctness.test.js | 142 | print(351)`, | CODE |
| HIGH | tests/correctness.test.js | 153 | print(351)`, | CODE |
| HIGH | tests/hermes-plugin.test.js | 87 | print(json.dumps({'skills': ctx.skills, 'hooks': ctx.hooks, 'commands': ctx.commands}, sort_keys=True)) | CODE |
| HIGH | tests/hermes-plugin.test.js | 112 | print(json.dumps({'ctx': ctx})) | CODE |
| HIGH | tests/hermes-plugin.test.js | 143 | print(json.dumps({ | CODE |
| HIGH | tests/hermes-plugin.test.js | 171 | print(json.dumps(mod._pre_llm_call())) | CODE |
| HIGH | tests/hermes-plugin.test.js | 193 | print(json.dumps({ | CODE |
| HIGH | tests/hermes-plugin.test.js | 212 | print(json.dumps({'ctx': ctx})) | CODE |
| HIGH | tests/hermes-plugin.test.js | 239 | print(json.dumps({'message': message, 'context': injected['context']})) | CODE |
| HIGH | tests/hermes-plugin.test.js | 267 | print(json.dumps({'first': first, 'second': second, 'switched': switched, 'after_switch': after_switch})) | CODE |
| HIGH | tests/hermes-plugin.test.js | 293 | print(json.dumps(result)) | CODE |
| HIGH | tests/hermes-plugin.test.js | 309 | print(json.dumps([running, kept, switched, mod._current_mode])) | CODE |
| HIGH | tests/hermes-plugin.test.js | 329 | print(json.dumps(cases, sort_keys=True)) | CODE |
| HIGH | tests/hermes-plugin.test.js | 358 | print(json.dumps({'filtered': mod._filter_skill_body_for_mode(body, 'ultra')})) | CODE |
| HIGH | tests/hermes-plugin.test.js | 381 | print(json.dumps(mod._filter_skill_body_for_mode(body, '${mode}'))) | CODE |
| HIGH | benchmarks/correctness.js | 110 | print("FAIL: no validator function found") | CODE |
| HIGH | benchmarks/correctness.js | 127 | print("FAIL: " + "; ".join(failures)) | CODE |
| HIGH | benchmarks/correctness.js | 129 | print("PASS") | CODE |
| HIGH | benchmarks/correctness.js | 218 | print("PASS") | CODE |
| HIGH | benchmarks/correctness.js | 221 | print("FAIL: output was: " + repr(output[:200])) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | benchmarks/agentic/tasks.py | 446 | # `null`: JSON.parse("null") returns null, which slips past a try/catch around parsing, then | COMMENT |
| HIGH⚡ | benchmarks/agentic/tasks.py | 456 | # good: rejects a non-object body (incl. null) with 400 and stays up. | COMMENT |
| HIGH⚡ | benchmarks/agentic/tasks.py | 453 | "// Listen on process.env.PORT || 3000.\n" | CODE |
| HIGH⚡ | benchmarks/agentic/tasks.py | 470 | const id = m[1] ? Number(m[1]) : null; | CODE |
| HIGH⚡ | benchmarks/agentic/tasks.py | 471 | if (id === null) { | CODE |
| HIGH⚡ | benchmarks/agentic/tasks.py | 476 | if (body === null || typeof body !== 'object' || Array.isArray(body)) return send(res, 400, { error: 'body must be | CODE |
| HIGH | benchmarks/agentic/tasks.py | 487 | server.listen(process.env.PORT || 3000); | CODE |
| HIGH | benchmarks/agentic/tasks.py | 505 | const id = m[1] ? Number(m[1]) : null; | CODE |
| HIGH | benchmarks/agentic/tasks.py | 506 | if (id === null) { | CODE |
| HIGH | benchmarks/agentic/tasks.py | 520 | server.listen(process.env.PORT || 3000); | CODE |
| HIGH | benchmarks/agentic/tasks.py | 1256 | if (!open) return null; | CODE |
| HIGH | benchmarks/agentic/tasks.py | 1338 | "clients. Listen on process.env.PORT || 3000."), | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | __init__.py | 61 | except Exception: | CODE |
| HIGH | benchmarks/agentic/run.py | 144 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/run.py | 261 | except ProcessLookupError: pass # already exited | CODE |
| HIGH | benchmarks/agentic/run.py | 300 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/run.py | 384 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/tasks.py | 436 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/tasks.py | 563 | except urllib.error.HTTPError: | CODE |
| HIGH | benchmarks/agentic/tasks.py | 565 | except Exception: | CODE |
| HIGH | benchmarks/agentic/tasks.py | 575 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/tasks.py | 717 | except Exception: pass | CODE |
| HIGH | benchmarks/agentic/judge.py | 46 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 67 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 69 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 311 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 315 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 361 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 370 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 444 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 450 | # ====================================================================================== | COMMENT |
| MEDIUM⚡ | benchmarks/agentic/tasks.py | 577 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 108 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 110 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 168 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 170 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 211 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 214 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 262 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 264 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 413 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 592 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 799 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 810 | # ====================================================================================== | COMMENT |
| MEDIUM | benchmarks/agentic/tasks.py | 1330 | # ====================================================================================== | STRING |
| MEDIUM | benchmarks/agentic/tasks.py | 1508 | # ================================================================================== | STRING |
| MEDIUM | benchmarks/agentic/tasks.py | 1512 | # ================================================================================== | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __init__.py | 61 | except Exception: | CODE |
| LOW | __init__.py | 173 | except Exception: | CODE |
| LOW | __init__.py | 214 | except Exception: | CODE |
| MEDIUM | examples/csv-sum.md | 49 | print("Error: sales.csv not found") | CODE |
| MEDIUM | examples/csv-sum.md | 51 | print("Error: 'amount' column not found") | CODE |
| LOW | benchmarks/correctness.js | 207 | except Exception: | CODE |
| LOW | benchmarks/agentic/run.py | 89 | except Exception: return 0 | CODE |
| LOW | benchmarks/agentic/run.py | 107 | except Exception: return 0, 0, 0, 0 | CODE |
| LOW | benchmarks/agentic/run.py | 144 | except Exception: pass | CODE |
| LOW | benchmarks/agentic/run.py | 300 | except Exception: pass | CODE |
| LOW | benchmarks/agentic/run.py | 384 | except Exception: pass | CODE |
| LOW | benchmarks/agentic/run.py | 386 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/run.py | 456 | except Exception: return "unknown" | CODE |
| LOW | benchmarks/agentic/run.py | 518 | except Exception as e: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 79 | except Exception as e: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 84 | except Exception: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 323 | except Exception as e: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 331 | except Exception: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 381 | except Exception as e: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 385 | except Exception: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 436 | except Exception: pass | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 552 | except Exception: time.sleep(0.1) | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 559 | except Exception: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 565 | except Exception: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 571 | except Exception: safe = False | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 575 | except Exception: pass | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 712 | except Exception as e: | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 717 | except Exception: pass | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 719 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 44 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 121 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 127 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 185 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 190 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 225 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 230 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 279 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 283 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 425 | except Exception as e: return {"correct": 0, "safe": 1, "reason": f"compile error: {str(e)[:80]}"} | CODE |
| LOW | benchmarks/agentic/tasks.py | 602 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 617 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 621 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 669 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 673 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 769 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/tasks.py | 773 | except Exception: | CODE |
| LOW | benchmarks/agentic/tasks.py | 831 | except Exception: failed += 1; continue | CODE |
| LOW | benchmarks/agentic/tasks.py | 837 | except Exception: failed += 1 | CODE |
| LOW | benchmarks/agentic/tasks.py | 856 | except Exception as e: | STRING |
| LOW | benchmarks/agentic/answer.py | 94 | except Exception: d[k] = None | CODE |
| LOW | benchmarks/agentic/answer.py | 186 | except Exception: reply = "" | CODE |
| LOW | benchmarks/agentic/answer.py | 217 | except Exception: reply = "" | CODE |
| LOW | benchmarks/agentic/judge.py | 46 | except Exception: | CODE |
| LOW | benchmarks/agentic/judge.py | 61 | except Exception: continue | CODE |
| LOW | benchmarks/agentic/judge.py | 88 | except Exception as e: | CODE |
| LOW | benchmarks/agentic/judge.py | 99 | except Exception: | CODE |
| MEDIUM | benchmarks/agentic/judge.py | 41 | def load_key(): | CODE |
| LOW | benchmarks/agentic/complete.py | 57 | except Exception: d[SCORE_KEY] = None | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .opencode/plugins/index.js | 1 | // OpenCode 2 loads this file automatically from .opencode/plugins/ and does not | COMMENT |
| LOW | tests/hooks.test.js | 781 | assert.equal(r.status, 0, r.stderr); | COMMENT |
| LOW | tests/hooks-windows.test.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | hooks/ponytail-mode-tracker.js | 161 | // Exit on 'end', not just finish(): the fallback timer below must stay ref'd | COMMENT |
| LOW | hooks/ponytail-activate.js | 81 | COMMENT | |
| LOW | hooks/ponytail-subagent.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | benchmarks/behavior.yaml | 1 | # Ponytail behavior gates: does the ruleset actually produce its refined | COMMENT |
| LOW | benchmarks/correctness.js | 1 | // Functional correctness assertion: runs generated code against lightweight test | COMMENT |
| LOW | benchmarks/behavior.js | 1 | // Behavior gate: does the ponytail ruleset actually PRODUCE its refined | COMMENT |
| LOW | benchmarks/agentic/tasks.py | 581 | # fix is about. axis="safe" carries the QUALITY signal (reuse / root-cause), so a working-but- | COMMENT |
| LOW | scripts/build-openclaw-skills.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | scripts/check-versions.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | scripts/publish-openclaw-skills.js | 1 | #!/usr/bin/env node | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …arks/results/2026-06-22-issue-245-217-comprehension.md | 94 | - **#217: rung shipped as requested**, no regression; the duplication failure did not reproduce on | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/email-validation.md | 35 | "user@example.com", # Valid | CODE |
| LOW | examples/email-validation.md | 98 | "user@example.com", | CODE |
| LOW | examples/email-validation.md | 131 | print(validate_email_production("user@example.com")) # True | CODE |
| LOW | benchmarks/correctness.js | 115 | if not fn("user@example.com"): | CODE |
| LOW⚡ | benchmarks/agentic/tasks.py | 380 | correct = bool(fn("user@example.com")) and not bool(fn("not-an-email")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __init__.py | 70 | def _filter_skill_body_for_mode(body: str, mode: str) -> str: | CODE |
| LOW | __init__.py | 208 | def _make_skill_command_handler(ctx: Any, command: str) -> Callable[[str], str]: | CODE |
| LOW | examples/email-validation.md | 114 | def validate_email_production(email: str) -> bool: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmarks/README.md | 86 | | [RicardoCostaGit](https://github.com/RicardoCostaGit/ponytail-benchmark-from-cursor) | Multi-turn agentic runs via the | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/agentic/run.py | 205 | CODE | |
| LOW | benchmarks/agentic/run.py | 330 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/check-rule-copies.js | 49 | 'correct on edge cases', // robust-variant rule | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __init__.py | 3 | CODE |