
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A CLI tool that instantly copies React hooks into your codebase.
hookcn started as a personal tool. Now it’s open for everyone. It lets you copy TypeScript React hooks directly into your codebase — no dependencies, full ownership.
Install the CLI globally:
npm install -g hookcn
[!TIP] You can then run commands using
hookcn,hcn, oruse-hook-cli.
npx hookcn init
This creates a hooks.json file at your project root:
{
"destination": "src/hooks"
}
This tells the CLI where to place downloaded hooks. You can update it anytime.
List available hooks from the registry:
npx hookcn list
Install a hook by name:
npx hookcn add <hook-name>
The hook will be copied into the directory defined in hooks.json (default: src/hooks/).
Every hook comes with a markdown file inside the docs/ folder.
You can also explore all available hooks and their documentation online on Gitbook.
Contributions are always welcome — whether it’s new hooks, CLI improvements, or documentation fixes.
Refer to this guide CONTRIBUTING.md for more details.
FAQs
A CLI tool that instantly copies React hooks into your codebase
The npm package hookcn receives a total of 3 weekly downloads. As such, hookcn popularity was classified as not popular.
We found that hookcn 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.