chore(guard): sync vendored public-repo-guard to canonical#10
Conversation
|
|
Warning Review limit reached
More reviews will be available in 36 minutes and 43 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Syncs the vendored
public-repo-guardtrio to the canonical source inwave-foundation/scaffolder/public-repo-guard.internal-ipleak rule (Tailscale-CGNAT100.64.0.0/10), lockstep with the pre-publish mirror gateEach changed file is byte-for-byte identical to canonical (verified by git blob SHA). The repo's own
Secrets + content policygate re-scans this PR.🤖 Generated with Claude Code
Note
Low Risk
Guard-only tightening and allowlist tweaks; no runtime app or auth behavior changes.
Overview
Vendors the canonical public-repo-guard config so this repo matches
wave-foundation/scaffolder/public-repo-guard..gitleaks.tomladdstestdata/to path allowlists so Go-style fixture dirs (e.g. published Hardhat test vectors) are not flagged as secrets.content-policy.shadds a BLOCK rule for Tailscale CGNAT addresses in100.64.0.0/10, aligned with the foundation pre-publish mirror gate, and addsshellcheck disable=SC2016on rules whose error text mentions$CLOUDFLARE_ACCOUNT_IDand$HOMEso those strings are not treated as shell variables.Reviewed by Cursor Bugbot for commit 37602a8. Configure here.
Summary by cubic
Syncs vendored
public-repo-guardto the canonicalwave-foundation/scaffolder/public-repo-guardto eliminate drift. Adds an internal-IP leak rule and updatesgitleakspaths; changes are byte-for-byte identical to canonical.testdata/togitleaksfixture paths to avoid false positives in Go-style test fixtures.Written for commit 37602a8. Summary will update on new commits.