FD poly-mal-scan
FWold 多语言(PHP/JS/Bash)恶意代码/webshell 扫描检测器: 用法、MCP 接入、规则库持续更新、运行依赖。扫描文件/代码、挂载/测试 detect_mcp_server MCP、新增调准特征码规则、排查误报漏报时启用。
FWold 多语言(PHP/JS/Bash)恶意代码/webshell 扫描检测器: 用法、MCP 接入、规则库持续更新、运行依赖。扫描文件/代码、挂载/测试 detectmcpserver MCP、新增调准特征码规则、排查误报漏报时启用。
As a process D 46/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 64
✓ No critical or high findings
Medium and low: 64
-
medium Dangerous commands
cmd-encoded-execbash_security/bash_ast_normalize.py:11Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)4. 管道解码执行: base64 -d x | bash / printf '\\x..' —— 解码后直接执行,绕过字符串匹配
code literalsecurity skill -
medium Dangerous commands
cmd-destructive-fsbash_security/bash_ast_normalize.py:14Destructive filesystem command (wipes root/home/drive) (string literal in code, not executed; documentation of a security skill)7. 持久化/破坏: crontab / systemctl / rm -rf / iptables -F
code literalsecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/bash_categories.json:26Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)"base64 -d | bash",
code literalsecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/bash_file_write.json:108Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)"危险内容特征": ["chmod u+s", "useradd -u 0", "iptables -F", "/dev/tcp/", "base64 -d | bash", "LD_PRELOAD"],
code literalsecurity skill -
medium Dangerous commands
cmd-destructive-fsbash_security/bash_malicious_commands.json:197Destructive filesystem command (wipes root/home/drive) (string literal in code, not executed; documentation of a security skill)"危险参数": [":|:&", ":(){ :|:& };:"],code literalsecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/bash_raw_traits.json:32Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)"base64 -d | bash",
code literalsecurity skill -
medium Dangerous commands
cmd-destructive-fsbash_security/bash_raw_traits.json:40Destructive filesystem command (wipes root/home/drive) (string literal in code, not executed; documentation of a security skill)":(){ :|:& };:",code literalsecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/bash_raw_traits.json:117Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)"base64 -d | bash",
code literalsecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/bash_raw_traits.json:118Executes a base64/encoded payload (string literal in code, not executed; documentation of a security skill)"base64 -d | sh",
code literalsecurity skill -
medium Exfiltration
exfil-post-credential-filebash_security/特征码来源.md:98Uploads a credential/secret file to a remote endpoint (documentation table row; documentation of a security skill)| 网络外带/SSRF | plain | `curl -X POST -d @/etc/shadow` | 外带 shadow 文件 | 常见 exfil 样本 |
tablesecurity skill -
medium Exfiltration
exfil-post-credential-filebash_security/特征码来源.md:129Uploads a credential/secret file to a remote endpoint (documentation table row; documentation of a security skill)| `53.sh`–`60.sh` | 代码解密/混淆还原 + 网络外带 | `base64 -d | bash` / `rev |` / `curl -X POST -d @/etc/shadow` |
tablesecurity skill -
medium Dangerous commands
cmd-encoded-execbash_security/特征码来源.md:129Executes a base64/encoded payload (documentation table row; documentation of a security skill)| `53.sh`–`60.sh` | 代码解密/混淆还原 + 网络外带 | `base64 -d | bash` / `rev |` / `curl -X POST -d @/etc/shadow` |
tablesecurity skill -
medium Dangerous commands
cmd-encoded-execjs_security/特征码来源.md:63Executes a base64/encoded payload (documentation table row; documentation of a security skill)| 代码/命令执行 | plain | `eval(atob(` | base64 解码后 eval(混淆执行) |
tablesecurity skill -
low Dangerous commands
cmd-disable-securitybash_security/bash_ast_normalize.py:14Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (string literal in code, not executed; documentation of a security skill)7. 持久化/破坏: crontab / systemctl / rm -rf / iptables -F
code literalsecurity skill -
low Dangerous commands
cmd-disable-securitybash_security/bash_categories.json:20Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (string literal in code, not executed; documentation of a security skill)"iptables -F",
code literalsecurity skill -
low Dangerous commands
cmd-destructive-fs-scopedbash_security/bash_categories.json:22Destructive command on a partition / current directory (normal in admin docs; verify the target) (string literal in code, not executed; documentation of a security skill)"dd if=/dev/urandom of=/dev/sda",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_categories.json:27Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"curl | bash",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_categories.json:28Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"wget | sh",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_categories.json:49Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)"/etc/crontab",
code literalsecurity skill -
low Dangerous commands
cmd-shell-rcbash_security/bash_categories.json:94Writes to a shell startup file (string literal in code, not executed; documentation of a security skill)">> ~/.bashrc",
code literalsecurity skill -
low Dangerous commands
cmd-cron-mentionbash_security/bash_categories.json:95Mentions editing / listing crontab (string literal in code, not executed; documentation of a security skill)"crontab -e",
code literalsecurity skill -
low Dangerous commands
cmd-background-processbash_security/bash_categories.json:96Starts a background / autostarted process (string literal in code, not executed; documentation of a security skill)"systemctl enable",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_categories.json:98Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)"@reboot"
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_file_write.json:26Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)"目标路径特征": ["/etc/crontab", "/etc/cron.", "/var/spool/cron", "/etc/cron.d/", "crontab -e", "/var/spool/cron/crontabs"],
code literalsecurity skill -
low Dangerous commands
cmd-cron-mentionbash_security/bash_file_write.json:26Mentions editing / listing crontab (string literal in code, not executed; documentation of a security skill)"目标路径特征": ["/etc/crontab", "/etc/cron.", "/var/spool/cron", "/etc/cron.d/", "crontab -e", "/var/spool/cron/crontabs"],
code literalsecurity skill -
low Dangerous commands
cmd-disable-securitybash_security/bash_file_write.json:108Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (string literal in code, not executed; documentation of a security skill)"危险内容特征": ["chmod u+s", "useradd -u 0", "iptables -F", "/dev/tcp/", "base64 -d | bash", "LD_PRELOAD"],
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_malicious_commands.json:124Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"名称": "网络下载后直接执行(curl|sh)",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_malicious_commands.json:127Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"危险参数": ["| bash", "| sh", "|/bin/bash", "| /bin/sh", "curl -s | sh", "curl -s | bash"],
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_malicious_commands.json:134Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"名称": "网络下载后直接执行(wget|sh)",
code literalsecurity skill -
low Dangerous commands
cmd-disable-securitybash_security/bash_raw_traits.json:26Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (string literal in code, not executed; documentation of a security skill)"iptables -F",
code literalsecurity skill -
low Dangerous commands
cmd-destructive-fs-scopedbash_security/bash_raw_traits.json:28Destructive command on a partition / current directory (normal in admin docs; verify the target) (string literal in code, not executed; documentation of a security skill)"dd if=/dev/urandom of=/dev/sda",
code literalsecurity skill -
low Dangerous commands
cmd-destructive-fs-scopedbash_security/bash_raw_traits.json:29Destructive command on a partition / current directory (normal in admin docs; verify the target) (string literal in code, not executed; documentation of a security skill)"mkfs.ext4 /dev/",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_raw_traits.json:33Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"curl | bash",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellbash_security/bash_raw_traits.json:34Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"wget | sh",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_raw_traits.json:72Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)">> /etc/crontab",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_raw_traits.json:73Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)"/etc/cron.d/",
code literalsecurity skill -
low Dangerous commands
cmd-shell-rcbash_security/bash_raw_traits.json:74Writes to a shell startup file (string literal in code, not executed; documentation of a security skill)">> ~/.bashrc",
code literalsecurity skill -
low Dangerous commands
cmd-shell-rcbash_security/bash_raw_traits.json:147Writes to a shell startup file (string literal in code, not executed; documentation of a security skill)">> ~/.bashrc",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_raw_traits.json:148Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)">> /etc/crontab",
code literalsecurity skill -
low Dangerous commands
cmd-cron-mentionbash_security/bash_raw_traits.json:149Mentions editing / listing crontab (string literal in code, not executed; documentation of a security skill)"crontab -e",
code literalsecurity skill -
low Dangerous commands
cmd-background-processbash_security/bash_raw_traits.json:150Starts a background / autostarted process (string literal in code, not executed; documentation of a security skill)"systemctl enable malicious",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/bash_raw_traits.json:152Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed; documentation of a security skill)"@reboot",
code literalsecurity skill -
low Dangerous commands
cmd-persistencebash_security/特征码来源.md:99Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation table row; documentation of a security skill)| 权限维持/常驻 | plain | `@reboot` / `>> /etc/profile.d/` | 定时/全局持久化 | ATT&CK T1053/T1037 |
tablesecurity skill -
low Exfiltration
exfil-read-secret-filesbash_security/特征码来源.md:129Reads credential / secret files (documentation table row; documentation of a security skill)| `53.sh`–`60.sh` | 代码解密/混淆还原 + 网络外带 | `base64 -d | bash` / `rev |` / `curl -X POST -d @/etc/shadow` |
tablesecurity skill -
low Risky intent
intent-offensive-securityjs_security/特征码来源.md:29Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- **说明**:`nodejs/shell.js` 是典型的 Node.js 反弹 shell(reverse shell)样本:
-
low Dangerous commands
cmd-eval-dynamicjs_security/特征码来源.md:63Dynamic code execution from decoded/untrusted input (documentation table row; documentation of a security skill)| 代码/命令执行 | plain | `eval(atob(` | base64 解码后 eval(混淆执行) |
tablesecurity skill
A further 18 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 53. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 46/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (bash, web, python) that frontmatter does not declare
- 100Steps. 27 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1757 tokens
- 100Running it twice. No mutating operations
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +3Description length 122: enough signal without eating the budget
- +4Structure: 11 headings
- +3Step-by-step instructions: 27 items
- +4Has examples (4 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 72.