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.
@veams/bp-mock-api
Advanced tools
@veams/bp-mock-api
)With this blueprint you can scaffold a mock api endpoint with following options:
veams-cli
.veams-cli.json
.veams-cli.json
to fit the needs of your project.npm i @veams/bp-mock-api --save-dev
.veams-cli.json
by adding api
to the blueprint
object like so:{
"blueprints": {
"api": {
"skipImports": true,
"path": "node_modules/@veams/bp-mock-api"
}
}
}
Now you can use this blueprint with veams
by executing:
veams add api server/routes/api/articles
The output in your file system will be:
└── articles
└── controller.js
└── index.js
└── model.js
└── USAGE.md
Be sure to add the snippet in USAGE.md
into src/server/routes/api/index.js
to register the route.
Have fun!
FAQs
Blueprint templates for a mock api endpoint.
The npm package @veams/bp-mock-api receives a total of 113 weekly downloads. As such, @veams/bp-mock-api popularity was classified as not popular.
We found that @veams/bp-mock-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.