
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
create-react-components-script
Advanced tools
A node script to easily create both Functional and Class React components.
A node script to easily create both Functional and Class React components.
While building up my React projects I found myself creating the same directory structure for all the new components I would create. Each component consisted of a folder named the same as the component with two files, the index.js and the actual component with the name of the component as the name of the file. So this node script when run, will use inquirer to prompt and create said files for you.
project
│ README.md
│ ...
│
└───src
│ │ App.js
│ │ ...
│ │
│ └───components
│ │____Button
| | |__ Button.js
| | |__ index.js
│ │____NavBar
| | |____NavBar.js
| | |____index.js
│ │
│ └───pages
│ │ Landing.js
| | |____Landing.js
| | |____index.js
│ │ Search.js
| | |____Search.js
| | |____index.js
│ │ ...
git clone git@github.com:jtung23/create-react-components-script.git
cd create-react-components-script
With Ubuntu 16.04+ to set up executable (this works for my computer)
react-component (not the .js file) to /usr/bin/
sudo mv react-component /usr/bin//usr/local/binreact-componentTo set up executable for other systems
npm install -g pkg
FAQs
A node script to easily create both Functional and Class React components.
We found that create-react-components-script 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.