@antfu/ni

npm

Is @antfu/ni safe to use?

The latest brin safety scan flagged @antfu/ni v28.2.0 with risk indicators that warrant review. No known CVE vulnerabilities. Trust score: 65/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

@antfu/ni Has Warnings

Warnings detected due to potential concerns

warning
CVEs

0

Threats

0

Install Scripts

0

Risk Indicators

  • Can spawn child processes

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.

Install with brin add @antfu/ni to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

@antfu/ni Capabilities & Permissions

What @antfu/ni can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

github.comregistry.npmjs.comvolta.sh
Protocols: https

Filesystem Access

Reads from the filesystem.

package.json (r).env (r).env (r)node_modules (r)package.json (r)/usr/ (r)/usr/ (r)/usr/ (r)+5 more

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

COMP_CWORDCOMP_LINEPATHPATHEXT_ISEXE_TEST_PLATFORM_

AGENTS.md for @antfu/ni

Good instructions lead to good results. brin adds @antfu/ni documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

@antfu/ni Documentation & Source Code

For the full @antfu/ni README, API documentation, and source code, visit the official package registry.

Frequently asked questions about @antfu/ni safety

Weekly Downloads

1.2M

Version

28.2.0

License

MIT

Last Scanned

Feb 1, 2026

Trust Score

65/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: github.com, registry.npmjs.com, volta.sh

Filesystem

Reads files

Process

Spawns child processes

Environment

Accesses: COMP_CWORD, COMP_LINE, PATH...

Is @antfu/ni Safe? | npm Safety Scan - brin