Fix auth gaps, FR24 import guards, and email safety; add audit doc #3
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/audit-quick-wins"
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?
Quick-win fixes from a deep code audit (see
docs/audit-2026-06.md).Fixes
enrichFlightnow requires auth — anonymous callers could previously drain the shared AeroDataBox monthly quota.searchAirports/searchAirlines/searchAircraftTypes/getAirportById) now gate onrequireUserId().Flight number,Registration,Seat number,Note) with??— a missing header no longer throws on every row.notifyAdmin+ verification email now.catchsend rejections (no more unhandled rejections); new-flight email HTML-escapes user freeform values.Docs
docs/audit-2026-06.md(full findings + competitive roadmap), linked fromCLAUDE.md.Verified:
pnpm typecheck,pnpm lint,pnpm test(23/23) all pass.