Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
⚠️ This package seems to have critical severity install script vulnerabilities

Affected script: "install-scripts:preinstall"

The script collects the local system username, Git configuration details (username and e-mail), and then sends them to a remote server. This behavior could potentially leak sensitive user information and credentials to an external party without the user's knowledge. Furthermore, the distinction in destination server based on the username xmarcgusmano suggests potentially targeted or testing behavior which is not typical for a legitimate pre-installation script. This could be a sign of an attempt to exfiltrate data or set the stage for further exploitation. The script also connects to an HTTP server when the username is xmarcgusmano, which is not secure and could be vulnerable to man-in-the-middle attacks. The use of HTTPS in the other branch does not eliminate the concerns regarding unauthorized data exfiltration.

Generated on Apr 17, 2024 via pnpm

@gusmano/reext 0.0.208

React ReExt
Package summary
Share
7
issues
1
critical severity
license
1
4
high severity
license
1
meta
3
1
moderate severity
meta
1
1
low severity
license
1
8
licenses
103
MIT
6
ISC
2
Apache-2.0
5
other licenses
BSD-3-Clause
1
N/A
1
Apache License, Version 2.0
1
0BSD
1
+ 1 more
Package created
28 Oct 2023
Version published
9 Nov 2023
Maintainers
1
Total deps
116
Direct deps
6
License
MIT

Issues

7

1 critical severity issue

critical
Recommendation: Check the package code and files for license information
via: iniparser@1.0.5
Collapse
Expand

4 high severity issues

high
Recommendation: Validate that the package complies with your license policy
via: inquirer-select-directory@1.2.0
via: @gusmano/reext@0.0.208
via: @gusmano/reext@0.0.208
via: inquirer-select-directory@1.2.0
Collapse
Expand

1 moderate severity issue

moderate
via: @gusmano/reext@0.0.208
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: inquirer-select-directory@1.2.0
Collapse
Expand

Install Script Usage

ⓘ This section contains AI-generated explanations for this package's install scripts.
     We recommend overviewing the package source files before installing to your project.

The "postinstall" Script

node ./dist/scripts/postinstall.js

The code provided is a part of a post-installation script that is used to clean up certain parts of a package or project after the installation process completes. It deletes specified scripts, configurations, and dependencies from the package.json file and removes certain directories from the 'dist' folder, which are likely to be related to development such as scripts, data, resources, and source directories. While the ability to modify files and directories could be misused in some contexts, there is nothing in this particular snippet that indicates it is being used to run or download remote code, steal sensitive information, escalate privileges, or harm the system. It's also worth noting that such post-installation scripts should be used with caution, and the source of the package should be trusted, as they can execute arbitrary code on the system.

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
103 Packages, Including:
@gusmano/reext@0.0.208
@inquirer/figures@1.0.1
@ljharb/through@2.3.13
ansi-escapes@1.4.0
ansi-escapes@4.3.2
ansi-regex@2.1.1
ansi-regex@3.0.1
ansi-regex@5.0.1
ansi-styles@2.2.1
ansi-styles@4.3.0
base64-js@1.5.1
bl@4.1.0
buffer-from@1.1.2
buffer@5.7.1
call-bind@1.0.7
chalk@1.1.1
chalk@4.1.2
chalk@5.3.0
chardet@0.7.0
cli-cursor@1.0.2
cli-cursor@2.0.0
cli-cursor@3.1.0
cli-spinners@2.9.2
clone@1.0.4
color-convert@2.0.1
color-name@1.1.4
concat-stream@1.6.2
core-util-is@1.0.3
defaults@1.0.4
define-data-property@1.1.4
emoji-regex@8.0.0
es-define-property@1.0.0
es-errors@1.3.0
escape-string-regexp@1.0.5
exit-hook@1.1.1
extend@3.0.2
external-editor@1.1.1
external-editor@3.1.0
figures@2.0.0
function-bind@1.1.2
get-intrinsic@1.2.4
gopd@1.0.1
has-ansi@2.0.0
has-flag@4.0.0
has-property-descriptors@1.0.2
has-proto@1.0.3
has-symbols@1.0.3
hasown@2.0.2
iconv-lite@0.4.24
inquirer-select-directory@1.2.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
6 Packages, Including:
cli-width@2.2.1
cli-width@4.1.0
inherits@2.0.4
mute-stream@0.0.6
mute-stream@1.0.0
signal-exit@3.0.7

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
2 Packages, Including:
rx@4.1.0
rxjs@7.8.1

BSD 3-Clause "New" or "Revised" 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
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
ieee754@1.2.1

N/A

N/A
1 Packages, Including:
iniparser@1.0.5

Apache License, Version 2.0

Invalid
Not OSI Approved
1 Packages, Including:
rx-lite@4.0.8

BSD Zero Clause 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
include-copyright
include-license
include-original
Cannot
hold-liable
Must
1 Packages, Including:
tslib@2.6.2

(MIT OR CC0-1.0)

Public Domain
1 Packages, Including:
type-fest@0.21.3
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

6
All Dependencies CSV
ⓘ This is a list of @gusmano/reext 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
chalk5.3.013.08 kBMIT
prod
iniparser1.0.510 kBUNKNOWN
prod
1
inquirer-select-directory1.2.012.99 kBMIT
prod
2
1
inquirer9.2.1986.92 kBMIT
prod
react-dom18.2.01.04 MBMIT
prod peer
react18.2.079.25 kBMIT
prod peer

Visualizations