Groundskeeper

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.abn normalizes exactly 11 ASCII digits in contiguous or 2-3-3-3 form and applies the ABR modulus-89 algorithm. It also requires an exact label or trusted field. validated means 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-account treats 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 is candidate; a labelled same-line BSB in contiguous six-digit or 3-3 ASCII-hyphen form makes it probable. It is never validated. BSB alone emits nothing, and the finding/redaction span is the account number only.
  • bank.example/reference/synthetic-bsb-v1 is an optional bounded profile with one synthetic 000-000 fixture. It adds reference_match evidence without changing state or claiming existence. The baseline does not select it.

Sources and licence provenance

ClaimSourceUse and licence posture
ABN is 11 digits with modulus-89 check digits and published weightsAustralian Business Register, Format of the ABNAuthoritative 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 numberAustralian Payments Network, BSB directoryFactual 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 institutionExisting Groundskeeper Australian identifier research and taxonomyRepository documentation; no external account corpus or format list is copied.
Fixtures and EXAMPLE-BANK referenceRepository-authored synthetic dataCC0-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.

On this page