
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.

$ npm install alien -g
before we run the commands of alien, we should have a project first
(directory structure)
project
├─┬src
│ ├─┬scripts
│ │ └──...
│ └─┬styles
│ └──...
└─.config
you can checkout (https://github.com/purplecalm/alien.git) to get a test case
before start server, make sure the working directory contains project
$ alien server
server has three modes, [SRC|DEV|PRD]
$ alien server -m DEV
packing exports files
(File .config) e.g
{
"exports": [
"scripts/index.js",
"styles/index.css"
]
}
before run pack, make sure the project is working directory
$ alien pack
result
project
├─┬dev(package directory)
│ ├─┬scripts
│ │ └──index@dev.js
│ └─┬styles
│ └──index@dev.css
├─┬src
│ ├─┬scripts
│ │ └──...
│ └─┬styles
│ └──...
└─.config
minify exports files
(File .config) e.g
{
"exports": [
"scripts/index.js",
"styles/index.css"
]
}
before run min, make sure the project is working directory
$ alien min
result
project
├─┬prd(product directory)
│ ├─┬scripts
│ │ └──index@bc23723a6ebdd528a774264d37173293.js
│ └─┬styles
│ └──index@db47495f5329bd6a6df53228034d4746.css
├─┬ver(versions directory)
│ ├─┬scripts
│ │ └──index.js.ver (bc23723a6ebdd528a774264d37173293)
│ └─┬styles
│ └──index.css.ver (db47495f5329bd6a6df53228034d4746)
├─┬src
│ ├─┬scripts
│ │ └──...
│ └─┬styles
│ └──...
└─.config
sync all package to target server
make sure you installed rsync (find it here http://rsync.samba.org/)
set dev environment in .config (File .config) e.g
{
"dev": {
"host": "127.0.0.1",
"path": "/home/q/www/project/"
}
}
before run sync
$ alien sync
we also run pack and sync together
$ alien pack && alien sync
Aha!
FAQs
Fe development tools
We found that alien 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.