nomonic
    Preparing search index...

    Function scanFiles

    • Scan an array of file paths for BIP39 mnemonic sequences.

      Each file is read as UTF-8 text. Binary files (containing null bytes) are silently skipped. Files that cannot be read are also skipped.

      Parameters

      • files: string[]

        Absolute or relative file paths to scan.

      • threshold: number = DEFAULT_THRESHOLD

        Minimum consecutive BIP39 words to trigger a violation (default: DEFAULT_THRESHOLD).

      Returns ScanViolation[]

      An array of ScanViolation objects across all scanned files.