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.
git clone --depth 1 https://github.com/strale-io/straleWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/strale-io/strale/strale-compliance)<a href="https://agentmods.dev/rules/strale-io/strale/strale-compliance"><img src="https://agentmods.dev/badge/rules/strale-io/strale/strale-compliance/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/strale-io/strale/strale-compliance"><img src="https://agentmods.dev/badge/rules/strale-io/strale/strale-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00000 | $0.01401 |
| Opus 5.5 | $0.00000 | $0.00560 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (5 stars, last pushed yesterday), 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
upgrade-tests
// ✅ CORRECT: Upgrade package pattern await using ctx = testReactResource(appRouter, { server: { // server configuration }, client(opts) { return { links: [ httpLink({ url: opts.httpUrl, // client configuration }), ], }; }, }).
test-running
When running tests, use the --watch false flag to avoid watch mode.
windsurfrules
Create detailed components with these requirements.
middleware
When you need create a middleware to protect some page of Next.js app.
test-strategy
Applied when implementing or modifying test code. Rules for creating test perspective tables (equivalence partitioning/boundary values), Given/When/Then format, and coverage targets.
prompt-injection-guard
Defense rules against prompt injection from external context (RAG/Web/files, etc.). Requires immediate stop for dangerous operations and mandatory confirmation.