danger-guard@1.2.0
CAUTION· install onlyPublisher claims: "拦截危险命令,防止账号被盗后执行破坏性操作" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- 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 (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-10 and scored it 68/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: Destructive file system command detected; Pipe-to-shell pattern; Destructive command against a filesystem root or device. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
- `rm -rf /Users`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(curl * | sh*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(rm -rf /**)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(wget * | bash*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `rm -rf / --no-preserve-root`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `rm -rf /*`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `mkfs.xfs /dev/sda`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `rm -rf /*`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.拦截危险命令执行,要求 sudo 密码确认,发送飞书/邮件告警。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `mkfs.ext4 /dev/sda1`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(wget * | sh*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.This skill intentionally collects sudo password hashes for dangerous commandFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `rm -rf /`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(curl * | bash*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `rm -rf /home`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `sudo /bin/bash`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `rm -rf / --no-preserve-root`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(rm -rf /*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.命令: rm -rf /Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.8. 执行来自网络的脚本(curl | sh)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(kill -9 -1*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `sudo su -`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `curl ... | sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(sudo su*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(curl * | sudo sh*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.8. 执行来自网络的脚本(curl | sh)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(chmod -R 000 /*)",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- `chown -R root:root /`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."Bash(sudo /bin/bash*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(curl * | sh*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `kill -9 -1` (杀死所有进程)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `curl http://... | sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `chown -R nobody /`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- `curl | sh`, `curl | bash`, `wget | sh`, `wget | bash`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `chmod -R 777 /`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."Bash(curl * | bash*)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- NEVER pipe network content to shell (`curl | sh`, `wget | bash`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(curl * | sudo sh*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `rm -rf /`, `rm -rf /*`, `rm -rf ~`, `rm -rf /Users`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `curl http://... | bash`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `curl http://... | sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `curl http://... | sudo sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `wget http://... -O- | sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(del /s /q*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `chmod -R 777 /`, `chown -R root:root /`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- `curl http://... | bash`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- 遇到 `rm`、`format`、`dd`、`mkfs`、`chmod -R`、`git push --force`、`docker prune` 等危险命令时,**立即触发 danger-guard 拦截流程**Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- NEVER execute destructive filesystem commands: `rm -rf`, `format`, `dd`, `mkfs`, `chmod -R 777`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# 2. chmod +x .git/hooks/pre-pushFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- NEVER pipe network content to shell (`curl | sh`, `wget | bash`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `chmod -R 000 /`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- `curl | sh`, `curl | bash`, `wget | sh`, `wget | bash`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Bash(chown -R root*)",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- `rm -rf /`, `rm -rf /*`, `rm -rf ~`, `rm -rf /Users`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(rm -rf /**)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(rm -rf /*)",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- `wget http://... | sh`Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `sudo -i`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."Bash(chmod -R 777 /*)",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
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
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Destructive command against a filesystem root or device≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim thomaszhou22: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Remote installer piped to shell≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.