Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

vivekchand/clawmetry

https://github.com/vivekchand/clawmetry.git · scanned 2026-05-16 08:41 UTC (4 weeks, 1 day ago) · 10 languages

251 raw signals (58 security + 193 graph) 47th percentile · Python · large (100-500K LoC) System graph score 65 (higher by 7)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 weeks, 1 day ago · v1 · 19 actionable findings from 1 signal source. 33 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: severity: high × excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Quality grade B (72/100). Dimensions: security 43, maintainability 75. 58 findings. 124,971 lines analyzed.

Showing 10 of 19 actionable findings. 52 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks security Injection conf 1.00 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
Use parameterized queries: conn.execute('SELECT * FROM t WHERE id = ?', [id]). For dynamic table or column names, choose identifiers from a hard-coded allowlist and keep values in parameters.
clawmetry/adapters/hermes.py:212
high Security checks security Injection conf 0.50 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
Use parameterized queries: conn.execute('SELECT * FROM t WHERE id = ?', [id]). For dynamic table or column names, choose identifiers from a hard-coded allowlist and keep values in parameters.
history.py:239
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
scripts/accuracy_harness/_lib.py:152
high Security checks security prompt injection conf 0.82 3 occurrences LLM memory extraction can be prompt-injected into storing fake facts
Strict-JSON memory extraction from raw user and assistant text can be manipulated by a user message unless extracted facts are schema-validated and filtered before persistence.
3 files, 3 locations
routes/components.py:226
routes/heartbeat.py:311
routes/infra.py:83
high Security checks security auth conf 0.74 [AUC002] Low visible authorization coverage in route inventory: Only 23.1% of discovered routes show nearby authentication, authorization, middleware, or public-route evidence.
Only 23.1% of discovered routes show nearby authentication, authorization, middleware, or public-route evidence.
high Security checks security auth conf 0.82 10 occurrences Browser storage is used for session token material
localStorage and sessionStorage are readable by injected JavaScript. For sensitive sessions, this turns XSS into account compromise.
lines 3368, 3369, 3370, 6098, 8330, 8526, 8816, 8817, +2 more
clawmetry/static/js/app.js:3368, 3369, 3370, 6098, 8330, 8526, 8816, 8817, +2 more (10 hits)
high Security checks cicd CI/CD security conf 0.82 Docker final stage has no non-root USER
Docker images run as root unless the image or Dockerfile switches to a non-root user.
Dockerfile:4 CI/CD securitycontainers
high Security checks quality Quality conf 0.74 15 occurrences Frontend API reference is not matched by discovered backend routes
A frontend string references a same-origin API path that Repobility could not match to backend route inventory. This often causes live 404s in user journeys.
3 files, 15 locations
clawmetry/static/js/alerts.js:54, 56, 92, 104, 112, 128, 285, 443, +1 more (9 hits)
clawmetry/static/js/app.js:79, 90, 120, 125, 145 (5 hits)
clawhub-plugin/src/service.ts:16
high Security checks quality Quality conf 0.80 localStorage write failures are swallowed silently
localStorage quotas are small and writes can fail. Catching storage errors without a user-visible warning causes silent data loss when notes, images, or snapshots exceed quota.
clawmetry/static/js/gw-setup.js:9
high Security checks software dependencies conf 0.70 4 occurrences Remote install command pipes network code directly to a shell
Agent helper projects often publish one-line installers. `curl | sh` style commands are convenient, but they bypass review unless the script is pinned, signed, or checksum-verified.
4 files, 4 locations
README.md:58
clawhub-plugin/README.md:18
clawhub-plugin/uninstall.sh:96
install-clawmetry.sh:3
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/3c8e99d4-187b-4e64-bd26-4fe9095ee362/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/3c8e99d4-187b-4e64-bd26-4fe9095ee362/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.