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.

discord/access

https://github.com/discord/access · scanned 2026-06-17 01:57 UTC (1 month, 1 week ago)

106 raw signals (0 security + 106 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -15.5 (diff) · 70 actionable findings from 1 signal source. 36 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 61.2/100 with 100.0% coverage. It contains 2511 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 106 findings — concentrated in quality (76), security (12), cicd (10). Risk profile is high: 0 critical, 12 high, 19 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 43 of 70 actionable findings. 106 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.

high System graph security auth conf 1.00 FastAPI DELETE `delete_group` without auth dependency — api/routers/groups.py:414
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/groups.py:414 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `post_access_request` without auth dependency — api/routers/access_requests.py:207
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/access_requests.py:207 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `post_group_request` without auth dependency — api/routers/group_requests.py:158
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/group_requests.py:158 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `post_group` without auth dependency — api/routers/groups.py:140
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/groups.py:140 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `post_role_request` without auth dependency — api/routers/role_requests.py:347
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/role_requests.py:347 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `post_sentry` without auth dependency — api/routers/bugs.py:30
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/bugs.py:30 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_access_request` without auth dependency — api/routers/access_requests.py:257
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/access_requests.py:257 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_group_members` without auth dependency — api/routers/groups.py:468
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/groups.py:468 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_group_request` without auth dependency — api/routers/group_requests.py:222
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/group_requests.py:222 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_group` without auth dependency — api/routers/groups.py:201
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/groups.py:201 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_role_members` without auth dependency — api/routers/roles.py:131
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/roles.py:131 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_role_request` without auth dependency — api/routers/role_requests.py:399
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
api/routers/role_requests.py:399 securityAuth fastapi unauth mutation
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — src/api/apiFetcher.ts:66
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/launch.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/launch.json VerificationClaude instruction
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 hardware Security conf 1.00 Dockerfile runs as root: Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph quality Integrity conf 1.00 12 occurrences Frontend route `/users/:id` has no Link/navigate to it — src/App.tsx
The route is registered but no `<Link to=…>` or `navigate(…)` in the codebase navigates here. Either it's reachable only via direct URL (intentional), it's dead, or the link broke during a refactor.
12 occurrences
repo-level (12 hits)
Orphan pageWiring
medium System graph cicd CI/CD security conf 1.00 3 occurrences GitHub Action is tag-pinned rather than SHA-pinned
google-github-actions/auth@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 26, 34, 42
.github/workflows/docker-image.yml:26, 34, 42 (3 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Maintenance conf 1.00 34 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: node:22-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:6 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.13
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:38 containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 6 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-python@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
5 files, 6 locations
.github/workflows/openapi-client-drift.yml:20, 43 (2 hits)
.github/workflows/ci.yml:37
.github/workflows/db-migrations.yml:55
.github/workflows/docker-image.yml:20
.github/workflows/lint.yml:33
CI/CD securitySupply chainGithub actions
low System graph quality Tests conf 1.00 Low test-to-source ratio
41 tests / 215 src (ratio 0.19).
low System graph quality Integrity conf 1.00 18 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: api/exception_handlers.py:request_validation_handler, api/exception_handlers.py:pydantic_validation_handler 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…
18 occurrences
repo-level (18 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: api/middleware.py:dispatch, api/middleware.py:dispatch, api/middleware.py:dispatch, api/middleware.py:dispatch This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document …
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `grouped_tomorrow_old` in api/syncer.py:474
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 quality Integrity conf 1.00 Old/deprecated-named symbol `u_old` in tests/test_audit.py:420
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 cicd CI/CD security conf 1.00 package.json defines install-time lifecycle scripts
preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access.
package.json CI/CD securitySupply chainNpm
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
api/mcp/auth/__init__.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: lookup_user
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/plugins/notifications_slack/notifications.py:242
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_datetime_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
api/schemas/datetimes.py:36
low System graph software Dead code conf 1.00 Possibly dead Python function: send_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/plugins/notifications_slack/notifications.py:289
low System graph quality Complexity conf 1.00 Very large file: api/mcp/tools.py (1468 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: api/models/core_models.py (1259 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/api/apiComponents.ts (3347 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/pages/group_requests/Read.tsx (1089 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_app_group_lifecycle_plugin.py (2090 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_disallow_self_add_constraint.py (1994 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_group.py (1722 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_group_request.py (2564 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_require_reason_constraint.py (1528 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_role.py (1659 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_role_request.py (1491 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/b2239a8c-3c0b-4a31-b642-f0dc8780c2e1/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/b2239a8c-3c0b-4a31-b642-f0dc8780c2e1/

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.