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

    Function validatePromptInjection

    • Prompt-injection validation, as an adapter over the one matcher (P5.1).

      The 7-regex table this file owned is gone; the ValidationResult shape its callers depend on is not. Severity now comes from the table rather than from a hardcoded list of "types that count as critical" kept in step by hand — which is the class of drift four separate tables produced in the first place.

      Parameters

      • text: string

      Returns ShieldValidationResult