permission-auditor

permission-auditor is a skill for Claude Code, Codex from UseAI-pro/openclaw-skills-security. It costs 32 tokens per session (1,072 once invoked), scanned B, original, MIT.

A permissions review guide for OpenClaw skills. It explains what file reading, file writing, and network access allow and what risks they create.

In plain words
What is it for?
Use it to review a skill's requested access, understand security consequences, and suggest a minimal permission set.
Why use it?
It helps you spot add-ons asking for more access than their job requires and choose narrower permissions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to review a skill's requested access, understand security consequences, and suggest a minimal permission set.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/useai-pro/openclaw-skills-security/permission-auditor
Install

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.

Any agent
npx skills add UseAI-pro/openclaw-skills-security --skill permission-auditor
Clone the repo
git clone --depth 1 https://github.com/UseAI-pro/openclaw-skills-security

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for permission-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/useai-pro/openclaw-skills-security/permission-auditor/github.svg)](https://agentmods.dev/skills/useai-pro/openclaw-skills-security/permission-auditor)
Your own site
<a href="https://agentmods.dev/skills/useai-pro/openclaw-skills-security/permission-auditor"><img src="https://agentmods.dev/badge/skills/useai-pro/openclaw-skills-security/permission-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.

agentmods 80×15 button for permission-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/useai-pro/openclaw-skills-security/permission-auditor"><img src="https://agentmods.dev/badge/skills/useai-pro/openclaw-skills-security/permission-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 11 Mar 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01072
Opus 5 $0.00016 $0.00536
Sonnet 5 $0.00006 $0.00214
Haiku 4.5 $0.00003 $0.00107

Measured 12d ago against content hash b517333f9d4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

permission-auditor scanned grade B 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 12d 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.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

**Risk:** A malicious skill could read `~/.ssh/id_rsa`, `~/.aws/credentials`, `.env` files, or any sensitive data on disk.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/permission-auditor/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Permission Auditor

You are a permissions analyst for OpenClaw skills. Your job is to audit the permissions a skill requests and explain the security implications to the user.

OpenClaw Permission Model

OpenClaw skills can request four permission types:

fileRead

What it allows: Reading files from the user's filesystem. Legitimate use: Code analysis, documentation generation, test generation. Risk: A malicious skill could read ~/.ssh/id_rsa, ~/.aws/credentials, .env files, or any sensitive data on disk. Mitigation: Check which file paths the skill actually accesses. A code reviewer needs src/** — not ~/.

fileWrite

What it allows: Creating or modifying files on the user's filesystem. Legitimate use: Generating code, writing test files, updating configs. Risk: A malicious skill could overwrite .bashrc to inject persistence, modify node_modules to inject backdoors, or write files to startup directories. Mitigation: Verify the skill writes only to expected project directories. Flag any writes outside the current workspace.

network

What it allows: Making HTTP requests to external servers. Legitimate use: Fetching API schemas, downloading documentation, checking package versions. Risk: This is the primary exfiltration vector. A malicious skill can send your source code, credentials, or environment variables to an external server. Mitigation: Network access should be rare. If granted, the skill must declare exactly which domains it contacts and why.

shell

What it allows: Executing arbitrary shell commands on the user's system. Legitimate use: Running git log, npm test, build commands. Risk: Full system compromise. A skill with shell access can do anything: install malware, open reverse shells, modify system files, exfiltrate data. Mitigation: Shell access should be granted only to well-known, verified skills. Always review which commands the skill executes.

Audit Protocol

Read the full file on GitHub · 114 lines

Changes

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.

  1. 12d ago First seen · 114 lines · 32 tokens per session scan B b517333f9d4c

Subscribe to this mod's changes

permission-auditor is a skill published in the GitHub repository UseAI-pro/openclaw-skills-security (71 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 1,072 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

security-guide

A security deployment guide for OpenClaw, with instructions in English and Chinese. It covers network exposure, container isolation, credentials, permissions, and audit logging.

jnMetaCode/shellward · 23 tokens

clawmoat

Real-time AI agent security scanner. Detects prompt injection, jailbreak attempts, credential/secret leaks, PII exposure, and dangerous tool calls. Activate when: (1) scanning inbound messages or tool outputs for prompt injection, (2) checking outbound content for credential leaks or PII, (3) auditing agent session…

darfaz/clawmoat · 107 tokens

trent-openclaw-security

Assess your Agent deployment against security risks using Trent.

trnt-ai/trent-openclaw-security-assessment · 16 tokens

prompt-guard

600+ pattern AI agent security defense covering prompt injection, supply chain injection, memory poisoning, action gate bypass, unicode steganography, and cascade amplification. Optional API for early-access and premium patterns. Tiered loading, hash cache, 11 SHIELD categories, 10 languages.

seojoonkim/prompt-guard · 61 tokens

secureclaw

Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.

adversa-ai/secureclaw · 28 tokens

secureclaw

Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI…

adversa-ai/secureclaw · 95 tokens