EU AI Act Article 5(1)(f) gambling-vertical compliance audit MCP. Detects AI systems that exploit psychological vulnerabilities of players (loss-chasing, bonus manipulation, minor targeting, addiction mimicry).
Project description
meok-ai-psych-vuln-audit-mcp
EU AI Act Article 5(1)(f) gambling-vertical compliance audit MCP.
The first MCP that audits AI systems for the EU AI Act's prohibition on "the use of AI systems to exploit psychological vulnerabilities of specific groups (including children)" — as applied to the gambling vertical (online casinos, sportsbooks, lotteries).
Added to the prohibited list by the Digital Omnibus amendments in May 2026, Article 5(1)(f) bans AI that exploits known cognitive or psychological weaknesses. In the gambling vertical, this is exactly what bonus personalisation, loss-chasing detection bypass, and AI-driven push notifications do.
This MCP is the structured, auditable, cryptographically signed evidence layer: a regulator can take a signed audit report from this tool and verify it offline with no phone-home.
Installation
pip install meok-ai-psych-vuln-audit-mcp
Tools (4)
| Tool | Purpose |
|---|---|
audit_player_intervention(player_action) |
Audit a single AI-driven player intervention (push, bonus, pop-up) against the 12 gambling-AI risk patterns. |
scan_marketing_copy(copy, target_segment) |
Scan marketing copy targeting a player segment for FOMO, loss-framing, minor-targeting, and other Art 5(1)(f) triggers. |
classify_ai_system(ai_system) |
Classify an AI system's purpose + training data + decision points for Art 5(1)(f) risk class. |
generate_audit_report(operator_id, audit_period, interventions) |
Produce a regulator-ready, Ed25519-signed audit report over a list of AI interventions. |
All four tools return a JSON envelope:
{
"status": "PASS|REVIEW|FAIL",
"triggered_patterns": [...],
"severity_score": 0.0,
"recommendations": [...],
"signature": "<128 hex chars>"
}
The 12 Gambling-AI Risk Patterns
Each pattern is a structured entry in GAMBLING_RISK_PATTERNS with id,
name, severity, evidence_examples, mitigation_pattern, eu_ai_act_article_ref,
uk_lccp_ref, and a test_input that triggers it.
loss_chasing_detection_bypass— AI doesn't flag a player chasing lossesvulnerable_player_targeting— bonus offers to recently-deposited-but-losing playersminor_appearance_targeting— cartoon graphics + AI copy for under-25 demosaddiction_mimicry— variable-ratio reward timing in push notificationsfomo_generation— "5 others are playing now" with no provenancenear_miss_obfuscation— slot results framed as "almost won"deposit_limit_evasion— split UI to make limit-setting hardersession_extension_manipulation— popups during losing streaksage_verification_circumvention— accepting partial KYCself_exclusion_bypass— multi-account creation not flaggedai_chatbot_empathy_exploitation— chatbots bonding to extend sessionspersonalised_loss_framing— losses framed as "investments"
Cryptography
Ed25519 signed (via the cryptography library). The signature is over
canonicaljson.dumps(payload, sort_keys=True, separators=(",",":")).hexdigest()
and the canonical payload, output as 128 hex chars (64 bytes).
The demo private key is bundled for the test/demo flow. In production this is replaced with the meok-compliance-gateway KMS.
License
MIT — Copyright (c) 2026 MEOK AI Labs CSOAI LTD.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meok_ai_psych_vuln_audit_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: meok_ai_psych_vuln_audit_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db2f242fe883f23ac6c9a07e5ff3ce16382232563f5c2e934590a15138a8475
|
|
| MD5 |
5f65ab86d58d552a26f6b429cf9a4406
|
|
| BLAKE2b-256 |
61211aba33a1097958df57ca115bb1b806fc07c6b0b6c144910017ddc7789475
|