T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Package Execution Through ClawHub Installation Command
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill content is ordinary React real-time hook guidance, but its documented install paths rely on mutable, unpinned remote execution that users should review before installing.
Review or pin the installer before running the documented npx commands, especially in sensitive development environments. The hook examples themselves are conventional, but only connect them to trusted authenticated SSE/WebSocket endpoints and avoid placing sensitive payloads on channels you do not control.
SKILL.md:16Unpinned Package Execution Through ClawHub Installation Command
README.md:26Unpinned Package Execution Repeated in README Installation Instructions
README.md:20Ambiguous and Mutable Third-Party Installation via npx add
The README instructs users to execute a remote package/tool via npx add without any version pinning or integrity control. This creates a supply-chain risk because future changes to the referenced package or resolver behavior could cause users to fetch and run unexpected code during installation.
npx clawhub@latest install realtime-react-hooks uses the mutable latest tag, which can change over time and cause execution of unreviewed code. For an installation path that likely runs code on the user's machine, this is a meaningful supply-chain exposure even if the current package is benign.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
From your project root:
mkdir -p .cursor/skills
cp -r ~/.ai-skills/skills/realtime/realtime-react-hooks .cursor/skills/realtime-react-hooks
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
From your project root:
mkdir -p .claude/skills
cp -r ~/.ai-skills/skills/realtime/realtime-react-hooks .claude/skills/realtime-react-hooks
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.claude/skills
cp -r ~/.ai-skills/skills/realtime/realtime-react-hooks ~/.claude/skills/realtime-react-hooks
Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
---
name: realtime-react-hooks
model: standard
description: React hooks for real-time data with SSE, WebSocket, and SWR integration. Covers connection management, reconnection logic, and optimistic updates. Use when building React apps with real-time features. Triggers on SSE hook, WebSocket hook, real-time React, useEventSource, live updates.
---
The description says the skill triggers on phrases including "real-time React" and "live updates," which are broad enough to appear in normal discussion rather than a clear invocation. The file does not provide tighter trigger constraints or negative examples to distinguish when the skill should or should not activate.
The installation command uses npx clawhub@latest, which pulls and executes the newest published package version at install time. This creates a supply-chain risk because a compromised or malicious upstream release could be executed immediately by users without version review or integrity pinning.
This markdown file instructs users to create EventSource and WebSocket connections that exchange application data, but it does not include any warning about network behavior, backend trust, authentication, or privacy-sensitive payloads. For markdown files, safety-relevant behaviors that may affect user data or privacy should be disclosed.
No suspicious patterns detected.