[Release feedback] LLM02: disclosing a compliance action (AML tipping-off) through assistant behaviour

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active

Research direction

The issue asks to add a regulated-disclosure example and related mitigations under LLM02 (Sensitive Information Disclosure) in the Top 10 document, and it cross-references issue #149 on payment-change verification. Read the LLM02 section and #149 first, then decide whether the scenario belongs in the examples or the mitigations. Done means a maintainer agrees on wording that is tied to the existing LLM02 tiers. Compliance-law review and maintainer judgment are needed, so this is not a good first contribution.

Written by the indexing model from the issue text.

Description

Feedback type

Example or attack scenario

Feedback

LLM02:2026 treats behaviour as a disclosure surface (timing, token length, confidence) and covers aggregation of permitted sources into a prohibited conclusion. One regulated case is not covered: the protected fact is that a compliance action exists, and the assistant can reveal it without emitting any protected data.

Most AML regimes make it an offence to tell a customer, or hint, that a suspicious-activity report has been filed or an investigation is under way ("tipping off"). In a regulated firm, a customer-facing assistant that knows an account is held can leak this in two ways:

  1. Content. Persistent questioning or injected instructions get the assistant to mention the hold, the report or the compliance team, despite a system-prompt rule.
  2. Behaviour. The assistant answers ordinary declines in specific terms ("daily limit reached") but turns vague or escalates only on held accounts. The difference itself tells the customer something is being looked at. No sensitive token is produced, so output filters do not catch it.

Proposed scenario (teaching example, not an observed incident): A bank's chat assistant can read account status flags so it can explain failed payments. An account carries an internal hold after a suspicious-activity report. The customer asks why a transfer failed, then asks whether "anyone is reviewing" the account. The system prompt forbids mentioning reports. The assistant complies on wording, but it gives this customer a different, evasive answer from the specific explanations every other customer gets.

Suggested mitigations (fit Tier 2, regulated):

  • Authorize before retrieval: do not put compliance flags in the customer-facing assistant's context. Give it one coarse state ("needs a colleague") that routine, non-sensitive escalations also use. The flag is then never in context to leak.
  • Make the held path indistinguishable from routine escalations in wording, routing and timing. Red-team it by comparing responses for held and non-held test accounts. If a reviewer or classifier can tell them apart, the channel leaks.
  • A model may apply an automatic interim hold pending prompt human review. It should not clear a hit, decide whether to file a report, or write the customer message about a hold. A compliance officer approves that wording.
  • Keep the flag out of customer-retrievable artefacts such as chat exports and data-subject access responses, subject to the exemptions the applicable law allows.

This sharpens in small financial centres, where a few institutions serve a population in which staff and customers often know each other, so a hint travels fast. It is separate from #149, which covers payment-change verification.

Supporting evidence
  • FATF Recommendation 21 (tipping-off and confidentiality).
  • UK Proceeds of Crime Act 2002, s.333A.
  • US 31 U.S.C. § 5318(g)(2) (SAR confidentiality).
  • EU Directive (EU) 2015/849, Article 39.
  • Cayman Islands Proceeds of Crime Act (2025 Revision), s.139(1).
  • LLM02:2026 Description, phase 4 (observation-time inference) and Tier 1 "authorize before retrieval", which this proposal applies to a non-content fact.

Disclosure: drafted with AI assistance, adapted from AI-governance guidance I maintain for firms in the Cayman Islands. No product, sales link or claim of OWASP endorsement.

Acknowledgments
  • I searched existing issues and discussions for this topic.
  • I agree to follow the OWASP Code of Conduct.
Dominant language
JavaScript
Stars
177
Forks
57
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/GenAI-LLM-Top10

All issues in GenAI-Security-Project/GenAI-LLM-Top10

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.