T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party Packages Executed Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:16andSKILL.md:69
Vulnerability Type: Unpinned executable dependencies
Risk Level: MediumVulnerable Code
bash npx lumbox signup --source openclawbash openclaw mcp add lumbox -- npx @lumbox/mcp-serverTechnical Analysis
The documented setup commands use
npxto execute thelumboxand@lumbox/mcp-serverpackages without exact version constraints, integrity hashes, or a lockfile. As a result, execution can resolve to mutable package versions available from the configured npm registry at invocation time rather than to artifacts reviewed with this Skill.This creates a supply-chain risk: compromise of a package publisher, registry account, package release, or dependency can alter the code subsequently executed by users. The MCP server is especially sensitive because the Skill describes it as providing browser automation, credential-vault, TOTP, email, and related capabilities.
No evidence establishes that the current packages are malicious. The finding concerns the unsafe, unpinned retrieval and execution model.
Attack Path
- An attacker compromises the publishing process or account for
lumbox,@lumbox/mcp-server, or a runtime dependency. - The attacker publishes a malicious release that becomes the version resolved by an unpinned
npxinvocation. - A user or Agent follows the instructions in
SKILL.md. npxretrieves and executes the altered package.- The package runs with the invoking user's process privileges and may attempt to access local files, environment variables, Lumbox credentials, or data exposed through the configured Agent workflow.
Impact Assessment
Successful exploitation could permit arbitrary code execution with the privileges of the user running
npx. Depending on the execution environment and available credentials, the compromised package could access the API key stored in~/.lumbox/config.jsonorLUMBOX_API_KEY, ...[truncated 321 chars]- An attacker compromises the publishing process or account for
- Remediation
View remediation
Remediation Suggestions
- Pin both packages to exact, reviewed versions, for example:
bash npx --yes lumbox@X.Y.Z signup --source openclaw openclaw mcp add lumbox -- npx --yes @lumbox/mcp-server@X.Y.Z - Publish expected package versions and integrity digests in the Skill documentation.
- Prefer installation through a committed lockfile using a deterministic installer such as
npm ci. - Review packages and their transitive dependencies before updating pinned versions.
- Run the CLI and MCP server in a sandbox or container with restricted filesystem and network access.
- Use inbox-scoped API keys where possible rather than an organization-wide key.
- Avoid exposing unrelated secrets through environment variables, mounted home directories, or shared Agent contexts.
- Establish a controlled update process that verifies provenance, package signatures where available, integrity metadata, and release changes before changing the pinned versions.
- Pin both packages to exact, reviewed versions, for example:
