Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
⚠️ This package seems to have moderate severity install script vulnerabilities

Affected script: "install-scripts:install"

The script has several security vulnerabilities:

  1. It runs execSync with interpolated input (${binPath} --version), which could lead to command injection if binPath is somehow controlled by an attacker or manipulated to include malicious commands.

  2. It fetches and writes a file from a URL constructed from user input without validation (pkgUrl) and then directly executes a tar command to extract it, which could lead to a supply chain attack by downloading and executing malicious code if the URL is compromised or spoofed.

  3. There's no checksum validation of the downloaded package, making it susceptible to a man-in-the-middle (MITM) attack where an attacker could replace the binary with a malicious one.

  4. There's a potential directory traversal issue with pkgName being used to construct filesystem paths without any validation, which can lead to arbitrary file write if pkgPlatform can be controlled by an attacker.

Generated on Feb 19, 2024 via pnpm

@fuel-ts/forc 0.0.0-pr-1408-20231110144555

NPM bin wrapper around Fuel `forc`
Package summary
Share
2
issues
1
high severity
meta
1
1
moderate severity
meta
1
3
licenses
3
MIT
1
Apache-2.0
1
BSD-2-Clause
Package created
29 Jun 2023
Version published
10 Nov 2023
Maintainers
1
Total deps
5
Direct deps
1
License
Apache-2.0

Issues

2

1 high severity issue

high
via: @fuel-ts/forc@0.0.0-pr-1408-20231110144555
Collapse
Expand

1 moderate severity issue

moderate
via: @fuel-ts/forc@0.0.0-pr-1408-20231110144555
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
node-fetch@2.7.0
tr46@0.0.3
whatwg-url@5.0.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
@fuel-ts/forc@0.0.0-pr-1408-20231110144555

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
webidl-conversions@3.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of @fuel-ts/forc 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
node-fetch2.7.043.6 kBMIT
prod

Visualizations