| ▲ | saadn92 9 hours ago | ||||||||||||||||||||||
What bites people: rotating a vercel env variable doesn't invalidate old deployments, because previous deploys keep running with the old credential until you redeploy or delete them. So if you rotated your keys after the bulletin but didn't redeploy everything, then the compromised value is still live. Also worth checking your Google Workspace OAuth authorizations. Admin Console > Security > API Controls > Third-party app access. Guarantee there are apps in there you authorized for a demo two years ago that are still sitting with full email/drive access. | |||||||||||||||||||||||
| ▲ | trollbridge 27 minutes ago | parent | next [-] | ||||||||||||||||||||||
We have multiple Google accounts for this very reason. Of course, a lot of orgs don’t do this due to the Google Workspace per user “tax”. I tried and failed at a past employer to get some account other than my primary for doing OAuth grants like this. | |||||||||||||||||||||||
| ▲ | quentindanjou 9 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Usually rotating a credential means that you invalidate the previous one. Never heard of rotating credentials that would only create new ones and keep the old ones active. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | oasisbob 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
> What bites people: rotating a vercel env variable doesn't invalidate old deployments, because previous deploys keep running with the old credential until you redeploy or delete them. So if you rotated your keys after the bulletin but didn't redeploy everything, then the compromised value is still live. That statement in the report really confuses me; feels illogical and LLM generated. An old deployment using an older env var doesn't do anything to control whether or not the credential is still valid. This is a footgun which affects availability, not confidentiality like implied. Another section in the report is confusing, "Environment variable enumeration (Stage 4)". The described mechanics of env var access are bizarre to me - > Pay particular attention to any environment variable access originating from user accounts rather than service accounts, or from accounts that do not normally interact with the projects being accessed. Are people really reading credentials out of vercel env vars for use in other systems? | |||||||||||||||||||||||
| ▲ | nulltrace 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Preview deploys are even worse. Every PR spins one up with the same env vars and nobody ever cleans them up. You rotate the key, redeploy prod, and there are still like 200 zombie previews sitting there with the old value. | |||||||||||||||||||||||
| ▲ | wouldbecouldbe 9 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
When you rotate them, you supposed expire your old vars | |||||||||||||||||||||||
| ▲ | kevinqi 8 hours ago | parent | prev [-] | ||||||||||||||||||||||
yeah not redeploying on credential changes seems like a design flaw. Render redeploys on env var changes, for instance. | |||||||||||||||||||||||
| |||||||||||||||||||||||