Back to skill

Security audit

PECMD Pro Max

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report serious risks in example scripts, including a disk repartitioning action and attacker-controlled input reaching executable GUI syntax; some bundled files were only partly analyzed.

Consider avoiding installation until the disk-repartitioning and command-construction examples, and the bundled executable files, have been independently reviewed. If you do install, avoid running the examples on systems or disks containing data you need, and treat the scan as incomplete because some files and expressions were only partly analyzed.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
examples/net/wifi.wcs
Finding

Attacker-controlled Wi-Fi names enter executable GUI event syntax

Content
View full analysis

Impact

Comma-containing SSIDs can introduce the LABE event-field delimiter before the intended callback and supply a different command. The project documents LABE's fourth argument as a command executed on click. This permits attacker-selected PECMD actions, including EXEC, with the interpreter's privileges. The supported path requires clicking the generated label; automatic execution merely from scanning is not claimed.

T09 · Insecure Skill Coding Practices

Error
Location
examples/storage/make-3part.wcs
Finding

Loading the example immediately repartitions hard-coded physical disk 5

Content
View full analysis

Impact

Existing partitions on physical disk 5 can be destroyed and replaced, with additional filesystem formatting and resulting data loss. The disk-existence and size checks do not establish that the disk is an authorized disposable target.

Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (48)

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
85% confidence
Finding

Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.

Content

Scanner excerpt · LICENSE (reported line 9)May include surrounding context.

text
This skill is free, open source, and unrestricted.
Use it, modify it, ship products with it.
No attribution required. No restrictions apply.

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
85% confidence
Finding

Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.

Content

Scanner excerpt · README.en.md (reported line 93)May include surrounding context.

md
## License

**NonCopyRight** — this skill is free, open source, and unrestricted. Use it, modify it, ship products with it. No attribution required. No restrictions apply.

---

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 9)May include surrounding context.

md
references/how-tos/storage.md、references/how-tos/system.md、references/how-tos/gui.md、references/how-tos/net.md、

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 335)May include surrounding context.

md
GUI 写法示例(动态控件、选项卡页、自定义标题栏、GDI 绘图、拖放等)——参见 [how-tos/gui.md](references/how-tos/gui.md)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 622)May include surrounding context.

md
| `references/how-tos/gui.md` | GUI 模式:动态控件、选项卡、GDI、拖放等 |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 9)May include surrounding context.

md
references/how-tos/storage.md、references/how-tos/system.md、references/how-tos/gui.md、references/how-tos/net.md、

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 547)May include surrounding context.

md
)、[how-tos/system.md](references/how-tos/system.md)(进程/线程/定时器)、[how-tos/net.md](references/how-tos/net.md)(网络/COM)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 623)May include surrounding context.

md
| `references/how-tos/net.md` | 网络、SOCK、COM/WMI 写法示例 |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 9)May include surrounding context.

md
references/how-tos/storage.md、references/how-tos/system.md、references/how-tos/gui.md、references/how-tos/net.md、

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 547)May include surrounding context.

md
含错误处理和边界情况处理的完整展开版本,参见 [how-tos/storage.md](references/how-tos/storage.md)(磁盘/注册表/文件)、[how-tos/system.md](references/how-tos/system.md)(进程/线程/定时器)、[how-tos/net.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 620)May include surrounding context.

md
| `references/how-tos/storage.md` | 磁盘、分区、文件、注册表、设备 写法示例 |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 9)May include surrounding context.

md
references/how-tos/storage.md、references/how-tos/system.md、references/how-tos/gui.md、references/how-tos/net.md、

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 547)May include surrounding context.

md
w-tos/storage.md](references/how-tos/storage.md)(磁盘/注册表/文件)、[how-tos/system.md](references/how-tos/system.md)(进程/线程/定时器)、[how-tos/net.md](references/how-tos/net

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 621)May include surrounding context.

md
| `references/how-tos/system.md` | 进程、线程、定时器、系统信息、加密、工具 |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 10)May include surrounding context.

md
references/troubleshooting.md。内置 bin/(PECMD 1.88 解释器)与 examples/(43 个完整示例)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 624)May include surrounding context.

md
| `references/troubleshooting.md` | 常见错误排查、DLL 调用失败、变量引用问题 |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 32)May include surrounding context.

md
- 技能内置解释器:`bin/PECMD64.exe`(x64)、`bin/PECMD32.exe`(x86),均为 1.88.05.94 完整版;控制台 I/O 用 `bin/PECMD*-cli.exe`。本地验证不需要外部 SDK,见 `bin/README.md`。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 32)May include surrounding context.

md
- 技能内置解释器:`bin/PECMD64.exe`(x64)、`bin/PECMD32.exe`(x86),均为 1.88.05.94 完整版;控制台 I/O 用 `bin/PECMD*-cli.exe`。本地验证不需要外部 SDK,见 `bin/README.md`。

Concealed Executable Artifact

High
Category
Supply Chain
Confidence
100% confidence
Finding

Text-based checks covered the readable projection, but they cannot establish the behavior of the binary executable.

Content

No source excerpt is available for this finding.

YARA rule 'keylogger_indicators': Keylogger functionality in scripts or source code [malware]

High
Category
YARA Match
Confidence
70% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · bin/PECMD32-cli.exe (reported line 2242)May include surrounding context.

text
LoadStringW	AppendMenuW�wsprintfA�DestroyMenu�TrackPopupMenu^CreatePopupMenuGetCursorPosCCloseDesktop�SwitchDesktopySetThreadDesktop�OpenDesktopW7CharUpperW�OffsetRectyGetWindowTextLengthW1ScreenToClient�IsWindow�MsgWaitForMultipleObjects�ExitWindowsExRegisterDeviceNotificationW�keybd_event&GetKeyboardStateCallNextHookExPostQuitMessage�GetAsyncKeyState�SetWindowsHookExW�UnhookWindowsHookEx�InvalidateRect�DestroyIcon�LoadImageW�LoadBitmapW?SendMessageTimeoutW�EnumWindowsRegisterHotKey�UnregisterHotKey�ModifyMenuW9GetMenuStringW3GetMenuItemIDYGetSubMenu�EnumDisplaySettingsW!GetKeyStateCallWindowProcWRedrawWindow�FillRect�EndDialogGetDlgItemTextW[SetLayeredWindowAttributes�EndPaint
BeginPaintfSetParent�DialogBoxIndirectParamW�InsertMenuW+RemoveMenu�LoadMenuW�DefWindowProcW2GetMenuItemCount,GetMenu"ChangeDisplaySettingsExW�EnumDisplayDevices

YARA rule 'keylogger_indicators': Keylogger functionality in scripts or source code [malware]

High
Category
YARA Match
Confidence
70% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · bin/PECMD32.exe (reported line 2242)May include surrounding context.

text
LoadStringW	AppendMenuW�wsprintfA�DestroyMenu�TrackPopupMenu^CreatePopupMenuGetCursorPosCCloseDesktop�SwitchDesktopySetThreadDesktop�OpenDesktopW7CharUpperW�OffsetRectyGetWindowTextLengthW1ScreenToClient�IsWindow�MsgWaitForMultipleObjects�ExitWindowsExRegisterDeviceNotificationW�keybd_event&GetKeyboardStateCallNextHookExPostQuitMessage�GetAsyncKeyState�SetWindowsHookExW�UnhookWindowsHookEx�InvalidateRect�DestroyIcon�LoadImageW�LoadBitmapW?SendMessageTimeoutW�EnumWindowsRegisterHotKey�UnregisterHotKey�ModifyMenuW9GetMenuStringW3GetMenuItemIDYGetSubMenu�EnumDisplaySettingsW!GetKeyStateCallWindowProcWRedrawWindow�FillRect�EndDialogGetDlgItemTextW[SetLayeredWindowAttributes�EndPaint
BeginPaintfSetParent�DialogBoxIndirectParamW�InsertMenuW+RemoveMenu�LoadMenuW�DefWindowProcW2GetMenuItemCount,GetMenu"ChangeDisplaySettingsExW�EnumDisplayDevices

YARA rule 'keylogger_indicators': Keylogger functionality in scripts or source code [malware]

High
Category
YARA Match
Confidence
70% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · bin/PECMD64-cli.exe (reported line 3718)May include surrounding context.

text
ndowMessageW�LoadStringW
AppendMenuWwsprintfA�DestroyMenu�TrackPopupMenueCreatePopupMenuGetCursorPosHCloseDesktop�SwitchDesktop�SetThreadDesktopOpenDesktopWOffsetRect�GetWindowTextLengthWXScreenToClient�IsWindow
MsgWaitForMultipleObjects:CharUpperW>RegisterDeviceNotificationW
keybd_event8GetKeyboardStateCallNextHookEx$PostQuitMessageGetAsyncKeyState�SetWindowsHookExW�UnhookWindowsHookEx�DestroyIcon�LoadImageW�LoadBitmapWfSendMessageTimeoutW�EnumWindows�ExitWindowsExBRegisterHotKey�UnregisterHotKeyModifyMenuWKGetMenuStringWEGetMenuItemIDmGetSubMenu�EnumDisplaySettingsW3GetKeyStateCallWindowProcW6RedrawWindow�FillRect�EndDialog$GetDlgItemTextW�InvalidateRect�InsertMenuWRRemoveMenu�LoadMenuW�DefWindowProcWDGetMenuItemCount>GetMenu�SetLayeredWindowAttributes�GetWindowLongPtrW�EndPaintBeginPaint�SetParent�DialogBoxIndirectParamW$ChangeDisp

Concealed Executable Artifact

High
Category
Supply Chain
Confidence
100% confidence
Finding

Text-based checks covered the readable projection, but they cannot establish the behavior of the binary executable.

Content

No source excerpt is available for this finding.

Concealed Executable Artifact

High
Category
Supply Chain
Confidence
100% confidence
Finding

Text-based checks covered the readable projection, but they cannot establish the behavior of the binary executable.

Content

No source excerpt is available for this finding.

Concealed Executable Artifact

High
Category
Supply Chain
Confidence
100% confidence
Finding

Text-based checks covered the readable projection, but they cannot establish the behavior of the binary executable.

Content

No source excerpt is available for this finding.