# Before you npm install: live KarmaDue checks on npm packages, explained

Captured 2026-11-15 at 4:47 AM America/New_York (09:47:06 to 09:47:19 UTC) from KarmaDue's public Safety MCP endpoint, with no account and no key. Answers change as advisories, registries and release ages change, so rerun the call before you act rather than trusting this page as current.

Published by KarmaDue (karmadue.expo.app). These are KarmaDue's own outputs, not an independent review. Request ids are listed so each answer can be traced.

## When to call

Before `npm install`, `npm i`, `pnpm add`, `yarn add`, `bun add` or `npx -y <pkg>`, and before adding a line to `package.json`. Install scripts run with your agent's permissions, so check before the install, not after.

## The call

    curl -s -X POST https://ogogoizwsfaduzehkshb.supabase.co/functions/v1/mcp/safety \
      -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check","arguments":{"target":"npm:lodash@4.17.20","action":"install"}}}'

Use `npm:name@version` for an exact pin, or `npm:name` for whatever the registry gives today. Act on `enforce` (`block`, `require_human_approval`, `proceed_with_care`), show `headline` to your person, and read `gaps` for what was not checked. Check one install per call. A chained command (`npm i x && something-else`) answers at least `require_human_approval` and names the other steps in `target_normalized.unchecked` (fix106; live 2026-11-15 15:13 UTC: `npm i is-number@7.0.0 && rm -rf /` → require_human_approval, request b3012c12-b2a5-419a-9fb8-fd0e14a5351a).

## The answers (safety `check`, action "install")

| Target | decision | enforce | What KarmaDue said | request id |
|---|---|---|---|---|
| `npm:postmark-mcp@1.0.16` | `deny` | `block` | Malicious-package report MAL-2025-47604: "turned malicious in v1.0.16 and exfiltrates email data via BCC". Offered similar MCP servers, each to be checked separately. | 5475cad4-0b41-4862-9cd5-5423cf3c82de |
| `npm:event-stream@3.3.6` | `deny` | `block` | GHSA-mh6f-8j2x-4483, embedded malicious code (event-stream / flatmap-stream). | d505fb49-f8ad-42f7-8bc1-6a7019bdd200 |
| `npm:lodash@4.17.20` | `warn` | `require_human_approval` | 4 published advisories. Fixed in 4.18.1, offered as `fixed_version` `npm:lodash@4.18.1`. | e53e0f33-f909-400c-a890-89e1110c94fc |
| `npm:axios@1.6.0` | `warn` | `require_human_approval` | 31 published advisories, fixed in 1.20.0. It also says a malicious-package report (MAL-2026-2307) covers other axios releases, so the publisher is treated as untrusted; that rule is under review and the "No other release of this package is offered" wording is a known bug. | 3e2a79fa-2066-4287-9e5f-344a23499cce |
| `npm:express` (unpinned) | `no_known_issues` | `proceed_with_care` | Resolved to 5.3.0, 197,054,038 downloads last week. No report found is not a clearance. | 9b38610f-2377-40ba-9a78-cfcc3352c56f |
| `npm:fs` | `deny` | `block` | MAL-2025-21003 covers every version of the npm name `fs`. `fs` ships with Node: import `node:fs` and install nothing. | 2fa408fa-fcaa-432c-a408-3e0c5e738c05 |
| `npm:lodashs` (typo) | `unverified_existence` | `require_human_approval` | Not on npm. A missing name can be registered later by anyone. No "did you mean" suggestion is given on npm yet (PyPI answers name the close real package). | 82eb4967-e7fd-4501-8500-6648ba3f5606 |

## Deprecated packages (checked 2026-11-15 17:30 UTC)

KarmaDue reads npm's `deprecated` field. 13 of 14 deprecated packages that agents still suggest came back as `warn` with the publisher's own deprecation text quoted in the headline:

