Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function blindSecrets

    • Blind secrets in text, naming the kind of each.

      Delegates to the shared table (P5.3). This module used to carry its own 13 patterns and missed Anthropic, Google and xAI keys plus AMC's own lease and token formats — all of which bridgeRedaction caught. Measured across eighteen samples, the two engines disagreed on fifteen.

      The typed placeholder stays: callers here act on WHICH kind of secret leaked, where a durable bridge row deliberately does not say.

      Parameters

      • text: string
      • OptionalextraPatterns: RegExp[]

      Returns SecretBlindResult