T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:10
- Finding
- Runtime Installed from an Unreviewed External Package<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:10-12, 47-50`; `references/setup-guide.md:14-27` **Vulnerability Type**: Supply-chain exposure through an external runtime package **Risk Level**: Medium ### Vulnerable Code ```yaml installer: kind: uv package: vmware-storage ``` ```bash uv tool install vmware-storage==1.9.0 vmware-storage init vmware-storage doctor ``` ```bash # Via uv uv tool install vmware-storage==1.9.0 # Via pip pip install vmware-storage==1.9.0 # From source git clone --branch v1.9.0 https://github.com/vmware-skills/VMware-Storage.git cd VMware-Storage pip install -e . ``` ### Technical Analysis The audited project contains only Markdown documentation and evaluation data. It does not contain the runtime source implementing credential loading, vSphere authentication, password-file rewriting, policy enforcement, audit logging, or storage changes. Instead, users are instructed to retrieve and execute `vmware-storage` from an external package registry or Git repository. Pinning version `1.9.0` limits unintentional upgrades, but it does not verify package integrity, publisher identity, source-to-artifact correspondence, or registry provenance. No package hash, lockfile, signature, trusted-index restriction, or reproducible-build evidence is supplied in the artifact. Consequently, the security claims made by the Skill cannot be independently verified against the code users are instructed to execute. ### Attack Path 1. An attacker compromises the package publisher account, registry distribution path, source repository, or release process. 2. The attacker publishes or substitutes a malicious artifact under the expected package and version. 3. An operator follows the documented `uv tool install` or `pip install` command. 4. The unreviewed package executes locally during installation or invocation. 5. Because the runtime is expected to access VMware password environment variables and connect to vCenter or ESXi, a maliciou ...[truncated 814 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Include the runtime source in the reviewed artifact or provide an immutable reference to the exact audited source revision. 2. Publish cryptographic hashes for all installation artifacts and require hash verification during installation. 3. Provide signed releases and verifiable build provenance, such as Sigstore attestations or SLSA provenance. 4. Use a lockfile with hashes for transitive dependencies. 5. Configure installation commands to use an explicitly trusted package index rather than any implicitly configured index. 6. Document the publisher identity and a procedure for verifying signatures before installation. 7. Run the package under a dedicated, minimally privileged operating-system account. 8. Use VMware RBAC accounts limited to the specific read or storage-management operations required. 9. Independently review the runtime implementation of secret handling, outbound network behavior, policy enforcement, and destructive-operation confirmation before deployment. ]]>