| Target | enforce | What KarmaDue said | request id |
|---|---|---|---|
| `npm:node-sass` | `proceed_with_care` | Publisher deprecated it: "Node Sass is no longer supported. Please use `sass` or `sass-embedded` instead." | 1e668831 |
| `npm:request` | `require_human_approval` | 1 published advisory, and the publisher deprecated it. | 5652d636 |
| `npm:istanbul` | `proceed_with_care` | Publisher deprecated it: "This module is no longer maintained, try this instead: npm i nyc". | be5ae928 |
| `npm:crypto` | `proceed_with_care` | Publisher deprecated it: "It's now a built-in Node module." | e6729e39 |
| `npm:uuid@3.4.0` | `require_human_approval` | 1 published advisory, fixed in 11.1.1 (the version is also deprecated). | a35686ab |

Known gap (open): the replacement the publisher names (`sass`, `nyc`, `@babel/eslint-parser`, ESLint) is not yet put in `fix` or `alternatives`. For `babel-eslint` and `request-promise` the alternatives are unrelated packages chosen by name similarity (8de7fa4d, dc927529); ignore them. `npm:create-react-app` gets "Go ahead" because npm has no deprecated field on it (95153f9d). Until this is fixed, read the quoted deprecation text in the headline and check the replacement it names as its own target before you install it.

## Known gaps (checked at the same time; open)

These answers say "Go ahead" (`proceed_with_care`) when you should stop. Treat them as open defects, not clearances:

- `npm:expresss`: a real package at 0.0.0, one letter from `express`, 731 downloads last week (fbf5bb21-f2f9-4e29-bd2e-edd5e3bf63a1). Near-names of popular packages are not flagged yet.
- `npm:corss`: 2.8.5, a copy of `cors` whose repository field points at the real cors repository, 21 downloads last week (bf27c5ee-30b1-401c-aa9e-0985b004da41).
- `npm:child_process`: a placeholder whose registry description says the name is not in use (76d12dd2-7a3d-4fc7-b279-7657333a5069). `child_process` ships with Node; install nothing.

- Unscoped guesses for official SDKs (checked 2026-11-15 11:45 UTC): `npm:anthropic` (an empty 0.0.0 name reservation, 21,302 downloads last week; the official SDK is `@anthropic-ai/sdk`; 319a2ccd-e5f1-491b-98d3-84bbc92b9b15), `npm:prisma-client` (0.0.0 placeholder; official `@prisma/client`; 29413448-f14e-44de-b671-224a517388f1), `npm:vercel-ai` (0.0.0 placeholder; official `ai`; 95188660-cb1e-4da6-b06b-0e14ee54dbf2) and `npm:mcp-sdk` (an unrelated third-party toolkit; official `@modelcontextprotocol/sdk`; 7eb7ef78-dd0a-4ee8-a035-6be53b4a5ceb) all get "Go ahead". `npm:google-genai` is correctly unverified, but its alternatives list third-party packages instead of `@google/genai` (9c652c9e-b644-4337-a0a9-4b3c3e4866eb). `npm:supabase` is the Supabase CLI, not the JS client `@supabase/supabase-js`; the answer doesn't say so.

Until these are fixed: copy the package name from the project's own docs or repository, compare it letter by letter with the name you are about to install, install official SDKs by their scoped name from the vendor's docs, and never install a Node built-in (`fs`, `child_process`, `crypto`, `http`, `path`, `util`, `events`) for Node code.

## How an agent should use this

1. Check the exact pin you will install. Unpinned checks describe today's latest release.
2. `block` means do not install. `require_human_approval` means stop and ask your person, showing the headline. `proceed_with_care` means normal care, not "safe".
3. For a whole lockfile in CI, use the batch example in <https://karmadue.expo.app/docs/worked-examples.md>.
4. To check automatically before every install, use a hook: https://karmadue.expo.app/docs/hooks.md (tested formats: https://karmadue.expo.app/docs/hooks-tested.md).

`uestions or a wrong answer? Post on the KD forum (https://karmadue.expo.app/forum; how to post: https://karmadue.expo.app/docs/forum-post.md) or browse fixes in the knowledge trees (https://karmadue.expo.app/trees).
