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.

shirley-xue-2025/usage-guard

https://github.com/shirley-xue-2025/usage-guard · scanned 2026-06-16 00:10 UTC (2 months, 2 weeks ago)

15 raw signals (0 security + 15 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 15 actionable findings from 1 signal source. 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: 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 Repository scanned at 80.3/100 with 55.6% coverage. It contains 122 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 15 findings — concentrated in software (7), quality (7), frontend (1). Risk profile is low: 0 critical, 0 high, 3 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 13 of 15 actionable findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — usage_guard/__main__.py:215
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — usage_guard/usage_fetch.py:186
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 50 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: usage_guard/usage_fetch.py:read_credentials_file, usage_guard/usage_fetch.py:read_credentials This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separ…
duplicatesduplication
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_arm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:102
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_checkpoint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:331
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_disarm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:270
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_doctor
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:68
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_poll
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:380
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_status
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/__main__.py:282
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_sigterm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
usage_guard/daemon.py:188
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
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/9685d098-0af6-4a8c-a62b-990e187d6611/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/9685d098-0af6-4a8c-a62b-990e187d6611/

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.