kpa-pegasus-setup@2.4.2
CAUTION· install onlyPublisher 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.
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.2In 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 scenariosStatic findings
sh "rm -f /sdcard/pegasus-frontend/dataCache.json" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "rm -f /sdcard/pegasus-frontend/dataCache.json" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.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.3. **禁止改 metadata / 新增目录后不清 `dataCache.json` 就判断生效** —— 必须 `rm /sdcard/pegasus-frontend/dataCache.json` 再重启天马;缓存会保留已删除游戏。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "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.sh "rm -f /sdcard/kpa_vertical_dev.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /tmp/kpa_vertical_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "rm -f /sdcard/kpa_nomedia_dev.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.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.rm -f /tmp/kpa_psp_tmpFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "rm /sdcard/kpa_config.tar"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.FileName0 = 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.rm -f /tmp/kpa_msx_cfg.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /tmp/kpa_psp_roms.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.r = 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.return 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.rm -f /tmp/kpa_nomedia_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /sdcard/kpa_vertical.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "rm -f /sdcard/pegasus-frontend/dataCache.json"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /tmp/kpa_check_dev.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if [ -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.r = 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.sh "rm /sdcard/kpa_system.tar"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "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.rm -f /tmp/kpa_step6_device.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sh "rm -f /sdcard/kpa_msx_cfg.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."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.sh "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.subprocess.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.echo "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.sh "chmod 666 '$PPS_FILES/$rom'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.sh "rm -f /sdcard/kpa_step6_device.sh" >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.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
8 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- 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.
- 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.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- 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.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.