Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
flex-combo
Advanced tools
The Flex-combo is combo tool designed for web front-end developer. It support various kinds of combo format by modify configuration(eg. yahoo combo).
#Flex-combo The Flex-combo is a javascript and css file combo server. The tool is designed for web front-end developer. It support various kinds of combo format by modify configuration(eg. yahoo combo). Default, it's a taobao format combo.
#Install
Install flex-combo by npm install flex-combo
or fork on github flexcomb
#Have a try After install.
cd node_modules/flex-combo
node ./test.js
Open you browser visit
http://127.0.0.1:1337/test/js/??js1.js,js2.js,js3.js
#Useage Import module and create module instance and pass a configuration like this:
var http = require('http');
var flexCombo = require('./flex-combo.js');
var comboInst = flexCombo(__dirname, {'/test': 'test'});
http.createServer(function (req, res) {
comboInst(req, res, function(){
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
})
}).listen(1337, '127.0.0.1');
console.log('Flex Combo Server running at http://127.0.0.1:1337/');
It meas if a http request start with http://xxxx.com/test
flex-combo will find file in `./test' directory.
#Command line
If install flex-combo as global mode npm install -g flex-combo
. There is a command line flex-combo [URL prefix]
to simplely start a combo server base current directory.
FAQs
The Assets Handling Middleware for web front-end developer, which support combo format(eg. yahoo combo).
The npm package flex-combo receives a total of 10 weekly downloads. As such, flex-combo popularity was classified as not popular.
We found that flex-combo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.