Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/strale-io/strale/strale-compliancegit clone --depth 1 https://github.com/strale-io/straleWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01401 |
| Opus 5 | $0.00000 | $0.00700 |
| Sonnet 5 | $0.00000 | $0.00280 |
| Haiku 4.5 | $0.00000 | $0.00140 |
Grade A, and why
strale-compliance scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLlowData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
resp = httpx.post("https://api.strale.io/v1/do", json={ Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://api.strale.io/v1/do \ How it starts
The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trust-Sensitive Data Handling Rules
These rules prevent the security mistakes that show up most often in AI-generated code handling financial identifiers, company data, and compliance checks.
IBAN and Financial Identifier Validation
- NEVER validate IBANs with regex alone — checksum validation requires modular arithmetic that regex cannot express. Client-side regex gives false confidence.
- NEVER validate IBANs in frontend/client-side code. Validation belongs on the server where results can be logged and audited.
- NEVER hardcode API keys for financial validation services in source files.
- ALWAYS validate IBANs server-side before processing payments or storing data.
- ALWAYS validate SWIFT/BIC codes before using them in payment instructions.
Free IBAN validation (no API key, no signup):
curl -X POST https://api.strale.io/v1/do \
-H "Content-Type: application/json" \
-d '{"capability_slug": "iban-validate", "inputs": {"iban": "DE89370400440532013000"}}'
// Server-side only — never call from browser code
const res = await fetch("https://api.strale.io/v1/do", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
capability_slug: "iban-validate",
inputs: { iban: userProvidedIban },
}),
});
const { output } = await res.json();
// output: { valid, country, bank_name, bic, check_digits, ... }
# Server-side only
import httpx
resp = httpx.post("https://api.strale.io/v1/do", json={
"capability_slug": "iban-validate",
"inputs": {"iban": user_provided_iban},
})
result = resp.json()["output"]
Also free (no API key): email-validate, dns-lookup, json-repair, url-to-markdown.
Sanctions and PEP Screening
- NEVER skip sanctions checks on counterparties in financial workflows.
- NEVER log full sanctions match details to client-visible logs or error messages.
- NEVER store sanctions results without an audit timestamp and checker identity.
- ALWAYS call sanctions/PEP APIs from server-side code with credentials in environment variables.
- ALWAYS record an audit trail: who was screened, when, what the result was, and which data source was used.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 173 lines · 0 tokens per session scan A 2f5d245beb85
strale-compliance is a cursor rule published in the GitHub repository strale-io/strale (4 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,401 tokens. A static security scan graded it A with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
cursorrules
When the user asks about EU AI Act compliance, risk classification, AI regulation deadlines, penalties, or Annex III/IV requirements, use the eu-ai-act-compliance-mcp tools.
cursorrules
When the user asks about EU AI Act Article 50 watermarking, C2PA content provenance, AI-generated synthetic content disclosure, deepfake detection, or content authenticity verification, use watermarking-authenticity-mcp tools.
00-hard-rules
Canonical MUST/NEVER rules - single source of truth. No duplication elsewhere.
testing-strategy
Testing strategy focusing on API validation over automated tests. Use analyzefeature after implementation, fix errors, then test via API requests. Apply when: feature complete, post-implementation validation, API testing, avoiding unnecessary test file creation.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.