
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.
Make with a json file, a directory structure.
[sudo] npm install -g gridir
or to use API
[sudo] npm install gridir
gridir -i [filename] or --input [filename] // read a file with your structure.
gridir -i [filename] -v or --verbose // enable the verbose mode.
gridir -i [filename] -k [value] or --key [value] // select the key of first level of the structure.
Put the structure on the package.json file, like that:
{
"name": "gridir",
"version": "0.0.1",
"description": "Make directory structure based on literal object.",
"main": "lib/index.js",
"bin": "bin/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"mkdir",
"tree",
"directory-structure"
],
"structure": {
"bin": {},
"doc": {},
"lib": {},
"test": {
"case": {}
}
},
"author": "Kaique da Silva <kaique.developer@gmail.com>",
"license": "BSD",
"dependencies": {
"mkdirp": "~0.3.5",
"traverse": "~0.6.6"
},
"devDependencies": {
"should": "~2.1.0"
}
}
And then, run the command:
gridir -i package.json -v -k "structure"
Now if everything is fine, your structure was created.
Feel free to help improve the project.
FAQs
Make directory structure based on literal object.
The npm package gridir receives a total of 1 weekly downloads. As such, gridir popularity was classified as not popular.
We found that gridir 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.