T07 · Tool Hijacking and Spoofing
- Location
scripts/query.js:27- Finding
Automatic Execution of an Unverified External Workspace Module
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is designed to read local graph memory, but it also auto-loads executable JavaScript from an unreviewed workspace path and installs an unpinned native dependency.
Review this skill carefully before installing. Its main feature is local memory search, so results can reveal prior-session context, names, files, projects, and errors. The larger concern is that the packaged script automatically executes a bridge module from an unreviewed workspace path; install only if you trust and control that local graph-memory code path, and prefer a version that packages or verifies the bridge and pins its npm dependency.
scripts/query.js:27Automatic Execution of an Unverified External Workspace Module
SKILL.md:9Unpinned Native npm Dependency Installation
The skill declares access to a persistent local SQLite-backed memory database but does not specify any explicit tool scope, permissions, or allowed-tools boundaries. Even though the skill is presented as read-only, it exposes environment-derived workspace state and persistent session memory, which can broaden data access beyond what users may expect and weakens least-privilege controls.
This skill directly queries persistent session-derived memory containing people, files, projects, and prior context, but it does not clearly warn users that invoking it may reveal historical or sensitive information. That omission increases the risk of inadvertent privacy leakage, especially because the skill is optimized for natural-language exploration of accumulated memory rather than narrowly scoped retrieval.
The code reads from a persistent database under the user's home directory, which may contain user-derived memory data. While the top-level comment describes the file as a knowledge-graph wrapper, there is no explicit user-facing warning, prompt, or privacy disclosure in the code about accessing stored user data.