Repository navigation
fix(secrets): redact Netlify authentication token families - #185
Conversation
|
@jdotc1 is attempting to deploy a commit to the himanshu's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
himanshu748
left a comment
There was a problem hiding this comment.
Please rebase onto current main and resolve the conflict in backend/tests/test_secrets.py after #179 merged. Keep both the Netlify token cases and the overlap-scanning regression, then rerun GitHub Actions.
770cb6a to
c67ee06
Compare
|
Addressed the review by rebasing this PR's two commits onto current
The separate Vercel check remains blocked by deployment authorization for the repository owner's Vercel team; it is unrelated to the code or merge-conflict resolution. Ready for re-review. |
himanshu748
left a comment
There was a problem hiding this comment.
The latest update still adds the Netlify tests at the same spot as the CircleCI tests merged in #178. I reproduced the Git conflict in backend/tests/test_secrets.py. Please rebase onto current main, keep both test sets, and rerun CI. Moving the Netlify cases to their own test module would also resolve the overlapping insertion.
c67ee06 to
e014477
Compare
|
Addressed the November 22 review by rebuilding this PR on current upstream
CI rerun passed: GitHub Actions run 44996019030.
The separate Vercel authorization check remains blocked by access to the repository owner's Vercel team; this is unrelated to the patch. Ready for re-review. |
Security issue
Netlify authentication credentials use five typed
nf*prefixes introduced in November 2023 (nfp,nfc,nfo,nfu,nfb). An unlabelled credential can otherwise enter memory without typed classification.Change
The token prefixes and envelope length are from Netlify's format announcement: https://answers.netlify.com/t/change-to-the-netlify-authentication-token-format/106146
Validation
Tests are synthetic; focused
pytest backend/tests/test_secrets.pyand CI pending. No live credentials included.