fix(submissions): catch sensitive identity attestations#2110
Conversation
|
Warning Review limit reached
More reviews will be available in 11 minutes and 11 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 |
|
Important Gittensory found maintainer review notesPublic GitHub metadata was checked for review readiness. Gittensor-specific context appears only when confirmed. Readiness score: 93/100
Signal definitions
Review context
Maintainer notes
Contributor next steps
Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. Learn more about Gittensor contribution workflows. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
🔍 Maintainer advisory reviewReviewed 2 changed file(s) — two independent AI reviewers. This is an advisory review — it does not merge or close the PR. Suggested action: ✅ Looks good to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · No blocking issues spotted. |
Motivation
attestationmatch.Description
attestations?near a broader set of identity terms (includingidentity,passport,government id, andbiometric) without reintroducing a blanketattestationkeyword.FINANCIAL_OR_IDENTITY_PATTERNfor wallet/KYC/on-chain signals and combined it with the new attestation patterns inhasFinancialOrIdentitySensitiveSignalso thefinancial_or_identity_sensitiveflag still triggers when appropriate.RegExpusage inpackages/registry/src/submission-risk.jsto make matches explicit and maintainable.tests/submission-pr-first.test.tsthat assert generic identity-attestation descriptions are flagged asfinancial_or_identity_sensitive.Testing
pnpm test:submission-pr-first, which executedvitestand reported all tests intests/submission-pr-first.test.tspassing (24 tests passed).Codex Task