Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dryvist/claude-code-pluginsnpx agentmods add agents/dryvist/claude-code-plugins/codeql-permissions-auditorWrote 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/dryvist/claude-code-plugins/codeql-permissions-auditor)<a href="https://agentmods.dev/agents/dryvist/claude-code-plugins/codeql-permissions-auditor"><img src="https://agentmods.dev/badge/agents/dryvist/claude-code-plugins/codeql-permissions-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/dryvist/claude-code-plugins/codeql-permissions-auditor"><img src="https://agentmods.dev/badge/agents/dryvist/claude-code-plugins/codeql-permissions-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.00048 | $0.01443 |
| Opus 5.5 | $0.00019 | $0.00577 |
| Sonnet 5.5 | $0.00010 | $0.00289 |
| Haiku 4.5 | $0.00005 | $0.00144 |
Grade A, and why
codeql-permissions-auditor scanned grade A 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 24d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
3. Script operations (curl, git commands) -> Usually `contents: read` How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeQL Permissions Auditor
Fix "Workflow does not contain permissions" CodeQL alerts by analyzing and adding explicit permission blocks to GitHub Actions jobs.
When to invoke
- Job without permissions. A CodeQL alert identifies a workflow job without an explicit permission block; inspect its steps and declare the minimum permissions.
- Reusable workflow caller. A request asks to resolve a permissions alert on a reusable workflow call; inspect the callee and apply its caller contract.
Input
{
"alerts": [
{
"number": 1,
"location": ".github/workflows/ci-gate.yml",
"line_number": 103,
"message": "Actions job or workflow does not limit the permissions..."
}
],
"batch_size": 5
}
Workflow per Alert
1. Parse Alert Context
- Extract workflow file path and approximate line number
- Open the file and identify the job that needs fixing
- Check if job calls reusable workflow (
uses: ./.github/workflows/...) or runs steps
2. Analyze Permission Requirements
For reusable workflow calls:
- Read the called workflow file (e.g.,
./.github/workflows/_cclint.yml) - Extract all jobs within and their permission blocks
- Union all permissions from nested jobs
- Apply caller contract rule: "Caller must declare permissions for all jobs in callee"
For regular step jobs:
- Scan steps for which actions/tools are used
- Map each to required permissions:
actions/checkout->contents: readpull-requestsoperations ->pull-requests: writeissuesoperations ->issues: writeartifactoperations ->actions: readorcontents: read- Custom actions -> Inspect action.yml for required permissions
3. Determine Minimum Permissions
Apply hierarchy:
- Explicit permissions in reusable workflow -> Required
- GitHub actions used in steps -> Required
- Script operations (curl, git commands) -> Usually
contents: read - No operations at all -> Empty
permissions: {}
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.
- 24d ago Changed · +12 lines · +36 tokens per session 8a602ffef40b
- 1mo ago Changed · -1 lines 7c7e1c3c0694
- 2mo ago Changed · +1 lines b38987446fae
- 3mo ago First seen · 202 lines · 12 tokens per session scan A 756518f6d538
codeql-permissions-auditor is an agent published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed 15d ago), licensed Apache-2.0. It adds 48 tokens to every session and 1,443 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
codeql-permissions-auditor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codeql-permissions-auditordryvist/claude-code-plugins | Agent | 3 | 15d ago | Apache-2.0 | A | 48 | Claude Code |
| monetization-experttravisjneuman/.claude | Agent | 115 | today | MIT | A | 18 | Claude Code |
| security-reviewermyclaude-sh/myclaude-creator-engine | Agent | 25 | 7d ago | MIT | A | 33 | Claude Code |
| perf-theory-testercomposio-community/awesome-claude-plugins | Agent | 2.0k | 27d ago | none | A | 22 | Claude Code |
| qa-testerDevZonayed/Mochi | Agent | 3 | 28d ago | MIT | A | 60 | Claude Code |
| memory-keeperDiablorosso67/multi-ai-memory | Agent | 4 | 6mo ago | MIT | A | 116 | Claude Code |
| agent-organizerqdhenry/Claude-Command-Suite | Agent | 1.4k | 9mo ago | none | A | 66 | Claude Code |