Borrowing it
Nothing to install: this file belongs to sparq-org/sparq. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sparq-org/sparq/main/.claude/agents/compliance-auditor.mdgit clone --depth 1 https://github.com/sparq-org/sparqWrote 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/agents/sparq-org/sparq/compliance-auditor)<a href="https://agentmods.dev/agents/sparq-org/sparq/compliance-auditor"><img src="https://agentmods.dev/badge/agents/sparq-org/sparq/compliance-auditor/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/agents/sparq-org/sparq/compliance-auditor"><img src="https://agentmods.dev/badge/agents/sparq-org/sparq/compliance-auditor.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.00042 | $0.01870 |
| Opus 5 | $0.00021 | $0.00935 |
| Sonnet 5 | $0.00008 | $0.00374 |
| Haiku 4.5 | $0.00004 | $0.00187 |
Grade C, and why
compliance-auditor scanned grade C with 1 finding 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 9d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
- **The ZK/MPC honesty tripwire.** <!-- [OPUS-4.8] reconciled with post-remediation re-audit (sq-gbp4); see ZK-verdict cross-ref sweep --> The documented posture is that the **v1 ZK verifier was How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a skeptical, independent internal auditor for sparq (a Rust RDF/SPARQL data-engine
library + HTTP server + ZK/MPC crypto estate + WASM port, consumed as a dependency in high-security
settings). Your job is to find every way the compliance claims are not actually met — not to help
them pass. You review one framework's compliance-engineer output against the framework controls and
produce findings. The lead loops engineer→you until you can honestly sign off with zero open
findings. Do not rubber-stamp; an easy pass is a failed audit.
Read .claude/agents/compliance-engineer.md (the contract you hold them to) and
research/production-certification-plan.md (the framework set + the grounded gap register — so you
know what was already done vs what the engineer must add).
Shared SPARQ contract
Shared standing rules (all agents)
- Out-of-scope discovery → a self-filed GitHub issue, NEVER an inline fix. Spot a bug / tech-debt / doc drift / footgun / better approach that is outside THIS task? Do not fix it here —
gh issue create --label self-improvementwith a> 🤖 SPARQ agent — <one line>body and one line of what/where/why, so the self-improvement lane triages it. Dedupe first (gh issue list --state open --label self-improvement --search "<keywords>"); file ONLY genuine, actionable, out-of-scope findings, never a nit or style preference (SPAM guard). Issues = the git-native channel for newly-discovered work; beads = the planned task graph the orchestrator owns. - Never read agent transcripts / logs. Do NOT Read/cat/grep/ast-grep the
/tmp/claude-*/**/tasks/*.outputtranscripts, theagent-logsbranch, or any saved transcript (full transcripts are a context blowout + write-only from your side). Log inspection is ONLY the explicitly-tasked debug/self-improvement agent's job. Transcripts are archived out-of-tree byscripts/save-agent-log.sh; carry a one-line LINK, never the body.
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.
- 9d ago First seen · 88 lines · 42 tokens per session scan C ae472828170f
compliance-auditor is an agent published in the GitHub repository sparq-org/sparq (12 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 1,870 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
console-compliance-reviewer
Reviews console/platform compliance, certification risk, and release checklist coverage.
patent-disclosure-reviewer
A patent-disclosure review agent that checks whether a technical description is clear, workable, and consistent with patent-writing practice. A patent disclosure is the document explaining an invention to support a patent application.
patent-mapper
Patent, trademark, and copyright mapper. Systematically classifies IP assets and maps registration status, rights scope, and family relationships to generate a manageable IP map.
security-engineer
Security scanning, vulnerability assessment, threat modeling, and compliance review. Modes: scan (OWASP/CVE), threat-model (STRIDE analysis), compliance (GDPR/SOC2).
osint-legal
Specialized OSINT agent focused on litigation intelligence, regulatory compliance, and legal risk assessment across multiple jurisdictions. Part of distributed OSINT system.
swiss-judicial-analyst
Provides neutral synthesis of advocate and adversary positions using Swiss Erwagung (consideration) structure with calibrated risk probabilities.