
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
One-click setup for GitHub Packages npm registry auth. No more 403 errors when installing private packages locally.
One-click setup for GitHub Packages npm registry auth. No more annoying 403 errors when installing private packages during local development.
gh CLI if not present (macOS/Linux/Windows)gh auth login with read:packages,repo scopes (interactive GitHub auth)@theplant @my-org)~/.npmrc with the correct registry and auth token, so npm install just worksnpm install -g ghtk
Or use directly with npx:
npx ghtk
ghtk
You'll see an interactive flow:
🔧 GitHub Packages npm registry configurator
✅ gh CLI is available.
Enter the GitHub org scopes to configure for npm.pkg.github.com.
You can enter one or more scopes separated by spaces.
Example: @theplant @my-org
Scopes: @theplant @another-org
After completing GitHub auth, your ~/.npmrc will be configured:
@theplant:registry=https://npm.pkg.github.com
@another-org:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=ghp_xxxxxxxxxxxx
Auto-install gh CLI support:
brew install gh)npm test
MIT
FAQs
One-click setup for GitHub Packages npm registry auth. No more 403 errors when installing private packages locally.
We found that ghtk 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.