diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-08 13:32:20 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-08 13:32:20 +0200 |
| commit | c734feaf769c936698a52f38a2099152a6098c43 (patch) | |
| tree | fd4b483e0f3091be4ca7884f4ecf5c7532f2046b /.gitignore | |
| parent | 3126606d5e761e151fee0caab34d2cca2b9b3ee7 (diff) | |
| download | abusectl-c734feaf769c936698a52f38a2099152a6098c43.tar.gz abusectl-c734feaf769c936698a52f38a2099152a6098c43.zip | |
fix: redact fragment and strip userinfo, flag hidden query in path
The query string was not the only place a recipient identifier can hide.
A fragment (#e=victim@...) is published as-is since we report the URL's
literal text, not what a browser would send. Userinfo (user:pass@host)
leaks a credential as well as an identifier, so it is stripped outright
rather than redacted in place. A path segment can also smuggle an
encoded query (%3Fe=victim@...); suspect_path_segments now flags a
segment that decodes to something containing '=' or '@', still leaving
the decision to redact or not to human review.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KphFXTc2QajxXsHWyvGJ4R
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
