ds-01@1.0.5
Make your site best with DS01
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package’s add flow contains a real command-injection vulnerability: registry-provided dependency values are passed to a shell without validation. The flow requires an explicit add command, so this is a critical vulnerability rather than evidence of an automatic attack.
Decision evidence
public snapshot- The `add` command fetches a component registry response and reads its JSON body.
- It joins registry-provided dependency values and interpolates them into a shell command, creating a command-injection path if the response contains crafted values.
- The risky path runs only when a user invokes the `add` command; the package has no install lifecycle hook.
- The CLI’s default registry host is its stated DS01 service, and adding components and their dependencies is part of the package’s 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.5.
See all versions of ds-01 for other recorded verdicts.
- Review the evidence and your use of ds-01@1.0.5 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.