You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): close fail-open paths found by the integration suite (#7886)
- Keep an organization's permission groups governing while its payment is
failing: enforcement read the usable-subscription set, so a past-due
card resolved to "no permission group", which denies nothing and lifted
every restriction the organization had configured
- Shorten the one-time token lifetime from 24 hours to 2 minutes; the
token redeems for a session cookie, so an unredeemed one was a bearer
credential for that session until it expired
- Refuse the plugin's password-reset endpoints by shape, and refuse the
verification sender when it is asked for a reset: both reach the same
mailer as the application route without its per-recipient budget
- Answer an expired or reused reset link with a 400 and fixed copy rather
than a 500 carrying the library's wording, while keeping the request
half indistinguishable from a success so it discloses no addresses
- Return an invitation token only to callers who may manage the
workspace, and stop sending terminal invitations to the client at all
- Validate usage dates with the calendar check zod already ships, which
cannot throw out of validation the way the hand-rolled round trip did
0 commit comments