Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
An API Gateway to easily expose your services to web clients
npm i -g api-joe
.api-joe
(optional argument for the config file path).The official image repository in Docker Hub is gcsboss/api-joe
.
Run like this: docker run -p 9000:9000 gcsboss/api-joe
port = 9000
[auth]
method = 'POST'
url = 'http://auth-api/path'
timeout = 3000
onSuccess = 'http://webhook.com/auth-success'
[redis]
host = 'session'
port = 6379
[services]
[services.my-service]
url = 'http://host-of-service'
endpoints = [
'POST /something',
'GET /stuff'
]
To specify your services, use the following structure:
Endpoint
: a string with the method and path from your service, you mean to expose
Service
: object with:
url
: string with protocol host and port to reach your servicesendpoints
: array of Endpoint
services
: object with:
<service name>
: Service
If you have found any problems with this module, please:
~bug
.We will make sure to take a look when time allows us.
If you wish to get that awesome feature or have some advice for us, please:
~proposal
.If you have spotted any enhancements to be made and is willing to get your hands dirty about it, fork us and submit your merge request so we can collaborate effectively.
[v0.1.1] - 2020-02-12
FAQs
An API Gateway to easily expose your services to web clients
The npm package api-joe receives a total of 3 weekly downloads. As such, api-joe popularity was classified as not popular.
We found that api-joe 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.