chore(guard): sync vendored public-repo-guard to canonical#25
Conversation
|
|
Warning Review limit reached
More reviews will be available in 37 minutes and 49 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 policy tweaks that tighten leak detection; no runtime app or auth/data-path changes.
Overview
Syncs the vendored public-repo-guard config with canonical foundation so CI and the pre-publish mirror gate stay aligned.
.gitleaks.tomlextends the path allowlist withtestdata/so Go-style fixture directories (e.g. published test vectors) are not flagged as secrets.content-policy.shadds a BLOCKinternal-iprule for Tailscale CGNAT addresses (100.64.0.0/10), using the same regex as the foundation mirror scripts. It also addsshellcheck disable=SC2016on rules whose error messages intentionally show$CLOUDFLARE_ACCOUNT_IDand$HOMEas literal guidance.Reviewed by Cursor Bugbot for commit a27b3e2. Configure here.
Summary by cubic
Syncs vendored
public-repo-guardto matchwave-foundation/scaffolder/public-repo-guard, adds an internal IP leak rule for Tailscale CGNAT (100.64.0.0/10). Updates.gitleaks.tomlto ignore Gotestdata/fixtures to reduce false positives.New Features
internal-iprule to block Tailscale CGNAT addresses (100.64.0.0/10), aligned with the pre-publish mirror gate.Dependencies
public-repo-guardis byte-for-byte identical to canonical; reconciles prior drift.Written for commit a27b3e2. Summary will update on new commits.