
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@mock-verse/mocktail-cli
Advanced tools
**Craft your data cocktail — realistic mock data, shaken not stirred.**
Note: .env file was sanitized in this package release. Use .env.example to set DATABASE_URL before running anything that needs a DB.
Mocktail‑CLI — The schema‑aware mock data generator for developers. Generate realistic, relation‑aware mock data from your Prisma schema directly from the command line.
Mocktail‑CLI is a Prisma‑aware CLI tool for generating realistic mock data based on your database schema. It supports nested relations, circular relation handling, deterministic seeds, and multiple output formats, helping you build and test without waiting on backend data.
--seed and --seed-value.mock.config.js.# global install
npm i -g mocktail-cli
# or run on demand
npx mocktail-cli generate --help
npx mocktail-cli generate \
--schema ./prisma/schema.prisma \
--models User,Post \
--count 50 \
--output ./mocks/data.json \
--seed
--depth 2 — set how deep nested relations go.--output — output to a file or stdout.# Generate 20 Users
mocktail-cli generate --schema ./prisma/schema.prisma --models User --count 20
# Generate Users and Posts with specific counts
mocktail-cli generate --schema ./prisma/schema.prisma --models User,Post --count 10,30 --output mocks.json
# Generate SQL inserts instead of JSON
mocktail-cli generate --schema ./prisma/schema.prisma --format sql --output seed.sql
Define a mock.config.js or mock.config.json to customize generation.
module.exports = {
defaults: { locale: 'en', seedConsistency: true },
models: {
User: { count: 20, faker: { name: 'fullName', email: 'email' } },
Post: { count: 50, relations: { author: { connectBy: 'User' } } }
}
}
mocktail-cli generate --schema ./schema.prisma --count 50mocktail-cli generate --seed --seed-value 42We welcome PRs, bug reports, and feature ideas.
Mocktail‑CLI is MIT licensed. Issues and discussions welcome on the GitHub repository.
Order up! Your personal code barista is here. Serving fresh, Prisma-aware mock data, shaken not stirred.
FAQs
**Craft your data cocktail — realistic mock data, shaken not stirred.**
We found that @mock-verse/mocktail-cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.