
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
create-author
Advanced tools
A simple CLI tool to add author information to your package.json file.
You can use this tool directly with npx (no installation required):
npx create-author
Or install it globally:
npm install -g create-author
Navigate to a directory containing a [package.json] file and run:
npm init author
The tool will prompt you for the following information:
After providing the information, the tool will update your [package.json]file with the author details.
$ npm init author
Please enter author information for package.json:
Author name: John Doe
Author email (optional): jvy@qq.com
Author URL (optional): https://hub.js.cn
Author information successfully added to package.json
This will add the following to your package.json:
{
"author": {
"name": "JVY",
"email": "jvy@qq.com",
"url": "https://hub.js.cn"
}
}
If you only provide a name, it will create a simpler entry:
{
"author": {
"name": "John Doe"
}
}
package.json file in the current directoryFAQs
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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.