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.

slavaprivet/mafiozy

https://github.com/slavaprivet/mafiozy · scanned 2026-06-16 00:15 UTC (2 months, 2 weeks ago)

50 raw signals (0 security + 50 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 50 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 81.5/100 with 77.8% coverage. It contains 469 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 50 findings — concentrated in software (29), quality (12), security (6). Risk profile is low: 0 critical, 0 high, 13 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 48 of 50 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 Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/settings.json
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/settings.json VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, ci, tests, operator-readme. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci, tests, operator-readme. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in server.py:10
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
server.py:10 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in battle.html:1074
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
battle.html:1074 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in creator.html:1134
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
creator.html:1134 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in hub.html:2307
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
hub.html:2307 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_outerhtml_assignment' in battle.html:1376
Found a known-risky pattern (direct_outerhtml_assignment). Review and replace if possible.
battle.html:1376 Direct outerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — start_with_tunnel.py:57
`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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph data Coverage conf 1.00 ORM models found but no DB engine detected
The repo defines tables/models but no DB connection string was found. Likely lives in env vars or a config file the scanner didn't read.
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 11 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 168 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: github_upload.py:api, github_upload_creator.py:api 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 separate.
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: github_upload_iso.py:gh, github_upload_world.py:gh, github_upload_hub.py:gh 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 separate.
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Docs conf 1.00 No README detected
No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off.
ReadmeRepo hardeningGenerated repo pattern
low System graph software Dead code conf 1.00 Possibly dead Python function: build_battle_url
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2430
low System graph software Dead code conf 1.00 Possibly dead Python function: captivity_bail
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3240
low System graph software Dead code conf 1.00 Possibly dead Python function: captivity_wait
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3267
low System graph software Dead code conf 1.00 Possibly dead Python function: choose_name
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2749
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_start
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2576
low System graph software Dead code conf 1.00 Possibly dead Python function: create_raid
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:1097
low System graph software Dead code conf 1.00 Possibly dead Python function: expire_old_raids
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:1139
low System graph software Dead code conf 1.00 Possibly dead Python function: explore
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3279
low System graph software Dead code conf 1.00 Possibly dead Python function: gather
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4534
low System graph software Dead code conf 1.00 Possibly dead Python function: hunt
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4625
low System graph software Dead code conf 1.00 Possibly dead Python function: hunt_add_mercs
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4858
low System graph software Dead code conf 1.00 Possibly dead Python function: hunt_back_prep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4851
low System graph software Dead code conf 1.00 Possibly dead Python function: hunt_friends_list
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4766
low System graph software Dead code conf 1.00 Possibly dead Python function: job_collect
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3105
low System graph software Dead code conf 1.00 Possibly dead Python function: job_hire
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3067
low System graph software Dead code conf 1.00 Possibly dead Python function: job_info
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3037
low System graph software Dead code conf 1.00 Possibly dead Python function: job_need_passport
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3231
low System graph software Dead code conf 1.00 Possibly dead Python function: job_quit_confirm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3186
low System graph software Dead code conf 1.00 Possibly dead Python function: job_quit_do
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:3208
low System graph software Dead code conf 1.00 Possibly dead Python function: jobs_menu
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2923
low System graph software Dead code conf 1.00 Possibly dead Python function: leave_hospital_cb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4599
low System graph software Dead code conf 1.00 Possibly dead Python function: main_menu
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2802
low System graph software Dead code conf 1.00 Possibly dead Python function: main_menu_kb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:2115
low System graph software Dead code conf 1.00 Possibly dead Python function: show_dossier
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4311
low System graph software Dead code conf 1.00 Possibly dead Python function: show_dossier_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4355
low System graph software Dead code conf 1.00 Possibly dead Python function: show_location
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:4416
low System graph software Dead code conf 1.00 Possibly dead Python function: update_member_collected
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:1771
low System graph software Dead code conf 1.00 Possibly dead Python function: update_raid_boss_hp
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:1129
low System graph software Dead code conf 1.00 Possibly dead Python function: use_contact
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
mafiozi_bot.py:1843
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/0a795e58-e559-4ec3-8432-4ea435bce7a9/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/0a795e58-e559-4ec3-8432-4ea435bce7a9/

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.