feat: add Indian ID detectors#54
Merged
pixincreate merged 1 commit intomasterfrom May 4, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds five new regex-based detectors to detectors.toml so the scanner can flag Indian government ID numbers alongside the existing secret/PII patterns in the codebase.
Changes:
- Added detector entries for Aadhaar, Voter ID (EPIC), APAAR, PAN, and ABHA IDs.
- Marked all five new detector types as
HIGHseverity. - Extended the detector catalog without changing scanner/runtime code.
Add detectors for: - Aadhaar (12-digit) - Voter ID EPIC (10-char alphanumeric) - APAAR (12-digit) - PAN Card (10-char alphanumeric) - ABHA Health ID (14-digit) These IDs have the potential to destroy people's lives if leaked. Closes #14
257aa9a to
6a29b77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 5 new detectors for sensitive Indian government identification numbers:
Rationale
These 5 IDs have the potential to destroy people's lives if leaked and made public. Adding them to the detector improves security for Indian users.
Closes
Closes #14