-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
in-progressIssue is being actively worked onIssue is being actively worked onsafe-to-workSecurity triage: safe for automated processingSecurity triage: safe for automated processing
Description
Issue
The bun installer is executed via curl -fsSL https://bun.sh/install | bash without any signature verification or checksum validation.
Locations
- sh/cli/install.sh:227
- sh/cli/install.sh:238
Impact
Supply chain attack if bun.sh is compromised or DNS is hijacked. An attacker could execute arbitrary code during the spawn installation process.
Recommendation
- Download the bun installer to a temp file
- Verify signature or checksum against a known-good value
- Then execute
Alternatively, use bun's official installation method that includes verification, or document this risk in the security policy.
Code Context
curl -fsSL https://bun.sh/install | bash-- security/shell-scanner
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in-progressIssue is being actively worked onIssue is being actively worked onsafe-to-workSecurity triage: safe for automated processingSecurity triage: safe for automated processing