apkpub-cli
APK 多市场分发 CLI 工具 - 一键发布到华为/小米/OPPO/VIVO/荣耀及自定义渠道
This report shows the evidence for apkpub-cli@0.0.2, the only known version.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection confirms install-time writes into several foreign AI-agent skill directories via postinstall. Under the install-control policy this is concrete unconsented mutation of broad AI-agent control surfaces, so it should be blocked despite no observed exfiltration or remote code execution. Product guard normalized a concrete AI-agent control hijack publish_block to the blockable dangerous-capability shape.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/install-skill.mjs.
- scripts/install-skill.mjs runs at install time and copies skills/using-apkpub-cli into ~/.agents, ~/.cursor, ~/.hermes, and ~/.claude skills dirs when those config dirs exist.
- scripts/install-skill.mjs also honors APKPUB_SKILL_DIRS to write the skill to arbitrary user-provided directories.
- scripts/install-skill.mjs copies only package-bundled skill files; no download, eval, child_process, or credential harvesting observed there.
- Install script can be skipped with APKPUB_SKIP_SKILL_INSTALL and silently ignores missing agent config dirs.
- dist/apkpub.js is a CLI for APK publishing; network calls use user-supplied store credentials for app-market APIs.
- No prompt injection text or exfiltration logic observed in the inspected install script.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references weak cryptographic algorithms.
dist/apkpub.jsView on unpkg · L131Findings
Affected versions and remediation
This report applies to apkpub-cli@0.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing apkpub-cli@0.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.