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.
@meeshkanml/jaymock-cli
Advanced tools
Mock an API and generate fake JSON test data, right from the terminal.
Mock an API and generate fake JSON test data, right from the terminal.
~ ❯❯❯ npm install --global @meeshkanml/jaymock-cli
Usage
$ jaymock <text> [--json]
$ cat <file> | jaymock [--json]
$ jaymock --server [--port <number>]
Options
--json, -j Print output in JSON format
--server, -s Start a development server for API mocking
--port, -p Specify a port number for the server
Examples
$ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}'
{
"firstName": "Alvina",
"lastName": "Hodkiewicz"
}
$ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}' --json
{"firstName":"Anthony","lastName":"Krajcik"}
$ jaymock --server --port 1337
Thanks for wanting to contribute! We will soon have a contributing page detailing how to contribute. Meanwhile, feel free to star this repository, open issues, and ask for more features and support.
Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.
MIT © Meeshkan
FAQs
Mock an API and generate fake JSON test data, right from the terminal.
The npm package @meeshkanml/jaymock-cli receives a total of 0 weekly downloads. As such, @meeshkanml/jaymock-cli popularity was classified as not popular.
We found that @meeshkanml/jaymock-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.