chore(security): ignore creds bundles, the shape #2171 missed - #2173
Conversation
PR #2171 closed the identity/key-material shapes but a plain creds.json still slipped through: *credentials.json does not match creds.json. @taOS-website-dev found this running the same audit on its own repo, which is the argument for having every repo run the check rather than trusting one pass. Verified on origin/dev before committing: creds.json, my_creds.json and data/creds.json were all NOT ignored, and 0 of 3100 tracked files become ignored by the new pattern.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughExpanded ChangesCredential ignore coverage
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoIgnore creds JSON bundles missed by prior security audit
AI Description
High-Level Assessment
Files changed (1)
|
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Reviewed by step-3.7-flash · Input: 36K · Output: 4K · Cached: 117.9K |
jaylfc#2173) PR jaylfc#2171 closed the identity/key-material shapes but a plain creds.json still slipped through: *credentials.json does not match creds.json. @taOS-website-dev found this running the same audit on its own repo, which is the argument for having every repo run the check rather than trusting one pass. Verified on origin/dev before committing: creds.json, my_creds.json and data/creds.json were all NOT ignored, and 0 of 3100 tracked files become ignored by the new pattern.
jaylfc#2173) PR jaylfc#2171 closed the identity/key-material shapes but a plain creds.json still slipped through: *credentials.json does not match creds.json. @taOS-website-dev found this running the same audit on its own repo, which is the argument for having every repo run the check rather than trusting one pass. Verified on origin/dev before committing: creds.json, my_creds.json and data/creds.json were all NOT ignored, and 0 of 3100 tracked files become ignored by the new pattern.
Follow-up to #2171, prompted by @taOS-website-dev running the same audit on its own repo and finding shapes my first pass missed. That is the useful part of this PR: one repo's audit found a gap in another's, which is why the check is worth running everywhere rather than trusting a single pass.
The gap.
*credentials.jsondoes not matchcreds.json. Verified against mergedorigin/dev:*creds*.jsoncloses the shorter spelling, which is the one people actually type.Safety check, done the way I got caught not doing before: tested against
git ls-tree -r origin/devrather than my local branch. 0 of 3100 tracked files become ignored.Summary by CodeRabbit