T01 · Skill Instruction Hijacking
- Location
SKILL.md:35- Finding
Undisclosed Referral Link Embedded in User-Facing Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This image-analysis skill is mostly purpose-aligned, but it asks users to run mutable third-party npm packages and handles API keys in ways that can expose credentials.
Install only if you are comfortable running unpinned npm-hosted MCP tooling locally and sending selected images or videos to the GLM/Zhipu service. Use a low-privilege API key, avoid sensitive screenshots unless redacted, restrict permissions on `~/.openclaw/config/glm.json`, and rotate the key if it may have been printed in logs or transcripts. Prefer a version-pinned and credential-safe revision before broad use.
SKILL.md:35Undisclosed Referral Link Embedded in User-Facing Instructions
SKILL.md:17Execution of Unpinned npm Packages Through npx
SKILL.md:27API Key Exposure Through Output, File Permissions, and Command Configuration
The skill is designed to send local image paths or remote URLs to an external GLM vision service, but it does not clearly warn that image contents may leave the local system. In this context, screenshots and images often contain sensitive information such as credentials, personal data, internal diagrams, or error traces, making silent exfiltration especially risky.
The skill instructs execution of npx -y mcporter without pinning a version, which allows whatever package version is current at execution time to run. This creates a supply-chain risk: a malicious update, account compromise, or breaking change could cause arbitrary code execution on the host during setup.
This duplicated finding points to the same behavior: the skill writes the API key to a persistent config file in the user's home directory. That persistence widens the attack window and can enable later misuse of the credential by local malware, other users, or unintentionally exposed files.
mkdir -p ~/.openclaw/config
cat > ~/.openclaw/config/glm.json << EOF
{
"api_key": "API密钥"
This duplicated finding points to the same behavior: the skill writes the API key to a persistent config file in the user's home directory. That persistence widens the attack window and can enable later misuse of the credential by local malware, other users, or unintentionally exposed files.
mkdir -p ~/.openclaw/config
cat > ~/.openclaw/config/glm.json << EOF
{
"api_key": "API密钥"
The MCP server is launched via npx -y @z_ai/mcp-server with no pinned version, so the skill depends on mutable third-party code fetched at runtime. Because MCP servers execute locally and receive user-controlled inputs and secrets via environment variables, an upstream compromise could lead to direct host compromise or secret exfiltration.
The documented capabilities materially exceed the declared purpose of simple image understanding by including screenshot-to-code generation and video analysis. Scope expansion increases the chance the agent will invoke more powerful tools than users expect, which can lead to unintended data exposure or generation of unreviewed code from screenshots.
Advertising ui_to_artifact enables conversion of screenshots into code even though the skill is framed as image understanding. This is risky because it crosses from passive analysis into code generation, which may produce executable artifacts from untrusted visual input without adequate review or sandboxing.
The skill instructs users to store an API key in a local plaintext config file without warning about filesystem permissions, secret rotation, or safer secret stores. While common in developer tooling, this increases the chance of credential leakage through backups, shared home directories, logs, or accidental file disclosure.
The skill advertises video_analysis although its manifest and description are limited to images. This mismatch can cause users or agents to send larger and potentially more sensitive media than intended to the external service, broadening privacy and operational risk beyond the declared scope.
No suspicious patterns detected.