Skip to content

Security heuristics are English/US-only: credential names and PII patterns miss PASSWORT, SENHA, CONTRASENA, Aadhaar, IBAN, NINO, CPF #3832

Closed

Description

@squid-protocol

Where:

  • gitgalaxy/security/security_lens.py:164-165 recognises only password|secret|token|api_key… and the COBOL PASSWORD|SECRET|TOKEN|KEY|CREDENTIALS.
  • tools/terabyte_log_scanning/pii_leak_hunter.py:25 detects only the US SSN.

Missing:

  • credential names: PASSWORT / KENNWORT (German), SENHA (Portuguese), CONTRASENA / CLAVE (Spanish), MOT-DE-PASSE (French), WACHTWOORD (Dutch), LOSENORD (Swedish);
  • PII: IBAN, UK NINO, Aadhaar (India), CPF (Brazil), BSN (Netherlands).

Fix: A multilingual credential lexicon, and region packs for PII.

Found by a cultural-assumptions audit (2026-09-26): confirmed in code or by probe (JDK 17 locales, IBM code-page decoding, the harness's GnuCOBOL image) unless marked plausible.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    core-engine
    on Sep 26, 2026
  2. added a commit that references this issue on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-engineenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions