Skills/ClawHub/kpa-pegasus-setup

kpa-pegasus-setup@2.4.2

CAUTION· install only

Publisher claims: "KONKR Pocket ADVANCE(KPA,Android 12 / 960×640)掌机装天马 Pegasus + RetroArch/PPSSPP/EKA2L1(N-Gage):竖版方向、libretro 核心、BIOS/遮罩、封面与中文简介、主题与双屏、全库校验与可逆清理、按键修正、存档迁移。路径/按键码/旋转值均实机验证,脚本幂等。触发词:KPA、天马、Pegasus、RetroArch、PPSSPP、EKA2L1、N-Gage、掌机优化、方向键反了、核心装不上、封面或简介缺失、存档丢了、缓存清理、一键安装。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher lisong2003-lgtm · publishing for 38 daysInstalls 226Last detonated 17 min ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 22 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

What changed since 2.3.2

vet-skills diff kpa-pegasus-setup 2.3.2 2.4.2

In the sandbox, this version reached for nothing 2.3.2 did not. Compared from the two recorded runs, not from source.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

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-17 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: Destructive file system command detected; Destructive file system command detected; Destructive file system command detected. 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.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 1: ModuleNotFoundError: No module named 'PIL'
0.2sprocessbundled script run in the sandbox with no arguments
0.2sfilesystemread ~/WorkBuddy/ outside project
0.2sprocessexec /usr/bin/dirname
0.2sprocessexec /usr/bin/which
0.2sprocessexited 1: ERROR: 未找到 adb。请将 platform-tools 解压到 ~/WorkBuddy/ 下的 tools/platform-tools,或设置 KPA_ADB 环境变量。
0.2sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 2: 缺少 --json 或 --meta-dir
0.2sprocessbundled script run in the sandbox with no arguments
0.3sfilesystemread ~/WorkBuddy/ outside project
0.3sprocessexec /usr/bin/dirname
0.3sprocessexec /usr/bin/which
0.3sprocessexited 1: ERROR: 未找到 adb。请将 platform-tools 解压到 ~/WorkBuddy/ 下的 tools/platform-tools,或设置 KPA_ADB 环境变量。
0.3sprocessbundled script run in the sandbox with no arguments
0.3sfilesystemread ~/WorkBuddy/ outside project
0.3sprocessexec /usr/bin/dirname
0.3sprocessexec /usr/bin/which
0.3sprocessexited 1: ERROR: 未找到 adb。请将 platform-tools 解压到 ~/WorkBuddy/ 下的 tools/platform-tools,或设置 KPA_ADB 环境变量。
0.3sprocessbundled script run in the sandbox with no arguments
0.3sfilesystemread ~/WorkBuddy/ outside project
0.3sprocessexec /usr/bin/dirname
0.3sprocessexec /usr/bin/which
0.3sprocessexited 1: ERROR: 未找到 adb。请将 platform-tools 解压到 ~/WorkBuddy/ 下的 tools/platform-tools,或设置 KPA_ADB 环境变量。
0.3sprocessbundled script run in the sandbox with no arguments
0.4sfilesystemread ~/WorkBuddy/ outside project
0.4sprocessexec /usr/bin/dirname
0.4sprocessexec /usr/bin/which
0.4sprocessexited 1: ERROR: 未找到 adb。请将 platform-tools 解压到 ~/WorkBuddy/ 下的 tools/platform-tools,或设置 KPA_ADB 环境变量。
0.4sprocess8 of 22 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.4sprocessscript backend runs setup only
0.4sprocessscript backend runs setup only
0.4sprocessno install scripts to re-run

Static findings

