
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
github.com/Shodske/payment-api
Advanced tools
This is an example repo for a small RESTful API in which you can manage payments.
This API is based on the json:api specification and one can expect the API to behave according to this specification.
For ease of use a docker-compose.yml has been created that will run
the API, database and Swagger UI.
The API specification is written in OpenAPI Specification 3.0
and can found in api/oas.yml.
A Swagger UI docker image is set up for easier reading and sending requests to the API.
A docker-compose.yml file has been set up to start the API. Which can
be run using the Makefile. To override any of the environment
variables, you can create a .env file in the project root, which will
be picked up by docker-compose.
make start: Start the Docker containers running the API, the Postgres
database and Swagger UI.make stop: Stop all Docker containers.make logs: Follow the logs of the API and Postgres database.make test: Run all tests.FAQs
Unknown package
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.