AAK-INDIA-PII-003: UPI ID in source / config
- Severity
- HIGH
- Category
- Secret Exposure (
secret-exposure) - Scanner
agent_audit_kit/scanners/india_pii.py- Auto-fixable
- No.
- SARIF name
IndiaUpiInCode
What it detects
A UPI VPA (<handle>@<psp>) was detected. UPI IDs are payment identifiers regulated by NPCI and covered by DPDP ยง8(4).
How to fix
Remove the UPI ID. Accept UPI addresses as runtime input only.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-INDIA-PII-003
Limitations
Reads a UPI ID only when the handle after the @ is one of fifteen payment-app handles (@oksbi, @ybl, @paytm, @upi and eleven more). An ID at any other handle, such as @kotak, is not reported.
References
- OWASP MCP Top 10: MCP10:2025 (Context Injection & Over-Sharing)
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-003.md: the page then shows that text, with the registry reference appended under it.