ds-01@1.0.8
Make your site best with DS01
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe `add` command passes registry-controlled dependency data to a shell without safe argument separation, creating a real remote command-injection risk. The inspected source does not show an active malicious payload, so this is a critical vulnerability rather than confirmed malicious behavior.
Decision evidence
public snapshot- The `add` command takes dependency names from the registry response and joins them into a shell command.
- It runs `npm install ${depsToInstall}` with `execSync`, which invokes a shell and permits command injection through the registry-supplied value.
- The request uses the DS01 registry endpoint and sends the DS01 session token; no unrelated credential destination was identified.
- The package has no install lifecycle scripts; its CLI is exposed as a command-line binary.
- The risky command runs only when a user invokes `add` and the registry response includes dependencies.
- The default registry host is `ds-01.vercel.app`, consistent with the package’s stated component-registry purpose.
Source & flagged code
6 flaggedPackage source references child process execution.
dist/utils/secureKeyStore.jsView on unpkg · L1This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
Findings
Affected versions and remediation
This report applies to ds-01@1.0.8.
See all versions of ds-01 for other recorded verdicts.
- Review the evidence and your use of ds-01@1.0.8 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.