Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

importprobe

Latest version: v0.1.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
MCP server Transport: stdio Publisher: KaanKaya17
0 Stars
0 Forks
1 Versions
JavaScript Repo language

Scan summary

importprobe was last scanned on 24 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 24 Nov 2026.
  • Findings: No rules fired in version 0.1.1.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 24 Nov 2026 No rules fired

No rules fired in 0.1.1

Findings

Findings for v0.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

importprobe

npm CI license

Catch what your AI coding agent made up — before it runs.

AI assistants write code that is almost right: an import from a package that doesn't exist, a function the package never exported, a method from a different library or an older major version, a typo'd package name that an attacker registered. importprobe checks every import and API call against the real package.

npx importprobe          # check the current project
npx importprobe init     # make your AI agent check its own code (Claude Code, Cursor, VS Code)

What it checks

Problem Example Rule
Package doesn't exist import x from 'axios-retry-pro' unknown-package
Typosquat or brand-new / barely used package expresss, loadsh, a name registered last week suspicious-package
Deprecated package request deprecated-package
Real package, not in package.json, not installed import { nanoid } from 'nanoid' missing-dependency
Works only by accident (transitive) import mime from 'mime-types' undeclared-dependency
Export doesn't exist import { formatRelative } from 'dayjs' unknown-export
Method doesn't exist — directly or in a chain axios.fetch(), z.string().emailAddress(), express().listenAsync() unknown-member
Entry point doesn't exist dayjs/plugin/relativeTimes unknown-subpath
Node built-ins node:paths, readJsonSync from node:fs unknown-builtin, unknown-export
Local files missing file, wrong export name, default import of a named-only module missing-file, unknown-export, no-default-export

Works on .js .jsx .ts .tsx .mjs .cjs and the scripts of .vue, .svelte and .astro files.

And it explains why, so the fix is obvious:

  • "was removed: it last existed in v5" / "was added in v8" — checks other majors of the package (or its @types).
  • "is exported by date-fns" — the AI mixed up two libraries (your dependencies, Node built-ins, and a built-in index of ~100 popular packages).
  • "did you mean" — closest real names. Suggested packages must themselves be established (≥ 1,000 downloads/week); deprecated ones are marked.

It checks the real package without installing it. When a package isn't installed, importprobe downloads the published tarball, keeps only declaration / JS / package.json files, and reads them with the TypeScript checker. Nothing from the package is ever executed — no install scripts, no require.

Chained-call checks only report members missing from types that a package's own declaration files define. Your project's types, augmentations (declare global, declare module) and tsconfig paths/types are respected.

Use it

npx importprobe                 # current folder
npx importprobe src/ app.tsx    # files or folders
npx importprobe --changed       # only files changed in git
npx importprobe --fast          # imports + direct members only, no network hints
npx importprobe --json          # for tools
npx importprobe --sarif > importprobe.sarif   # GitHub code scanning

Exit code 1 when errors are found (--strict: warnings too), 0 when clean. In a monorepo each file is checked against its own nearest package.json.

Let your AI agent check — and fix — its own code
npx importprobe init            # detects .claude / .cursor / .vscode
npx importprobe init claude cursor vscode --dry-run

init merges into your existing config files (it never drops your settings and leaves files with comments untouched, printing what to add instead):

Agent What it adds
Claude Code a PostToolUse hook in .claude/settings.json — after every file the agent writes, invented imports go straight back to the agent — plus the MCP server in .mcp.json
Cursor the MCP server in .cursor/mcp.json
VS Code the MCP server in .vscode/mcp.json

Claude Code hook (.claude/settings.json):

{
  "hooks": {
    "PostToolUse": [
      { "matcher": "Write|Edit|MultiEdit",
        "hooks": [{ "type": "command", "command": "npx -y importprobe hook" }] }
    ]
  }
}

MCP server, any client: command npx, args ["-y", "importprobe", "mcp"] (on native Windows: command cmd, args ["/c", "npx", "-y", "importprobe", "mcp"]).

claude mcp add importprobe -- npx -y importprobe mcp
MCP tools: look things up instead of guessing
Tool What the agent gets
list_exports The real API of a package or built-in, with signatures; or the members of one export (methods, what a call returns, class instance members). Installed version, or any version from npm.
check_package Does it exist? How old, how popular, deprecated? Similar real names if not.
check_files Everything the CLI checks, as agent-ready feedback.

importprobe is listed in the MCP Registry as io.github.KaanKaya17/importprobe.

GitHub Action

Annotates the pull request on the exact lines, writes a job summary, and can produce SARIF:

- uses: KaanKaya17/importprobe@v0.1.1 # or pin the commit SHA
  with:
    path: src            # default: .
    fail-on: error       # error | warning | never
    sarif: importprobe.sarif   # optional
- uses: github/codeql-action/upload-sarif@v3   # optional: show in the Security tab
  if: always()
  with: { sarif_file: importprobe.sarif }

Outputs: errors, warnings. The action runs the importprobe code of the ref you pinned; it does not download anything else at run time (except registry lookups).

How it works

  1. Pre-scans files for module specifiers (static, dynamic import(), require, re-exports).
  2. For each package: is it declared? installed? on npm? how old, how popular, deprecated, a typo of a popular name?
  3. Fetches declarations for packages that aren't installed (+ matching-major @types/*).
  4. Builds one TypeScript program (with your project's .d.ts files and resolution settings) and asks the checker what each module really exports and what each value really has.
  5. For misses, looks at other major versions, your other dependencies and a built-in index to explain them.

Exports inferred from plain-JavaScript packages (no types) can be incomplete, so those findings are warnings, not errors.

Cache and privacy

Only public registry endpoints are called (registry.npmjs.org, api.npmjs.org), and only with package names — including names of the packages your code imports, so private package names are sent too unless you use --offline. Your code never leaves your machine.

Downloads and registry answers are cached in one folder (%LOCALAPPDATA%\importprobe\cache, $XDG_CACHE_HOME/importprobe or ~/.cache/importprobe; override with IMPORTPROBE_CACHE). It is kept under 200 MB (IMPORTPROBE_CACHE_MAX_MB): entries unused for 30 days, then the least recently used ones, are removed automatically.

npx importprobe cache          # where, how big
npx importprobe cache clean    # remove everything importprobe downloaded

Development

npm install
npm run demo:setup   # installs both sample apps' dependencies (scripts disabled)
npm run demo         # run against test/fixtures/ai-app
npm test
npm run smoke        # pack, install the tarball, run it
node scripts/build-index.mjs   # refresh the built-in export index
node scripts/render-demo.mjs   # refresh docs/demo.svg
IMPORTPROBE_DEBUG=1 npx importprobe   # phase timings (=files: biggest packages loaded)

Releasing: see RELEASING.md.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.KaanKaya17/importprobe

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229