
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
A CLI companion for Next.js App Router developers that scans API routes and provides quick insights from the terminal
next-lens is a light CLI companion for the Next.js App Router. Scan any project and see API and page routes instantly in your terminal.
app/**/page.* and shows whether loading / error is colocated or inherited.app/api/**/route.* with colorized HTTP methods.Run in a Next.js project root, or pass another directory:
npx next-lens@latest [command] [target-directory]
[dir] arguments are optional, they default to the current directory.
next-lens about — one-page tool overview.next-lens api:list [dir] [-m, --method] — list API routes and detected HTTP handlers.next-lens page:list [dir] — list page routes and show loading / error coverage.next-lens info [dir] — show Next.js / React / Node / package manager versions.next-lens web [dir] — launch the inspector UI.next-lens web:build [dir] — build a static readonly snapshot of the inspector.Expose the same insights to IDEs or copilots via MCP:
{
"mcpServers": {
"next-lens": {
"command": "npx",
"args": ["next-lens@latest", "mcp"]
}
}
}
MIT © Yiwei Ho
FAQs
A CLI companion for Next.js App Router developers that scans API routes and provides quick insights from the terminal
We found that next-lens 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.