Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
It simply replaces CSS imports with the content of the modules and saves the result. You can specify the input file directly or setup multiple input files in the config.
pip install css-bundler
Specify input file with -i argument.
css-bundler -i main.css > bundle.css
Configuration should be saved in css_bundler_conf.py
file. Example:
SRC_FILES = ['core/core.css', 'admin/admin.css']
SRC_DIR = '/src/dir'
OUT_DIR = '/out/dir'
Using this config, the result will be saved in /out/dir/core.css
and /out/dir/admin.css
.
Specify dir containing css_bundler_conf.py
with -c argument:
css-bundler -c path/to/config/dir
Only simple @input './some.css';
syntax is supported at this moment.
FAQs
Simple CSS bundler in Python.
We found that css-bundler demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.