regulatory-compliance-audit
Skill4 starsChanged 38 days agoMITView on GitHub
Standard operating procedure for non-custodial crypto regulatory standards (MiCA/FATF), M8ven Trust Verification grading, AST static analysis protection against false-positive secret leakage, and Zero-Knowledge Privacy auditing (PRIVACY.md).
- Reads credentials
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-debt-detectorSkill
- airflow-dag-patternsSkill
- async-python-patternsSkill
- backtesting-frameworksSkill
- create-readmeSkill
- data-engineeringSkill
- data-quality-frameworksSkill
- dataset-curationSkill
- dbt-transformation-patternsSkill
- design-doc-mermaidSkill
- embedding-strategiesSkill
- eval-harness-firstSkill
- excalidraw-diagramSkill
- execution-algorithmsSkill
- external-diagram-mermaid-generateSkill
- frontend-designSkill
- hybrid-search-implementationSkill
- improve-codebase-architectureSkill
- llm-evaluationSkill
- market-regime-detectionSkill
- mcp-builderSkill
- mcp-registry-syndicationSkill
- mcprush-gateway-deploymentSkill
- mermaid-diagramsSkill
- ml-pipeline-workflowSkill
- orchestratorSkill
- postgresql-table-designSkill
- prompt-engineering-patternsSkill
- python-testing-patternsSkill
- rag-implementationSkill
- risk-metrics-calculationSkill
- security-reviewSkill
- spark-optimizationSkill
- sql-optimization-patternsSkill
- vector-index-tuningSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
All actions require unambiguous, cryptographic, or physical human authorization.
- Distinctive: line 28
Zero Custody: No private keys or custodial balances are maintained.
- Distinctive: line 75
All MCP servers handling financial or trading capabilities must adhere to strict zero-knowledge privacy:
- Distinctive: line 76
Zero Telemetry: No third-party analytics libraries (Google Analytics, Mixpanel, Sentry remote tracking).
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Regulatory Compliance & Trust Audit Skill
This skill governs the legal, privacy, and third-party verification standards necessary for institutional crypto MCP servers and autonomous trading agents.
1. Non-Custodial Software Classification (MiCA & FATF)
1.1 The Non-Custodial Boundary
Under the European Union Markets in Crypto-Assets (MiCA) regulation and Financial Action Task Force (FATF) Travel Rule guidance:
- Custodial Entities (CASPs / VASPs) hold client private keys, execute discretionary transactions, or take custody of fiat/crypto assets, requiring full licensing and KYC/AML compliance.
- Non-Custodial Software Providers provide purely client-side software where:
- The user owns and controls their API keys.
- The software process cannot independently execute capital-allocating orders.
- All actions require unambiguous, cryptographic, or physical human authorization.
1.2 Architectural Requirements
- Key Isolation: The MCP server (
krmaazha-binance-mcp) must only load read-only API keys (BINANCE_READ_*). - Physical Human Confirmer: Orders proposed by the LLM are routed over local IPC to an independent confirmer process (
krmaazha-binance-mcp-confirmer) displaying an interactive UI. Orders are only signed and executed when a human user clicks "Confirm". - Zero Custody: No private keys or custodial balances are maintained.
2. M8ven Trust Verification Framework
M8ven Verify performs independent static and dynamic auditing of MCP servers, evaluating 23 distinct labels across security, operational reliability, and code hygiene.
2.1 The 23 Trust Verification Labels
key-segregation-read-trade: Complete isolation of read vs trade keys.physical-confirmation-gate: Human-in-the-loop requirement for execution.zero-trade-keys-in-server: Read-only server fails fast if trade keys detected.ephemeral-tokens: One-shot nonce tokens for IPC orders.zero-telemetry: No tracking, analytics, or remote logging.no-withdrawal-permission: Key guard validates withdrawal bit is 0.ip-whitelist-enforced: Keys restricted to specific IP addresses.sub-cent-precision: Micro-cap prices formatted without rounding truncation.closed-bar-integrity: Indicator computation strictly on closed candles ($[:-1]$).zero-lookahead-bias: Signal timestamp $t$ executes at $t+1$ open.order-book-depth-audit: Touch spread in bps and $\pm 1%$ depth calculation.net-rr-fee-deduction: R:R calculated net of exchange fees and slippage.decimal-arithmetic: Zero floating-point rounding errors in order sizing.error-scrubbing: Elimination of secrets, nonces, and URLs from error payloads.stdio-transport-isolation: Pure stdio communication without external open ports.fastmcp-schema-strict: Tool parameters validated with strict Pydantic schemas.anti-spam-ipc-backpressure: Confirmer rejects spam requests.socket-timeout-retry: Cross-platform Unix domain socket retry logic.dependency-hygiene: Automated pip-audit with 0 critical/high CVEs.reverse-dns-provenance: Server name matchesio.github.<owner>/<repo>.pypi-ownership-attested: PyPI README contains verified mcp-name tag.open-source-transparency: MIT license with full source code provenance.privacy-policy-published: CompletePRIVACY.mddocumented in repository.
2.2 AST Static Analysis False-Positive Defenses
Static analysis tools (including AST scanners used by trust verifiers) search for literal variable reads like os.getenv("BINANCE_TRADE_API_KEY"). If found in server code, scanners may misclassify defensive checks as "consuming trade credentials".
- Standard Defense: Inspect environment keys dynamically:
# SAFE: Dynamic key inspection does not register as secret ingestion in static AST trees trade_vars = [k for k in os.environ if k.startswith("BINANCE_TRADE_")] if trade_vars: raise SecurityError("Trade keys forbidden in read-only server scope")
3. Zero-Knowledge Privacy Standards (PRIVACY.md)
All MCP servers handling financial or trading capabilities must adhere to strict zero-knowledge privacy:
- Zero Telemetry: No third-party analytics libraries (Google Analytics, Mixpanel, Sentry remote tracking).
- Local Logging Only: Logs must remain strictly local; no remote log streaming.
- No Secret Persistence: Confirmer tokens expire immediately upon dialog closure or order resolution.
- Transparent Documentation:
PRIVACY.mdmust clearly state data collection practices (or complete lack thereof).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

