CRITICAL: Rate limiting completely disabled (all decorators are no-op stubs) #35
Labels
No labels
agentic-osint
audit
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:preflight
blocked:verify-failed
bug
chore
deferred
enhancement
feature-request
in-progress
lint-baseline
lint-cleanup
needs-decompose
needs-triage
performance
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/osint-hub#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Critical
Description
The rate limiting middleware (
slowapi) is initialized, but allrate_limit_*decorator functions inbackend/app/rate_limit.py(lines 52-94) are no-op stubs that do nothing. They all return anoopfunction that performs no rate limiting.This means:
Impact
An attacker can:
Recommendation
/api/auth/token(login endpoint)Triage decision: Approved as bug (critical).
Note: Rate limits should be configurable parameters — not hardcoded. Per-endpoint thresholds via config/settings (e.g.
RATE_LIMIT_LOGIN_PER_MIN,RATE_LIMIT_API_PER_HOUR) with sensible defaults. This lets operators tune without code changes.Fixed in commit. Closing.