Files
agentic_security/tests/unit
JR e281f84e2c fix(pii): detect Bearer Authorization headers and quoted API key fields
The api_token pattern required ':' or '=' right after the keyword, so
'Authorization: Bearer <token>' (RFC 6750, section 2.1) and quoted keys
such as '"api_key": "..."' or an OAuth '"access_token"' field were
never flagged. Accept an optional closing quote after the keyword and
an Authorization header carrying a Bearer token, and skip placeholder
values such as YOUR_ACCESS_TOKEN, your_api_key_here and xxxxxx.
2026-11-23 20:31:43 +01:00
..
2026-05-14 18:56:24 +03:00
2026-01-28 21:04:29 +02:00
2025-12-26 22:58:21 +02:00
2025-12-26 22:58:21 +02:00
2025-12-26 22:58:21 +02:00
2026-06-03 14:59:43 +03:00
2026-01-28 21:04:29 +02:00