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.

django

https://github.com/django/django · scanned 2026-05-16 16:20 UTC (1 day, 2 hours ago) · 10 languages

549 findings (48 legacy + 501 scanner) 8/10 scanners ran 43rd percentile · Python · huge (>500K LoC) Scanner says 73 (higher by 8)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 day, 2 hours ago · v1 · 549 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Bug-class explainers. Each card groups findings of the same shape — these are the patterns most likely to ship to prod and reappear in future scans unless you systematically fix the cause, not just the instance.

Fragile runtime 43 findings
What it is: Code that runs but breaks under predictable input — division by zero, missing keys, unbounded loops, off-by-one slicing.
Why it matters: Reaches production undetected because happy-path tests pass. First user with a weird input crashes the request.
How AI causes it: AI loves writing the happy path; doesn't probe edge cases unless explicitly asked.
Fix approach: Add property-based tests. Wrap external inputs with explicit validators. Use the framework's typed deserializer (Pydantic, attrs).
12 matching findings on this repo
  • medium Public web service has no security.txt .well-known/security.txt
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … django/apps/config.py:112
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … django/utils/http.py:146
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … django/http/response.py:336
  • low Public web app has no humans.txt humans.txt
  • low Public docs site has no llms.txt llms.txt
  • low Duplicated implementation block across source files django/conf/locale/sr/formats.py:16
  • low Duplicated implementation block across source files django/conf/locale/sk/formats.py:8
  • low Duplicated implementation block across source files django/conf/locale/ru/formats.py:5
  • low Duplicated implementation block across source files django/conf/locale/pt/formats.py:11
  • low Duplicated implementation block across source files django/conf/locale/nn/formats.py:11
  • low Duplicated implementation block across source files django/conf/locale/nn/formats.py:1
View all fragile runtime findings →
Legacy markers 42 findings
What it is: TODO, FIXME, XXX, HACK comments. Often indicate a known-broken path the author meant to fix.
Why it matters: Each marker is an unfinished thought. Production code shouldn't ship with debt that's documented but not tracked.
How AI causes it: AI mirrors the style of the codebase, so existing TODOs propagate into new code.
Fix approach: Convert each into a ticket. Delete the comment when the ticket lands. Use a pre-commit hook to block new TODOs without an issue link.
12 matching findings on this repo
  • low Legacy-named symbol `test_direct_construction_deprecated` in tests/mail/test_ba…
  • low Legacy-named symbol `test_sanitize_address_deprecated` in tests/mail/test_depre…
  • low Legacy-named symbol `test_connection_arg_deprecated` in tests/mail/tests.py:1867
  • low Legacy-named symbol `get_all_related_objects_with_model_legacy` in tests/model_…
  • low Legacy-named symbol `test_wsgirequest_copy` in tests/requests_tests/tests.py:258
  • low Legacy-named symbol `path_unused` in tests/i18n/patterns/tests.py:104
  • low Legacy-named symbol `response_copy` in tests/test_client/tests.py:93
  • low Legacy-named symbol `test_csp_basic_with_nonce_but_unused` in tests/middleware/…
  • low Legacy-named symbol `test_copy` in tests/utils_tests/test_datastructures.py:118
  • low Legacy-named symbol `test_copy` in tests/utils_tests/test_tree.py:87
  • low Legacy-named symbol `test_renamed_subclass_deprecated` in tests/deprecation/tes…
  • low Legacy-named symbol `assertDeprecated` in tests/deprecation/test_deprecate_posa…
View all legacy markers findings →
Commented-out code 145 findings
What it is: Lines of source that were intentionally disabled but never deleted.
Why it matters: Git already remembers history — commented code rots, becomes wrong, and adds noise to diffs.
How AI causes it: AI sometimes comments out broken code instead of fixing it. Reviewers approve out of inertia.
Fix approach: Delete. Trust `git log`. If you really need to remember, save it in a notes file under `docs/`.
12 matching findings on this repo
  • info Commented-code block (5 lines) in tests/aggregation_regress/tests.py:1945
  • info Commented-code block (7 lines) in tests/ordering/tests.py:420
  • info Commented-code block (6 lines) in tests/mail/test_deprecated.py:172
  • info Commented-code block (6 lines) in tests/mail/tests.py:2878
  • info Commented-code block (5 lines) in tests/sessions_tests/tests.py:1153
  • info Commented-code block (6 lines) in tests/model_inheritance_regress/tests.py:49
  • info Commented-code block (18 lines) in tests/requests_tests/tests.py:975
  • info Commented-code block (5 lines) in tests/model_inheritance/tests.py:35
  • info Commented-code block (5 lines) in tests/file_storage/tests.py:854
  • info Commented-code block (5 lines) in tests/responses/test_cookie.py:16
  • info Commented-code block (5 lines) in tests/utils_tests/test_choices.py:348
  • info Commented-code block (9 lines) in tests/utils_tests/test_crypto.py:120
View all commented-out code findings →
Config drift 2 findings
What it is: Settings duplicated across env files, Docker compose, K8s, and code defaults, all with slightly different values.
Why it matters: Production behaviour depends on whichever copy your loader reads first. Subtle bugs in staging that don't reproduce in dev.
How AI causes it: AI writes new config from memory rather than reading the existing source.
Fix approach: Pick one source of truth (env vars + a settings module). Have every other place import from there. Lint for duplicates in CI.
2 matching findings on this repo
  • low File has no detected symbols: tests/admin_scripts/configured_settings_manage.py
  • info Commented-code block (6 lines) in django/apps/config.py:115
View all config drift findings →
{# ── 2026-05-17 Round 14: AI-agent bridge footer ────────────────────── Discoverability: the /agents/voting/ guide + MCP manifest exist but aren't linked from anywhere users actually land. Small, opt-in footer. #}
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/ae0fafd5-ca42-4d82-9dcd-8a318ddbf0a9/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/ae0fafd5-ca42-4d82-9dcd-8a318ddbf0a9/

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.