ds-01@1.0.9
Make your site best with DS01
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe add flow turns registry-controlled dependency data into a shell command without validation, creating a direct remote command execution path. The flow requires an explicit add command, but the registry response can execute commands beyond the requested dependency installation.
Decision evidence
public snapshot- The `add` command fetches component data from the DS01 registry and parses the response as JSON.
- The command joins server-returned dependency values and interpolates them into `execSync('npm install ...')`, which invokes a shell without validating the values.
- A crafted registry response can therefore execute arbitrary shell commands when a user adds a component.
- The risky flow runs only after a user invokes the `add` command.
- Installing component dependencies is part of the CLI’s stated purpose, and the default registry is the package’s DS01 service.
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.9.
See all versions of ds-01 for other recorded verdicts.
- Avoid installing ds-01@1.0.9. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.