permission-auditor
Skill72 starsChanged 10 months agoMITView on GitHub
Analyze OpenClaw skill permissions and explain exactly what each permission allows. Identifies over-privileged
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- timdevai/proteustheir own version, first seen Jun 10, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- timdevai/proteus★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- config-hardenerSkill
- credential-scannerSkill
- dependency-auditorSkill
- incident-responderSkill
- network-watcherSkill
- output-sanitizerSkill
- prompt-guardSkill
- sandbox-guardSkill
- setup-auditorSkill
- skill-auditorSkill
- skill-guardSkill
- skill-vetterSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Mitigation: Check which file paths the skill actually accesses.
- Distinctive: line 45
Mitigation: Verify the skill writes only to expected project directories.
- Distinctive: line 61
When the user provides a skill's permissions, follow this process:
- Distinctive: line 109
Always explain permissions in plain language — assume the user is not a security expert
- Distinctive: line 110
Use concrete examples of what could go wrong, not abstract warnings
- Very specific: line 111
If a skill requests network or shell, always recommend extra scrutiny
- Distinctive: line 112
Never approve a skill with all four permissions unless it has a strong justification
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
When the user provides a skill's permissions, follow this process:
1. List Requested Permissions
PERMISSION AUDIT
================
Skill: <name>
fileRead: [YES/NO]
fileWrite: [YES/NO]
network: [YES/NO]
shell: [YES/NO]2. Evaluate Necessity
For each granted permission, answer:
- Why does this skill need it? (based on its description)
- Is this the minimum required? (could it work with fewer permissions?)
- What is the worst case? (if the skill is malicious, what could it do?)
3. Identify Dangerous Combinations
| Combination | Risk | Reason |
| network + fileRead | CRITICAL | Can read and exfiltrate any file |
| network + shell | CRITICAL | Can execute commands and send output externally |
| shell + fileWrite | HIGH | Can modify system files and persist |
| fileRead + fileWrite | MEDIUM | Can read secrets and write backdoors |
| fileRead only | LOW | Read-only, minimal risk |
4. Suggest Minimum Permissions
Based on the skill's description, recommend the minimal permission set:
RECOMMENDATION
==============
Current: fileRead + fileWrite + network + shell
Minimal: fileRead + fileWrite
Reason: This skill generates tests from source code.
It needs to read source and write test files.
Network and shell access are not justified.Rules
- Always explain permissions in plain language — assume the user is not a security expert
- Use concrete examples of what could go wrong, not abstract warnings
- If a skill requests
networkorshell, always recommend extra scrutiny - Never approve a skill with all four permissions unless it has a strong justification
- Suggest alternatives if a skill seems over-privileged
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

