KYC/AML checks, cross-document consistency, fraud rule evaluation (identity, loan, transaction, cross-cutting), credit risk indicators and detection rules; returns one raw JSON with analysis context, findings, consistency, credit risk, detection rules and methodology.
Accelerator/sample — risk indicators and rule checks only. Does not replace fraud operations, regulatory reporting or investigations.
Key Features:
Test this Agent in the app Banking AI Agents Showcase.
Security & Prompt Update
Security fix — Provenance-based document trust hierarchy (Jira ticket RPM-7030)
This release addresses an indirect prompt injection vulnerability where fabricated documents submitted as part of the applicant's package could improperly lower risk findings and severity levels.
The agent now classifies every document into one of three provenance classes before analysis:
Key security rules introduced:
⚠️ Important — Grounding data trust boundary
The provenance hierarchy relies on grounding data to elevate a document from the default Applicant_Assertion class to Institution_Verified. This means the grounding data itself must come from a trusted, system-controlled source — for example, fetched server-side from a database or internal service by the consumer application before calling the agent.
Grounding data must NOT arrive in the same untrusted API request as the documents being analysed. If an external caller can supply both the documents and the grounding data, they can mark their own fabricated documents as Institution_Verified, bypassing the entire trust hierarchy. The consumer application is responsible for enforcing this boundary.
Performance — 42% prompt size reduction
The prompt was rewritten from ~39K to ~22.5K characters using tabularised rule catalogs, deduplicated provenance references, and compact JSON schemas. All 30 operational rules (KYC-01‥06, LOAN-01‥10, TXN-01‥09, CROSS-01‥05) and all security guardrails are preserved.
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause).