
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.
@aux4/faker
Advanced tools
CLI to generate fake data
npm install -g @aux4/faker
This uses faker to generate fake data. See all the available options.
$ aux4-faker fake value <module> <method> [args/params]
e.g.:
$ aux4-faker fake value person firstName
Tommy
$ aux4-faker fake value person firstName female
Nora
$ aux4-faker fake value number int min=1 max=10
6
Generating multiple values:
$ aux4-faker fake value person firstName --count 3
[
"Leslie",
"Daren",
"August"
]
$ aux4-faker fake value person firstName --min 3 --max 5
[
"Harmony",
"Vickie",
"Icie",
"Nils"
]
config.yaml
config:
person:
mapping:
firstName:
fake: person firstName
lastName:
fake: person lastName
age:
fake:
value: number int
params:
min: 18
max: 90
$ aux4-faker fake object --config <config path>
$ aux4-faker fake object --config person
{
"firstName": "Priscilla",
"lastName": "Mraz",
"age": 69,
}
Generating multiple objects:
$ aux4-faker fake object --config person --count 3
[
{
"firstName": "Minnie",
"lastName": "Simonis",
"age": 63
},
{
"firstName": "Sandy",
"lastName": "McCullough",
"age": 18
},
{
"firstName": "Vicki",
"lastName": "Langworth",
"age": 28
}
]
$ aux4-faker fake object --config person --min 1 --max 3
[
{
"firstName": "Myra",
"lastName": "Mueller",
"age": 90
},
{
"firstName": "Sheryl",
"lastName": "Hartmann",
"age": 40
}
]
Generating nested objects:
config:
person:
mapping:
firstName:
fake:
value: person firstName
args:
- female
lastName:
fake: person lastName
age:
fake:
value: number int
params:
min: 18
max: 90
address:
type: array
fake:
options:
min: 0
max: 2
mapping:
street:
fake: location streetAddress
city:
fake: location city
state:
fake: location state
zip:
fake: location zipCode
$ aux4-faker fake object --config person
{
"firstName": "Robyn",
"lastName": "Rau",
"age": 19,
"address": [
{
"street": "21506 Beulah Fork",
"city": "Janabury",
"state": "Oklahoma",
"zip": "15669-9735"
}
]
}
If you want to have the address as an object instead of array, you can replace it:
address:
type: object
mapping:
street:
fake: location streetAddress
city:
fake: location city
state:
fake: location state
zip:
fake: location zipCode
$ aux4-faker fake object --config person
{
"firstName": "Veronica",
"lastName": "Lind",
"age": 36,
"address": {
"street": "31102 Royce Route",
"city": "North Willafield",
"state": "Georgia",
"zip": "15127"
}
}
FAQs
CLI to generate fake data
We found that @aux4/faker 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.

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.