nock

npm

Is nock safe to use?

Based on the latest brin safety scan, no vulnerabilities or threats were detected for nock v14.0.11. Trust score: 75/100. No known CVE vulnerabilities, no detected threat patterns, and no suspicious capabilities identified. This is an automated, point-in-time assessment.

Install (safety-checked)

nock Passed Security Checks

No security concerns detected

clean
CVEs

0

Threats

0

Install Scripts

0

No Concerns Detected

No security concerns detected in the latest brin assessment. This is an automated, point-in-time evaluation — security posture may change.

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.

nock Capabilities & Permissions

What nock 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.

developer.mozilla.orgfetch.spec.whatwg.orggithub.comnodejs.orgtools.ietf.orgzombo.comzombo.com).get(
Protocols: http, https

Filesystem Access

Reads and writes to the filesystem.

.env (w).env (rw)

Environment Variables

Accesses the following environment variables.

NOCK_BACK_MODENOCK_OFF

AGENTS.md for nock

Good instructions lead to good results. brin adds nock 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 →

nock Documentation & Source Code

For the full nock README, API documentation, and source code, visit the official package registry.

Frequently asked questions about nock safety

Weekly Downloads

5.5M

Version

14.0.11

License

MIT

Other Versions

Last Scanned

Feb 9, 2026

Trust Score

75/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: developer.mozilla.org, fetch.spec.whatwg.org, github.com...

Filesystem

Reads & Writes files

Environment

Accesses: NOCK_BACK_MODE, NOCK_OFF