Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@linsight/react-scripts
Advanced tools
Customised configuration and scripts for Create React App with support for multiple entry points.
Customised react-scripts to support mutiple entry points.
Update your CRA to use this version of react-scripts
Create a .env
to your project root if you don't have one. Add to the .env
file your entry points. Example:
ENTRY_POINT_INDEX="index"
ENTRY_POINT_ADMIN="admin"
If your new entry point needs a HTML file (HtmlWebpackPlugin), you can simply add a HTML file named after the entry point in the public directory. e.g. admin.html
index
entry point will be working as normal if no custom entry points are defined in the .env
file..env
file, ONLY custom entry points will be used. This means you need to add ENTRY_POINT_INDEX="index"
to the .env
file if you want to keep the default index
entry point.This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
Migrating from 3.4.2 to 3.4.3
Inside any created project that has not been ejected, run:
npm install --save --save-exact react-scripts@3.4.3
or
yarn add --exact react-scripts@3.4.3
FAQs
Customised configuration and scripts for Create React App with support for multiple entry points.
The npm package @linsight/react-scripts receives a total of 0 weekly downloads. As such, @linsight/react-scripts popularity was classified as not popular.
We found that @linsight/react-scripts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.