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.

bipinkrish/warera-py-api

https://github.com/bipinkrish/warera-py-api · scanned 2026-06-17 01:40 UTC (1 month, 2 weeks ago)

30 raw signals (0 security + 30 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ +9.0 (diff) · 19 actionable findings from 1 signal source. 11 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: 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 85.7/100 with 55.6% coverage. It contains 823 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 30 findings — concentrated in quality (21), software (4), cicd (4). Risk profile is low: 0 critical, 0 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 18 of 19 actionable findings. 30 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.

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 cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
pypa/[email protected] can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/publish.yml:32 CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yml CI/CD securitySupply chainGithub actions
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
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 84 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 cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-python@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
2 files, 2 locations
.github/workflows/publish.yml:21
.github/workflows/test.yml:17
CI/CD securitySupply chainGithub actions
low System graph quality Tests conf 1.00 Low test-to-source ratio
13 tests / 78 src (ratio 0.17).
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 10 places
Functions with the same first-5-line body hash: warera/resources/mercenary_contract_auction.py:collect_all, warera/resources/event.py:collect_all, warera/resources/article.py:collect_all, warera/resources/battle.py:collect_all This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: warera/sync.py:validate_api_key, warera/sync.py:validate_api_key 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.
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 8 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: warera/resources/mercenary_contract_auction.py:get_paginated_auctions, warera/resources/mercenary_contract_auction.py:get_paginated_auctions, warera/resources/mercenary_contract_auction.py:get_paginated_auctions This is *the* AI-coder failure mode (4…
8 occurrences
repo-level (8 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: warera/resources/donation.py:get_paginated, warera/resources/donation.py:get_paginated, warera/resources/donation.py:get_paginated, warera/resources/donation.py:get_totals This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos —…
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: warera/resources/transaction.py:get_paginated, warera/resources/transaction.py:get_paginated, warera/resources/transaction.py:get_paginated, warera/resources/work_offer.py:get_paginated This is *the* AI-coder failure mode (4× more duplication in vibe…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `upgrades_v2` in warera/models/region.py:80
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: collect_by_users
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
warera/resources/company.py:244
low System graph software Dead code conf 1.00 Possibly dead Python function: combined
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
warera/_http.py:353
low System graph software Dead code conf 1.00 Possibly dead Python function: example_partial_batch_error
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/batch_demo.py:78
low System graph software Dead code conf 1.00 Possibly dead Python function: has_president
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
warera/models/government.py:34
low System graph quality Complexity conf 1.00 Very large file: warera/models/game_config.py (976 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
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/4f10c435-d846-428d-9212-f104e847bd17/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/4f10c435-d846-428d-9212-f104e847bd17/

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.