Skip to content

AAK-INDIA-PII-004: IFSC code in source / config

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

What it detects

An IFSC code (4 letters + 0 + 6 alnum) was detected. IFSC is a banking identifier; pairing it with an account number constitutes DPDP ยง8(4) 'sensitive personal data'.

How to fix

Move IFSC codes out of source; look them up at runtime from RBI's public IFSC directory.

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

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

Limitations

Reads an IFSC code written in capitals: four letters, a 0 and six letters or digits. The same code in lower case (sbin0001234) 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-004.md: the page then shows that text, with the registry reference appended under it.