Skills/ClawHub/fletcher-cyber-security-engineer

fletcher-cyber-security-engineer@0.2.1

CAUTION· install only

Publisher claims: "Least-privilege governance, port/egress monitoring, and ISO 27001/NIST compliance for OpenClaw" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher fletcherfrimpong · publishing for 0 daysInstalls 2,443Last detonated 28 min ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 17 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-21 and scored it 72/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sprocessexited 2: audit_logger.py: error: the following arguments are required: command
0.1sprocessbundled script run in the sandbox with no arguments
0.8sfilesystemread ~/.openclaw/openclaw.json · ~/.openclaw/service-env/ai.openclaw.gateway.env · ~/.openclaw/env · ~/Library/LaunchAgents/ai.openclaw.gateway.plist · ~/.openclaw/security/privileged-audit.jsonl · ~/.openclaw/security/violation-notify-state.json outside project
0.8sfilesystemwrote ~/.openclaw/logs/cyber-security-engineer-auto.log · ~/.openclaw/security/violation-notify-state.json
0.8sprocessexec /usr/bin/dirname
0.8sprocessexec /usr/bin/mkdir
0.8sprocessexec /app/apps/web/node_modules/.bin/cat
0.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/cat
0.8sprocessexec /app/node_modules/.bin/cat
0.8sprocessexec /pnpm/cat
0.8sprocessexec /usr/local/sbin/cat
0.8sprocessexec /usr/local/bin/cat
0.8sprocessexec /usr/sbin/cat
0.8sprocessexec /usr/bin/cat
0.8sprocessexec /opt/homebrew/bin/openclaw
0.8sprocessexec /usr/local/bin/openclaw
0.8sprocessexec /app/apps/web/node_modules/.bin/openclaw
0.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/openclaw
0.8sprocessexec /app/node_modules/.bin/openclaw
0.8sprocessexec /pnpm/openclaw
0.8sprocessexec /usr/local/sbin/openclaw
0.8sprocessexec /usr/sbin/openclaw
0.8sprocessexec /usr/bin/openclaw
0.8sprocessexec /sbin/openclaw
0.8sprocessexec /bin/openclaw
0.8sprocessexec /app/apps/web/node_modules/.bin/ps
0.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/ps
0.8sprocessexec /app/node_modules/.bin/ps
0.8sprocessexec /pnpm/ps
0.8sprocessexec /usr/local/sbin/ps
0.8sprocessexec /usr/local/bin/ps
0.8sprocessexec /usr/sbin/ps
0.8sprocessexec /usr/bin/ps
0.8sprocessexec /sbin/ps
0.8sprocessexec /bin/ps
0.8sprocessexited 1:
0.8sprocessbundled script run in the sandbox with no arguments
0.8sprocessbundled script run in the sandbox with no arguments
0.9sprocessexited 2: compliance_dashboard.py: error: the following arguments are required: command
0.9sprocessbundled script run in the sandbox with no arguments
1.0sprocessexited 1:
1.0sprocessbundled script run in the sandbox with no arguments
1.2sprocessexited 1: RuntimeError: {"status": "error", "error": "No supported port listing tool found (lsof/ss/netstat)"}
1.2sprocessbundled script run in the sandbox with no arguments
1.3sprocessexited 2: guarded_privileged_exec.py: error: the following arguments are required: --reason
1.3sprocessbundled script run in the sandbox with no arguments
1.3sprocessexited 1:
1.3sprocess8 of 17 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
1.3sprocessscript backend runs setup only
1.3sprocessscript backend runs setup only
1.3sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandSKILL.md:62 · Privileged sudo command — agent may execute with elevated privilegesThe script `scripts/install-openclaw-runtime-hook.sh` installs an **opt-in** sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:60 · Privileged sudo command — agent may execute with elevated privileges## Runtime Hook (sudo shim)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:70 · Privileged sudo command — agent may execute with elevated privileges- Runs the command as `sudo -k -- <command>`, so sudo asks for the password every timeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/guarded_privileged_exec.py:31 · Privileged sudo command — agent may execute with elevated privileges9 sudo binary failed validationFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-openclaw-runtime-hook.sh:87 · Privileged sudo command — agent may execute with elevated privilegeslog "Refusing to install shim: no root-owned sudo found in /usr/bin, /bin or /usr/local/bin."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/guarded_privileged_exec.py:67 · Privileged sudo command — agent may execute with elevated privileges# The only places sudo is looked for. Not configurable: a caller-supplied path couldFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/live_assessment.py:222 · Privileged sudo command — agent may execute with elevated privileges"""Whether OpenClaw finds the sudo shim before the real sudo.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-openclaw-runtime-hook.sh:77 · Privileged sudo command — agent may execute with elevated privileges# The real sudo is looked for in the system directories only. "command -v sudo"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/sudo-shim.template.sh:5 · Privileged sudo command — agent may execute with elevated privileges# Every sudo call that would run a command is handed to guarded_privileged_exec.py,Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandreferences/compliance-controls-map.json:96 · Privileged sudo command — agent may execute with elevated privileges"expected_state": "The gateway reaches sudo only through the approval guard."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:72 · Privileged sudo command — agent may execute with elevated privileges- Resolves bare command names (`sudo ls`) in the system directories only; sudo options such as `-u` are not supportedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/live_assessment.py:642 · Privileged sudo command — agent may execute with elevated privileges"Hook is installed, but OpenClaw does not put ~/.openclaw/bin before the real sudo on its PATH, so it is not used."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/live_assessment.py:454 · Privileged sudo command — agent may execute with elevated privileges"Approval guard works, but sudo is not routed through it (runtime hook not installed)."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/sudo-shim.template.sh:2 · Privileged sudo command — agent may execute with elevated privileges# sudo shim for OpenClaw, installed as ~/.openclaw/bin/sudo byFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/guarded_privileged_exec.py:13 · Privileged sudo command — agent may execute with elevated privileges- The sudo binary is one of a fixed list of system paths, never taken from theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/guarded_privileged_exec.py:8 · Privileged sudo command — agent may execute with elevated privileges- With --use-sudo, the command runs as "sudo -k -- command": sudo ignores any cachedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-openclaw-runtime-hook.sh:80 · Privileged sudo command — agent may execute with elevated privilegesfor candidate in /usr/bin/sudo /bin/sudo /usr/local/bin/sudo; doFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-openclaw-runtime-hook.sh:4 · Privileged sudo command — agent may execute with elevated privileges# Installs the sudo shim (sudo-shim.template.sh) at ~/.openclaw/bin/sudo, then, withFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandreferences/compliance-controls-map.json:104 · Privileged sudo command — agent may execute with elevated privileges"expected_state": "sudo and other escalation tools require a password, so they cannot be used unattended."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/live_assessment.py:259 · Privileged sudo command — agent may execute with elevated privileges"""True when sudo runs a command without asking for a password (cached credentials ignored)."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/live_assessment.py:458 · Privileged sudo command — agent may execute with elevated privileges"Approval guard refuses without a terminal and discards forged session state; sudo is routed through it."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandscripts/install-openclaw-runtime-hook.sh:108 · File permission modification command — agent changes file ownership/permissionschmod 700 "${OPENCLAW_DIR}" "${BIN_DIR}" || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/generate_approved_ports.py:62 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/port_monitor.py:71 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File type combined with upload actionSKILL.md:106 · File type combined with upload action — agent may exfiltrate local data files- `assessments/port-monitor-latest.json` — latest open-port scan outputFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedscripts/egress_monitor.py:114 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandscripts/sudo-shim.template.sh:22 · Privileged sudo command — agent may execute with elevated privileges# A single flag that asks sudo about itself, or drops cached credentials, runsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/sudo-shim.template.sh:17 · Privileged sudo command — agent may execute with elevated privileges# With no arguments sudo only prints its usage.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/live_assessment.py:263 · Python subprocess execution detectedproc = subprocess.run([REAL_SUDO, "-n", "-k", "true"], capture_output=True, text=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/port_monitor.py:79 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/port_monitor.py:51 · Python subprocess execution detectedproc = subprocess.run(["lsof", "+c", "0", "-nP"] + selector, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File type combined with upload actionSKILL.md:107 · File type combined with upload action — agent may exfiltrate local data files- `assessments/egress-monitor-latest.json` — latest outbound connection scan outputFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedscripts/notify_on_violation.py:204 · Python subprocess execution detectedp = subprocess.run(argv, check=False, input=message, text=True, timeout=5, env=safe_env)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/guarded_privileged_exec.py:269 · Python subprocess execution detectedresult = subprocess.run(exec_argv, env=SAFE_ENV_VARS)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/live_assessment.py:275 · Python subprocess execution detectedlisting = subprocess.run(["ps", "-axo", "user=,command="], capture_output=True, text=True).stdoutFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/guarded_privileged_exec.py:132 · Python subprocess execution detectedreturn subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/live_assessment.py:43 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, text=True, env=env, timeout=120)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandscripts/live_assessment.py:632 · File permission modification command — agent changes file ownership/permissions"chmod 700 ~/.openclaw; chmod 600 ~/.openclaw/openclaw.json",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionscripts/live_assessment.py:225 · File type combined with upload action — agent may exfiltrate local data files1. ``tools.exec.pathPrepend`` in openclaw.json, which OpenClaw puts first on theFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File permission modification commandscripts/install-openclaw-runtime-hook.sh:124 · File permission modification command — agent changes file ownership/permissionschmod 700 "${WRAPPER}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05

Cost to the agent

Instructions loaded
≈2,629 tok
1 file · 30 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

8 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.openclaw/service-env/ai.openclaw.gateway.env.
  2. Unclaimed publisher≈ +8 on the totalClaim fletcherfrimpong: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  6. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim fletcherfrimpongPropose a patch to the maintainer