
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.
cube-anyproxy
Advanced tools
A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.
AnyProxy 4.x is in beta release now. Rule interface is simplified and Promise is supported. Welcome to have a try! http://anyproxy.io/4.x/
AnyProxy 4.x 正在beta中,rule接口大幅简化,同时支持了Promise。文档及试用:http://anyproxy.io/4.x/
A fully configurable HTTP/HTTPS proxy in NodeJS.
Home page : AnyProxy.io
(Chinese in this doc is nothing but translation of some key points. Be relax if you dont understand.)
npm install -g anyproxy , may require sudoanyproxyanyproxy --port 8001anyproxy --rule ./rule_sample/rule_allow_CORS.js
Rule module is the specialty for AnyProxy. Think it as a middleware, you could write your own code to hack requests at any stage, no matter it is about to response or the proxy just gets the request. In this way, AnyProxy would be flexible to meet your own demands.
It's highly recommended to read this guide before using: What is rule file and how to write one ?
An entire scheme of rule file could be found at ./rule_sample/rule__blank.js. Besides, there are some samples at ./rule_sample. That may help you a lot when writing your own rule files.
After configuring rootCA, AnyProxy could help to decrypt https requests, whose approach is also called Man-In-The-Middle(MITM).
A guide about configuring https features is here : https://github.com/alibaba/anyproxy/wiki/How-to-config-https-proxy
HTTPS配置中文教程 : https://github.com/alibaba/anyproxy/wiki/HTTPS%E7%9B%B8%E5%85%B3%E6%95%99%E7%A8%8B
anyproxy --file /path/to/fileanyproxy --throttle 10 sets the speed limit to 10kb/s (kbyte/sec)npm install anyproxy --save
var proxy = require("anyproxy");
//create cert when you want to use https features
//please manually trust this rootCA when it is the first time you run it
!proxy.isRootCAFileExists() && proxy.generateRootCA();
var options = {
type : "http",
port : 8001,
hostname : "localhost",
rule : require("path/to/my/ruleModule.js"),
dbFile : null, // optional, save request data to a specified file, will use in-memory db if not specified
webPort : 8002, // optional, port for web interface
socketPort : 8003, // optional, internal port for web socket, replace this when it is conflict with your own service
throttle : 10, // optional, speed limit in kb/s
disableWebInterface : false, //optional, set it when you don't want to use the web interface
setAsGlobalProxy : false, //set anyproxy as your system proxy
silent : false //optional, do not print anything into terminal. do not set it when you are still debugging.
};
new proxy.proxyServer(options);
FAQs
A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.
The npm package cube-anyproxy receives a total of 16 weekly downloads. As such, cube-anyproxy popularity was classified as not popular.
We found that cube-anyproxy 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.