| Unauthenticated read of traces |
Information disclosure |
access policy; 404 until configured outside debug; doctor --production flags open |
an operator can still choose access="open" |
| Secrets stored in clear |
Information disclosure |
key-based redaction of headers, query, bodies, logs and locals; SQL parameter policies; route rules |
free text and values under innocent names are not caught (what redaction misses) |
| Cross-site request deletes or triggers EXPLAIN |
Tampering |
CSRF token / same-origin checks on every mutation |
depends on the browser enforcing SameSite and Origin |
| DNS rebinding against a loopback instance |
Spoofing |
Host allow-list for the loopback policy; ALLOWED_HOSTS on Django |
another app on the same origin is trusted |
| Forced recording of attacker requests |
Tampering / DoS |
profile and check headers honoured only for authorised callers; bounded queue drops instead of blocking |
high-cardinality traffic still costs CPU before sampling |
| A caller invents or tampers with load runs through the register endpoints |
Tampering |
accept_remote_runs is off by default and in every preset; same access policy and CSRF rules as other mutations; refused while read_only; every field is type- and size-checked; the config is masked again server-side; only runs registered over HTTP can be changed over HTTP; a made-up X-Redline-Run id keeps no trace |
an authorised token holder can write false run results to a remote-registered run |
| Generator credentials leak through the run command |
Information disclosure |
the access token comes from REDLINE_TOKEN or a file, never argv; a PostgreSQL URL reaches a UI-started child through the environment and is masked in every message |
environment variables are visible to the same user's processes |
| A UI or API caller makes the generator run a command or read a file |
Elevation of privilege |
scenario keys auth, identities, identities_file and data are refused from POST api/runs (400) and only read from a scenario file; the token command runs without a shell |
a scenario file is trusted like any script you run |
| Identity or token secrets stored or logged |
Information disclosure |
only the identity name is recorded; header, cookie, token-command and token-request credentials are masked in the stored config; the token is never put in a log, message or error |
the secret still lives in the generator process |
| The plan login's credentials leak, or a plan upload attacks the parser |
Information disclosure / DoS |
explain_url is masked in config and API output; plan upload rejects DTDs and entities (<!), caps size (5 MB), elements (20,000) and depth, and never executes anything; the probe only calls HAS_PERMS_BY_NAME |
the plan login is a second credential to protect |
| A caller drives a remote generator against internal targets or runs code on it |
Elevation of privilege / SSRF |
an agent needs a token (constant-time compare, 16+ characters), listens on loopback by default, can be limited with --allow-target (exact scheme/host/port), resolves target names and blocks link-local and metadata addresses, refuses token commands and callables, files, ${VAR} expansion and unknown keys, bounds every worker config; the token endpoint is checked like the target |
whoever holds the agent token can aim load at any other allowed host; protect the token and use TLS |
| Arbitrary SQL through EXPLAIN |
Elevation of privilege |
EXPLAIN takes trace/span ids, never SQL; is_explainable on stored text; rolled back |
under explain_analyze a planted SELECT calling a side-effecting function would run (in a rolled-back transaction) |
| Store file stolen from disk or backups |
Information disclosure |
redaction, retention, file permissions |
no at-rest encryption |
| Crafted request data makes redaction slow |
Denial of service |
redaction patterns are linear-time; error, header and identifier texts are cut before they are scanned |
free-text capture still costs CPU proportional to the capture budgets |
| Recorder exhausts memory/disk |
Denial of service |
span/SQL/body/trace byte budgets, bounded writer queue, retention |
budgets do not bound total process memory; see capacity |
| Exported telemetry leaks data |
Information disclosure |
OTLP export omits bodies, SQL text and free-text tags; preview by default |
collector security is the operator's |
| Malicious dependency or tampered release |
Tampering |
trusted publishing, PEP 740 attestations, CI actions pinned to full commit SHAs, checkouts without persisted credentials, least-privilege workflow permissions, Dependabot, pip-audit / zizmor in review |
users must verify attestations themselves |