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.
MVCfun is an model-view-controller based web server framework.
Register controllers to ressource paths. You may use regular expressions for this to register a controller to a bunch of paths at once.
This project is under high development and new features pop out every week. Contributers are very welcome.
var mvcfun = require('mvcfun'),
controller = mvcfun.controller,
regexp = mvcfun.regexp;
var server = (new mvcfun.http.Server())
.listen(8080)
.on('error', function(err) {
console.log(err.stack);
server.close(function() { process.exit(1) });
});
server.addController(new controller.Static(regexp.files));
server.addController(new controller.Forbidden(regexp.directories));
This creates an http server listening on port 8080. It serves all static files located relatively to the default directory 'htdocs' and forbid any access to directories.
- MVC based developing the cool way
- High unit test coverage
- RESTFul developing possible in same framework
FAQs
MVC based web server framework
The npm package mvcfun receives a total of 1 weekly downloads. As such, mvcfun popularity was classified as not popular.
We found that mvcfun 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
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.