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, 1 hour 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, 1 hour 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: layer: software × excluding tests × Reset all
Scan summary Repository scanned at 73.4/100 with 100.0% coverage. It contains 41687 nodes across 23 cross-layer flows, written primarily in mixed languages. Engine surfaced 501 findings — concentrated in quality (317), software (78), cicd (54). Risk profile is high: 2 critical, 3 high, 31 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

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

high Legacy software ssrf conf 1.00 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches.
Validate the URL against an allowlist BEFORE fetching: ALLOWED = {'images.example.com', 'cdn.example.com'} host = urlparse(url).hostname if host not in ALLOWED: abort(400) Or use a server-side proxy (Imgproxy / serve-files-only-from-S3) that isolates outbound network access from the request h…
django/core/files/storage/filesystem.py:48 ssrflegacy
high Legacy software ssrf conf 1.00 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches.
Validate the URL against an allowlist BEFORE fetching: ALLOWED = {'images.example.com', 'cdn.example.com'} host = urlparse(url).hostname if host not in ALLOWED: abort(400) Or use a server-side proxy (Imgproxy / serve-files-only-from-S3) that isolates outbound network access from the request h…
django/core/files/storage/base.py:174 ssrflegacy
high Legacy software ssrf conf 1.00 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches.
Validate the URL against an allowlist BEFORE fetching: ALLOWED = {'images.example.com', 'cdn.example.com'} host = urlparse(url).hostname if host not in ALLOWED: abort(400) Or use a server-side proxy (Imgproxy / serve-files-only-from-S3) that isolates outbound network access from the request h…
django/core/cache/backends/redis.py:87 ssrflegacy
high Legacy software open_redirect conf 1.00 [SEC030] Open Redirect — user-controlled redirect target: Redirect target is taken directly from user input without validating that the destination is local to the site. Attackers craft phishing URLs that appear to come from your domain but land on attacker-controlled pages — common in OAuth callback flows, post-login redirects, and `next=` parameters. CWE-601.
Validate the redirect URL against an allowlist of safe destinations: # Django: from django.utils.http import url_has_allowed_host_and_scheme if not url_has_allowed_host_and_scheme(url, allowed_hosts={request.get_host()}): url = '/' # safe default Or restrict to relative paths only: `if…
django/views/i18n.py:56 open_redirectlegacy
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: Gruntfile.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_docs/namespace_urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_docs/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/broken_app/models.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/complex_app/admin/foo.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/configured_settings_manage.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/custom_templates/app_template/api.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/custom_templates/project_template/project_name/settings.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/simple_app/models.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/admin_scripts/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/builtin_server/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/file_storage/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/generic_inline_admin/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/commands/app_with_locale/some_file.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/commands/someapp/static/javascript.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/commands/static/javascript_ignored.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/other/locale/de/formats.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/other/locale/fr/formats.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/other2/locale/de/formats.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/default.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/disabled.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/included.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/namespace.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/path_unused.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/wrong.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/patterns/urls/wrong_namespace.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/project_dir/app_no_locale/models.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/project_dir/app_with_locale/models.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/sampleproject/manage.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/sampleproject/sampleproject/settings.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/i18n/urls_default_unprefixed.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/middleware/cond_get_urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/middleware/extra_urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/middleware/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/model_meta/results.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/project_template/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/resolve_url/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/sitecustomize.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/template_backends/apps/good/templatetags/empty.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/template_backends/apps/good/templatetags/good_tags.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/template_backends/apps/good/templatetags/override.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/template_backends/apps/good/templatetags/subpackage/tags.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/template_backends/apps/importerror/templatetags/broken_tags.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/test_client/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/test_sqlite.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: tests/urls.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code conf 1.00 Possibly dead Python function: default_role_error
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:396 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: depart_console_dummy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:244 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: depart_desc_parameterlist
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:148 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: depart_table
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:123 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: depart_versionmodified
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:172 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: django_check_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/lint.py:20 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: G
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:114 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: h
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:118 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: H
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:122 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: html_page_context_hook
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:386 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: i
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:126 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: is_multiline_block_to_exclude
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/lint.py:62 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: O
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:130 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: P
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:145 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: parse_django_admin_node
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:184 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: s
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:158 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: T
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:162 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: u
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
django/utils/dateformat.py:173 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: version_github_linkcode_resolve
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/conf.py:453 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_ClassDef
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/github_links.py:30 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_console_dummy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:239 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_console_html
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:249 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_desc_parameterlist
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:128 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_FunctionDef
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/github_links.py:27 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_ImportFrom
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/github_links.py:33 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_table
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:116 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: visit_versionmodified
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:165 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: warner
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
docs/_ext/djangodocs.py:277 dead-code
{# ── 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.