permission-auditor
Analyze OpenClaw skill permissions and explain exactly what each permission allows. Identifies over-privileged skills and suggests minimal permission sets.
What this skill does
# 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
1. Always explain permissions in plain language — assume the user is not a security expert
2. Use concrete examples of what could go wrong, not abstract warnings
3. If a skill requests `network` or `shell`, always recommend extra scrutiny
4. Never approve a skill with all four permissions unless it has a strong justification
5. Suggest alternatives if a skill seems over-privileged
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.