chore(guard): sync vendored public-repo-guard to canonical#14
Conversation
|
|
Warning Review limit reached
More reviews will be available in 37 minutes and 55 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
CI-only guard script changes that tighten leak detection; no runtime application or auth/data-path changes.
Overview
Vendors the canonical public-repo-guard policy so this repo matches wave-foundation/scaffolder.
.gitleaks.tomlextends the path allowlist withtestdata/so Go-style fixture directories (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 messages intentionally show$CLOUDFLARE_ACCOUNT_IDand$HOMEas literal guidance.Reviewed by Cursor Bugbot for commit 94472c2. Configure here.
Summary by cubic
Syncs the vendored
public-repo-guardto the canonical source inwave-foundation/scaffolder/public-repo-guard, aligning checks with the pre-publish mirror gate. Adds an internal IP leak rule for Tailscale CGNAT (100.64.0.0/10) to prevent publishing fleet addresses..gitleaks.tomlto also ignoretestdata/(Go fixtures directory).Written for commit 94472c2. Summary will update on new commits.