lint-staged

npm

Is lint-staged safe to use?

The latest brin safety scan flagged lint-staged v16.2.7 with risk indicators that warrant review. No known CVE vulnerabilities. Trust score: 75/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

lint-staged 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 lint-staged 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.

lint-staged Capabilities & Permissions

What lint-staged can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Filesystem Access

Reads and writes to the filesystem.

.env (r)package.json (r).env (rw).env (rw).env (rw)package.json (rw)/usr/ (rw)

Process Spawning

This package can spawn child processes.

git

Environment Variables

Accesses the following environment variables.

GIT_DIRGIT_LITERAL_PATHSPECSGIT_WORK_TREE

AGENTS.md for lint-staged

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

lint-staged Documentation & Source Code

For the full lint-staged README, API documentation, and source code, visit the official package registry.

Frequently asked questions about lint-staged safety

Weekly Downloads

16.2M

Version

16.2.7

License

MIT

Last Scanned

Jan 31, 2026

Trust Score

75/100·Legitimacy signals, not safety

Capabilities

Filesystem

Reads & Writes files

Process

Spawns child processes

Environment

Accesses: GIT_DIR, GIT_LITERAL_PATHSPECS, GIT_WORK_TREE

Is lint-staged Safe? | npm Safety Scan - brin