HIGH
Destructive file system command detectedscripts/kpa_android_apps.sh:23 · Destructive file system command detectedsh "rm -f /sdcard/pegasus-frontend/dataCache.json" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_gamedetails.sh:22 · Destructive file system command detectedsh "rm -f /sdcard/pegasus-frontend/dataCache.json" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/bangumi_desc.py:126 · Destructive file system command detectedsubprocess.run([adb, "shell", "rm /sdcard/pegasus-frontend/dataCache.json"], check=True)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedSKILL.md:33 · Destructive file system command detected3. **禁止改 metadata / 新增目录后不清 `dataCache.json` 就判断生效** —— 必须 `rm /sdcard/pegasus-frontend/dataCache.json` 再重启天马;缓存会保留已删除游戏。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/step4_metadata.sh:109 · Destructive file system command detectedsh "rm -f /sdcard/kpa_step4_device.sh /sdcard/kpa_platform_cores.tsv /sdcard/kpa_mame_orient.json" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_vertical.sh:91 · Destructive file system command detectedsh "rm -f /sdcard/kpa_vertical_dev.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_vertical.sh:92 · Destructive file system command detectedrm -f /tmp/kpa_vertical_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_nomedia.sh:26 · Destructive file system command detectedsh "rm -f /sdcard/kpa_nomedia_dev.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/bangumi_desc.py:126 · Python subprocess execution detectedsubprocess.run([adb, "shell", "rm /sdcard/pegasus-frontend/dataCache.json"], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedscripts/step5_ppsspp.sh:36 · Destructive file system command detectedrm -f /tmp/kpa_psp_tmpFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/sync_from_device.sh:26 · Destructive file system command detectedsh "rm /sdcard/kpa_config.tar"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Dense URL-encoded contentassets/ppsspp/ppsspp.ini:557 · Dense URL-encoded content — may be obfuscating payloadsFileName0 = content://com.android.externalstorage.documents/document/6AF3-384F%3ARoms%2FPSP%2F%E4%BE%A0%E7%9B%97%E7%8C%8E%E8%BD%A6%20-%20%E7%BD%AA%E6%81%B6%E9%83%BD%E5%B8%82%E4%BC%A0%E5%A5%87.isoFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
HIGH
Destructive file system command detectedscripts/kpa_msx_core.sh:33 · Destructive file system command detectedrm -f /tmp/kpa_msx_cfg.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/step5_ppsspp.sh:42 · Destructive file system command detectedrm -f /tmp/kpa_psp_roms.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/kpa_theme_tweak.py:158 · Python subprocess execution detectedr = subprocess.run([ADB, "pull", remote, local], capture_output=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/kpa_theme_tweak.py:153 · Python subprocess execution detectedreturn subprocess.run([ADB] + ["shell", cmd], capture_output=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedscripts/kpa_nomedia.sh:27 · Destructive file system command detectedrm -f /tmp/kpa_nomedia_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/step4_metadata.sh:101 · Destructive file system command detectedrm -f /sdcard/kpa_vertical.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/step5_ppsspp.sh:82 · Destructive file system command detectedsh "rm -f /sdcard/pegasus-frontend/dataCache.json"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_health_check.sh:89 · Destructive file system command detectedrm -f /tmp/kpa_check_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/kpa_msx_core.sh:59 · Process kill command — agent can terminate processesif [ -f "$PIDFILE" ]; then kill "$(cat "$PIDFILE")" 2>/dev/null || true; rm -f "$PIDFILE"; echo "HTTP 服务已关闭"; fiFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/kpa_theme_tweak.py:164 · Python subprocess execution detectedr = subprocess.run([ADB, "push", local, remote], capture_output=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedscripts/sync_from_device.sh:33 · Destructive file system command detectedsh "rm /sdcard/kpa_system.tar"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_health_check.sh:88 · Destructive file system command detectedsh "rm -f /sdcard/kpa_check_dev.sh /sdcard/kpa_check_paths.txt" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/step6_cleanup.sh:25 · Destructive file system command detectedrm -f /tmp/kpa_step6_device.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/kpa_msx_core.sh:32 · Destructive file system command detectedsh "rm -f /sdcard/kpa_msx_cfg.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Prompt injectionassets/desc/zh_desc.json:2076 · Prompt injection — known jailbreak technique reference · informational: not an instruction file"dankuga": "1994 年 Taito 的格斗《Dan-Ku-Ga》,招式硬派,是《Kaiser Knuckle》的改版。",Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
HIGH
Destructive file system command detectedscripts/kpa_oneclick.sh:178 · Destructive file system command detectedsh "am force-stop $PEG_PKG; rm -f /sdcard/pegasus-frontend/dataCache.json" >/dev/null 2>&1 || trueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/bangumi_desc.py:125 · Python subprocess execution detectedsubprocess.run([adb, "push", f, f"{tf}/Roms/{plat}/metadata.pegasus.txt"], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedscripts/kpa_oneclick.sh:241 · Destructive file system command detectedecho "adb shell 'am force-stop $PEG_PKG; rm -f /sdcard/pegasus-frontend/dataCache.json'"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandscripts/step5_ppsspp.sh:35 · File permission modification command — agent changes file ownership/permissionssh "chmod 666 '$PPS_FILES/$rom'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Destructive file system command detectedscripts/step6_cleanup.sh:24 · Destructive file system command detectedsh "rm -f /sdcard/kpa_step6_device.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈2,028 tok
1 file · 98 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. Unclaimed publisher≈ +8 on the totalClaim lisong2003-lgtm: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. 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.
  3. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  5. Dense URL-encoded content≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
  6. Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim lisong2003-lgtmPropose a patch to the maintainer