Australian ABN and BSB + account detectors
This slice adds two disabled-by-default built-ins. Findings remain advisory and non-blocking. The development default policy is unchanged; the example policy is explicitly selected. ABN is always record-only. Bank-account redaction is a non-production G2 example and is not authorized for deployment by this work.
Semantics
builtin.pii.au.abnnormalizes exactly 11 ASCII digits in contiguous or2-3-3-3form and applies the ABR modulus-89 algorithm. It also requires an exact label or trusted field.validatedmeans only that local shape and checksum passed: it does not establish registration, status, issuance, ownership, allocation, or existence. ABNs are public organisational identifiers, although a sole trader's ABN can identify an individual. The existing public taxonomy path is retained for compatibility.builtin.pii.au.bank-accounttreats account-number formats as institution-variable. A five-to-ten digit envelope is recognition plumbing, not a universal Australian account grammar. Shape alone emits nothing. An exact account label or trusted field iscandidate; a labelled same-line BSB in contiguous six-digit or3-3ASCII-hyphen form makes itprobable. It is nevervalidated. BSB alone emits nothing, and the finding/redaction span is the account number only.bank.example/reference/synthetic-bsb-v1is an optional bounded profile with one synthetic000-000fixture. It addsreference_matchevidence without changing state or claiming existence. The baseline does not select it.
Sources and licence provenance
| Claim | Source | Use and licence posture |
|---|---|---|
| ABN is 11 digits with modulus-89 check digits and published weights | Australian Business Register, Format of the ABN | Authoritative factual algorithm reimplemented locally. No ABR register records or page text are redistributed; Commonwealth website terms apply to the source. |
| A BSB is a six-digit institution/branch identifier used with an account number | Australian Payments Network, BSB directory | Factual grammar/context citation only. Directory licence/redistribution terms are not relied upon; no directory data is downloaded, embedded, queried, or used to assert allocation. |
| Account numbers vary by institution | Existing Groundskeeper Australian identifier research and taxonomy | Repository documentation; no external account corpus or format list is copied. |
| Fixtures and EXAMPLE-BANK reference | Repository-authored synthetic data | CC0-1.0; values are deliberately non-evidentiary and must not be represented as real accounts or allocations. |
Evidence and maturity
The legacy G0 release prerequisites pass when contract/schema checks, exact-span tests, hard negatives, determinism, race, fuzz, and the 64 KiB latency budget pass on the same commit. The governed synthetic conformance corpora contain 5 ABN and 6 bank-account base cases. They are developer-authored and therefore do not qualify as independent holdout evidence.
Legacy G1 release eligibility is NOT_READY. Missing evidence includes an independently authored and approved holdout, critical-slice volume, independent semantic hard negatives, adversarial transformation coverage, redaction leakage/over-redaction evidence, same-commit resource attestations on reference hardware, and detector-owner, independent-engineer, privacy, taxonomy, risk, and Australian banking-domain approvals. No production action, blocking, required/fail-closed posture, or live lookup is approved.
Integration uses the stable IDs, detector manifests, immutable G1 baselines, capability contracts, and digest-pinned EXAMPLE-BANK industry overlay. Runtime profile compilation/activation remains unimplemented, so the overlay is a validated contract example rather than request-time configuration.