Skip to content

AAK-INDIA-PII-005: Indian mobile number in source / config

Severity
MEDIUM
Category
Secret Exposure (secret-exposure)
Scanner
agent_audit_kit/scanners/india_pii.py
Auto-fixable
No.
SARIF name
IndiaPhoneInCode

What it detects

An Indian +91 mobile number (starting 6/7/8/9) was detected. Phone numbers are personal data under DPDP §8(4).

How to fix

Remove the phone number. Never log raw phone numbers — hash them.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-INDIA-PII-005

Limitations

Reads a +91 mobile number whose ten digits follow the country code without a break (+91 9876543210). The same number grouped in fives, +91 98765 43210, is not reported.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-INDIA-PII-005.md: the page then shows that text, with the registry reference appended under it.