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.
vbb-rest is an HTTP server that proxies all requests to the Berlin & Brandenburg public transport (VBB) API. Using the vbb
API client library, it wraps the verbose HAFAS interface in a straightforward REST API.
vbb-rest is written in CoffeeScript and embraces prototypal programming, making it easily extendable. It is MIT-licensed.
npm install -g vbb-rest
You can now start the vbb-rest server wherever you want.
The server will forward the VBB API token from the HTTP X-API-Key
field, so get one for testing.
vbb-rest -c <cert> -k <key> # run the server in "live mode"
or
vbb-restd start -c <cert> -k <key> # start/stop the server in the background
vbb-rest
Usage:
vbb-rest -c <cert> -k <key> [-p <port>]
Arguments:
-c, --cert The SSL certificate.
-k, --key The SSL key.
Options:
-p, --port Where the server will listen. Default: 8000
vbb-restd
Usage:
vbb-restd start -c <cert> -k <key> [-p <port>]
vbb-restd stop <id>
Arguments:
-c, --cert The SSL certificate.
-k, --key The SSL key.
id The server process id.
Options:
-p, --port Where the server will listen. Default: 8000
When you start
a server, it will print its process id.
vbb-restd start -c <cert> -k <key>
info: The server <id> has been started.
You can use the id
later to stop
the server.
$ vbb-restd stop <id>.
info: The server <id> has been stopped.
If you have a question, found a bug or want to propose a feature, have a look at the issues page.
FAQs
An HTTP REST server for Berlin & Brandenburg public transport.
We found that vbb-rest 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.