T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:19
- Finding
- Unpinned Third-Party Package Download and Execution## Vulnerability Details **File Location**: `SKILL.md:19-27` **Vulnerability Type**: Unpinned npm dependency executed through `npx` **Risk Level**: Medium ### Vulnerable Code ```json `.mcp.json` (project) or `~/.claude/mcp.json` (global): { "mcpServers": { "homes": { "command": "npx", "args": ["-y", "homes-mcp"] } } } ``` ### Technical Analysis The documented configuration runs `npx -y homes-mcp` without specifying a reviewed package version or integrity value. Consequently, `npx` can download and execute whichever release is currently resolved under that package name. The `-y` option suppresses the installation confirmation, further reducing the opportunity for users to inspect the resolved version before execution. The dependency implementation is not included in this project, so this audit cannot verify its runtime behavior. This is a supply-chain exposure rather than proof that the current package is malicious. ### Attack Path 1. An attacker compromises the npm package, a maintainer account, or its publication pipeline. 2. The attacker publishes a malicious release under the existing `homes-mcp` package name. 3. A user follows the documented setup or starts the configured MCP server. 4. `npx -y homes-mcp` resolves, downloads, and executes the compromised release without a version pin or interactive confirmation. 5. The malicious process runs with the operating-system privileges and data access of the user launching the MCP client. ### Impact Assessment A compromised package could execute arbitrary code under the invoking user's account. Depending on the host environment, this may permit access to readable files, MCP configuration, environment variables, network resources, and other user-accessible data. Because the MCP is intended to interact with an authenticated homes.com workflow, a malicious implementation could also attempt to misuse data delivered through that workflo ...[truncated 111 chars]
- Remediation
- ## Remediation Suggestions - Pin `homes-mcp` to a specific, reviewed version, for example `homes-mcp@X.Y.Z`. - Review the selected release and verify its npm provenance, publisher identity, repository linkage, and integrity metadata before deployment. - Use a controlled installation process with a lockfile and retained integrity hashes where the MCP host supports it. - Remove `-y` from first-time installation instructions so users can inspect the package and resolved version before execution. - Prefer installing an approved version in advance and configuring the MCP host to invoke the audited local binary. - Monitor dependency advisories and require explicit review before upgrading the pinned version.
