# Safe npm install: evidence before dependencies

> A dependency decision playbook for agents: check releases, explain risk, pin versions, and review install scripts.

Safe npm install: evidence before dependencies is a paid AI agent skill on Agensi by HARSHA B S, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [HARSHA B S](https://www.agensi.io/creators/harsha-b-s)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/safe-npm-install-evidence-before-dependencies
- Tags: security, devops, npm, dependency-security, supply-chain, mcp, claude-code, cursor

## About this skill

Coding agents can change dependencies faster than a person can inspect a release. Safe npm install puts a consistent decision process before npm, pnpm, yarn, and bun changes and package-safety questions. It uses the free Dep Bouncer MCP server to inspect release history, publisher and provenance changes, install behavior, dependencies, code findings, and advisory evidence.

The agent playbook complements the free server and its bundled prompt: it reconciles incomplete coverage, separates range audits from locked versions, checks peers, explains evidence plainly, and pins the exact checked version. ALLOW permits an authorized install; REVIEW asks the user; BLOCK prevents that release and offers a checked alternative when available. Script decisions remain specific to the package and version.

For Claude Code, Cursor, and generic Streamable-HTTP MCP agents, the package includes setup instructions, a finding reference, and worked examples. It is readable Markdown with no hidden execution, telemetry, credential handling, or bundled enforcement hook.

### What you get
- Separate workflows for adds, upgrades, audits, scripts, version selection, and safety questions.
- BLOCK stops and incomplete or uncertain checks require review.
- Minimal manifests are built locally; skipped entries and unaudited peers are reconciled.
- Checked versions are pinned exactly and unnecessary lifecycle scripts stay disabled.
- Signal and code-pattern evidence is translated into practical explanations.

### How it works
1. Connect a skill-capable agent to the free hosted Dep Bouncer MCP server or a configured self-hosted server.
2. Choose the workflow for the requested add, upgrade, audit, script review, version selection, or safety question.
3. Send only the tool arguments required for that check; for a manifest audit, first build the allowed minimal manifest locally.
4. Read the structured result, findings, completeness, and coverage notes, then apply ALLOW, REVIEW, or BLOCK rules.
5. For an authorized install, pin the exact checked version, preserve the project’s package manager, and report actual changes and warnings.

### Privacy and network calls
MCP calls go to the configured endpoint, by default the author's free hosted service. The server receives package names and requested versions/ranges, or the specific upgrade, script-review, incident, or minimal-manifest arguments for the selected tool, plus ordinary MCP/HTTP metadata. A minimal manifest may disclose the project's name/version and dependency names, values, and section labels; scripts and other project fields are excluded. Private or non-registry dependencies are omitted and treated as unresolved REVIEW. Live checks can query npm registry metadata/tarballs, npm download counts, and OSV advisories. Replays use bundled reconstruction fixtures without live registry/OSV lookups. Installs make normal package-manager requests; approved scripts can make additional calls. The playbook adds no telemetry or uploads of source files, lockfiles, conversation text, environment, or credentials. Checks are npm heuristics, not a safety guarantee.

## Requires

- Dep Bouncer MCP
- Node.js
- npm or pnpm or Yarn or Bun

Dep Bouncer is free; its setup URL is in SKILL.md. Use your project's own package manager.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Safe npm install: evidence before dependencies skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is the server free?

Yes. The hosted server is free and run by the skill author; self-hosting is supported.

### What data is sent?

The chosen MCP tool receives its listed arguments, such as package name and version/range. A manifest check sends a locally built minimal JSON manifest and includeDev; that can disclose project name/version and dependency names, values, and section labels. Ordinary MCP/HTTP metadata also accompanies requests. The playbook does not send source files, lockfiles, conversation text, environment, or credentials.

### What if the server is down?

Unavailable, timed-out, malformed, or incomplete checks are REVIEW, never ALLOW. Pause dependency changes until the check is complete or the connection is restored.

### Does it replace npm audit?

No. It adds heuristic release and code evidence; keep normal vulnerability checks and project validation. Its checks are not a guarantee and do not cover every vulnerability, locked/transitive dependency, or malicious release.

### Which package managers are supported?

The workflows cover npm, pnpm, yarn, and bun. Use the existing manager and its appropriate exact-save and script-suppression options.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
