node ./lib/install.js
The script is designed to install the fuel-core
binary on a system, using various Node.js modules for tasks like making HTTP requests, executing shell commands, and manipulating the file system. The script checks if the current version of the binary matches the expected version and downloads a new version from the specified GitHub repository if necessary. It does not contain explicit code that seems to be designed to steal sensitive information, get root access, run or download remote code, or otherwise harm the system. The code operates under the assumption that the GitHub repository is a trusted source. If the repository is compromised, the script could inadvertently download malicious content, but that risk is inherent to any software installation process reliant on external sources.
@fuel-ts/fuel-core
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
node-fetch | 2.7.0 | 43.6 kB | MIT | prod |