T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:18
- Finding
- Unpinned Third-Party Executable Dependency## Vulnerability Details **File Location**: `SKILL.md`, lines 18-23 and 35-37 **Vulnerability Type**: Unpinned npm dependency and mutable supply-chain source **Risk Level**: Medium ### Vulnerable Code ```yaml install: - kind: npm package: "@nylas/openclaw-nylas-plugin" dependencies: - name: "@nylas/openclaw-nylas-plugin" kind: npm ``` ```bash openclaw plugins install @nylas/openclaw-nylas-plugin ``` ### Technical Analysis The Skill directs users to install `@nylas/openclaw-nylas-plugin` without specifying a version or integrity hash. The package reference therefore resolves to a mutable npm release selected at installation time. Its executable contents are not included in the audited repository and can change independently of the reviewed `SKILL.md`. Although the package name and linked resources appear official, the repository alone cannot establish the package's provenance or safety. A compromised publisher account, malicious future release, registry compromise, or compromised transitive dependency could introduce arbitrary executable behavior after this Skill has been reviewed. ### Attack Path 1. An attacker compromises the npm publisher account, package release process, or a transitive dependency. 2. The attacker publishes a malicious version under the same mutable package name. 3. A user follows the documented `openclaw plugins install` command. 4. The package manager resolves and installs the malicious release because no trusted version or integrity value is specified. 5. The plugin executes with OpenClaw's local privileges and can attempt to access configuration, credentials, email, calendar, contacts, and other resources available to the process. ### Impact Assessment Successful exploitation could permit arbitrary code execution with the privileges of the OpenClaw process. Depending on the runtime environment and credential scope, an attacker could obtain the configured Nylas API k ...[truncated 322 chars]
- Remediation
- ## Remediation Suggestions - Pin the plugin to a specifically reviewed version, for example `@nylas/openclaw-nylas-plugin@x.y.z`. - Use a lockfile or equivalent mechanism to pin all transitive dependencies. - Verify registry provenance, publisher identity, release signatures, and package integrity hashes before installation. - Prefer reproducible installation workflows that reject packages whose integrity does not match an approved checksum. - Monitor the dependency and its transitive dependency tree for ownership changes, security advisories, and unexpected release behavior. - Run the plugin with minimal filesystem, network, and process privileges. - Use a narrowly scoped Nylas credential and explicit grant selection so a compromised plugin cannot access unrelated connected accounts.
