Files
accounted/app/api
Jakob Wennberg dfd87dd294 fix(security): redact PII in /api/log before it reaches Vercel logs (audit E1) (#649)
The onboarding client-error endpoint logged untrusted client-supplied message + extra via raw console.error + JSON.stringify(extra) with NO redaction, leaking personnummer / IBAN / tokens into Vercel logs. Route through the structured logger (createLogger), whose REDACT_KEYS + redactString sanitize both the message and the nested extra payload before emit. Response contract unchanged ({ ok: true|false }).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 17:18:46 +02:00
..
2026-05-26 22:29:41 +02:00
2026-05-26 22:29:41 +02:00
2026-04-11 17:06:32 +02:00
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-04-11 17:06:32 +02:00
2026-06-02 13:25:48 +02:00
2026-05-08 15:42:06 +02:00
2026-04-29 16:32:26 +02:00