linkpix-image-eraser
Fail
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: HIGHPERSISTENCEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill provides instructions for the agent to modify the user's shell configuration file (
~/.bashrc) to persist changes to thePATHenvironment variable. - Evidence:
export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH" (或追加进 ~/.bashrc)inSKILL.md. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it interpolates untrusted user instructions directly into a shell command for the
qhkittool. - Ingestion points: User-provided descriptions of elements to be erased (e.g., "watermark", "text") are inserted into the
promptfield of the command-line arguments inSKILL.md. - Boundary markers: The JSON payload is wrapped in single quotes, but there is no explicit instruction to sanitize or escape user-provided strings.
- Capability inventory: The
qhkitCLI tool has capabilities for network communication with vendor APIs and local file system access for image uploads. - Sanitization: The skill lacks any sanitization or validation logic for the interpolated user strings.
- [EXTERNAL_DOWNLOADS]: The skill automates the download of binaries and software packages from external sources to bootstrap its environment.
- Fetches Node.js binaries from
nodejs.org(a well-known service). - Downloads the
@iqinghu/qhkitpackage from the NPM registry or thenpmmirror.commirror. - Note: The skill uses
sha256sumto verify the integrity of the Node.js binary, which is a defensive best practice. - [COMMAND_EXECUTION]: The skill relies on various shell commands to perform setup and core functions, including
npm,curl,tar, and the vendor-specificqhkitCLI tool. - These commands are used to manage environment configuration and execute image processing tasks.
Recommendations
- HIGH: Downloads and executes remote code from: https://nodejs.org/dist/v22.22.3/SHASUMS256.txt - DO NOT USE without thorough review
Audit Metadata