T08 · Insecure Dependencies
- Location
SKILL.md:18- Finding
Unpinned Third-Party Executable Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 18-23 and 35-37
Vulnerability Type: Unpinned npm dependency and mutable supply-chain source
Risk Level: MediumVulnerable Code
yaml install: - kind: npm package: "@nylas/openclaw-nylas-plugin" dependencies: - name: "@nylas/openclaw-nylas-plugin" kind: npmbash openclaw plugins install @nylas/openclaw-nylas-pluginTechnical Analysis
The Skill directs users to install
@nylas/openclaw-nylas-pluginwithout 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 reviewedSKILL.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
- An attacker compromises the npm publisher account, package release process, or a transitive dependency.
- The attacker publishes a malicious version under the same mutable package name.
- A user follows the documented
openclaw plugins installcommand. - The package manager resolves and installs the malicious release because no trusted version or integrity value is specified.
- 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
View 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.
- Pin the plugin to a specifically reviewed version, for example
