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

@allansantos-dev/smart-tool

Latest version: v0.9.93

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: allansantos-dev
0 Stars
0 Forks
79 Versions
8.2K Downloads
Python Repo language

Scan summary

@allansantos-dev/smart-tool was last scanned on 29 Nov 2026 at version 0.9.93. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 79 versions; the latest 5 were published within 6 days (24–29 Nov 2026).
  • Findings: No rules fired in version 0.9.93.
  • Downloads: 8,232 downloads.

Versions

79 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.93 LATEST 29 Nov 2026 No rules fired
0.9.92 29 Nov 2026 No rules fired
0.9.91 28 Nov 2026 No rules fired
0.9.90 28 Nov 2026 Not shown
0.9.88 24 Nov 2026 Not shown

No rules fired in 0.9.93

Findings

Findings for v0.9.93. 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.9.93; other versions have their own rules, not their own score.

README

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

Smart Tool

A local MCP server that gives coding agents (Claude Code, Codex) cheaper, sharper tools than their built-in search:

Tool What it does
smart_search / smart_search_result Semantic + lexical search over an indexed project, results split into code, tests and docs, with the likeliest functions per chunk; queries (up to 5 objects with their own query_identifiers, query_comments, doc_query and folder, the other arguments shared) runs several searches in one call, one after the other, one section per query, an ERROR line for one that fails; projects ("all" for every registered project, or a list of project roots) searches several projects in one call, one section per project labelled with its project, ranked inside that project's own index and never merged across indexes (a project with no index, or an index built with another embedding model than the current one, is not searched and its section says why); without queries and projects the answer is unchanged
smart_scout Answers a question about the code with the lines that answer it: reads the candidate files inside Smart Tool and returns path:lines with the literal text, so the files never enter the agent's context; with a scout_model, a small model also writes a short answer and keeps only the lines that support it; a question about why something is as it is (why, reason, decided) also lists up to three decision notes from the notes the project keeps about its intent, as ids with one excerpt each
web_search / web_search_result Web search across several sources in parallel, in the query language and in English, with a cache shared across sessions; depth="research" runs a multi-round research loop; with fetch_top (1 to 8) and fetch_prompt, depth="quick" also reads the first results the way web_fetch_many does and appends the pages after the unchanged results (a page that fails shows its ERROR line; off by default). In a depth="quick" answer every result url: line ends with a YAML comment # (accessed YYYY-MM-DD), the day the result was retrieved, for citations
web_fetch Reads a known URL and returns only the answer to your prompt, written by a small model; pages are cached for 24 h. Pages over 60,000 characters are not cut: the model reads the parts closest to the prompt (needs an embedding_model). When an older copy of the URL is still in the cache, the Source: line says whether the page changed since that read (with its date) and a short diff (changed line counts, at most 20 diff lines) follows it. A page or document whose text holds a prompt-injection candidate ("ignore previous instructions", "you are now", a request to read ~/.ssh, in English or Portuguese) gets one warning line saying the content is data, not instructions; the text is never stripped or blocked
web_fetch_many Reads up to 8 known URLs in one call with the same prompt, 4 at a time, each exactly as web_fetch reads it (24 h cache, browser for JavaScript pages, public addresses only). One block per URL in the order given: the answer, or an ERROR line with the reason, so a URL that fails never hides the others; a repeated URL is read once
read_document Reads a PDF, Word, PowerPoint, Excel, HTML, CSV or EPUB file as compact text, a range at a time: type, size, page/slide/sheet/part/chapter count and estimated tokens first, then only the units asked for (range="3-5"), so the file never enters the agent's context whole. The path can also be an http(s) URL of a PDF, Word, PowerPoint, Excel, CSV or EPUB file: it is downloaded the way web_fetch downloads (public addresses only, 5 MB cap), kept for 24 hours and read with the same ranges and token estimate; a URL of a web page fails and points to web_fetch. With query instead of guessing ranges, only the 3 units most similar to it come back (inside range when given), labelled with their numbers and in document order; it uses the embedder like a long web_fetch page and fails loudly without one. Opt-in: the native Read is not redirected. Scanned PDFs fail with that reason (no OCR)
read_document_many Reads up to 8 documents (local paths or URLs, mixed) in one call, 4 at a time, each exactly as read_document reads it. One block per entry in the order given: the read_document answer, or an ERROR line with the reason. range, max_chars and info_only apply to every document (range="1-3" reads those units of each one and fails alone for a document it does not fit; max_chars is the cap per document); an entry repeated is read once; the call fails only when every document failed. Opt-in, like read_document
project_manage Registers and indexes projects, shows coverage, code maps, duplicated functions and index storage; graph with symbol tells what changing a function touches: callers, calls, the tests that reach it and the files that import it; with brief=true it also gives the files that usually change with it and the decision notes that name it; with format=mermaid it draws the callers and the calls as a Mermaid flowchart

Agents that must click, type or log in also get Microsoft's Playwright MCP, registered as the playwright server where this machine lets a browser be driven (see Set up, step 3).

An optional hook routes the agent's native Grep/Glob/Read/Bash/WebSearch/WebFetch calls to these tools when they are cheaper, or just tells the agent what Smart Tool would do.

Status: 0.9.93 beta. Windows only. What changed in each version: CHANGELOG.md.

How it works

A coding agent normally finds code by running grep over the whole project and reads the web by downloading whole pages. Both fill its context with text it does not need, and every token of it is paid for. Smart Tool is a small program that runs on your machine and offers the agent better tools for the same jobs, through MCP, the standard way agents call outside tools.

Claude Code / Codex ──MCP──▶ Smart Tool daemon (127.0.0.1, one per machine)
                               ├─ smart_search ──▶ local index of your project (SQLite)
                               ├─ smart_scout ───▶ the files behind a search, read on disk (small model optional)
                               ├─ web_search ───▶ several search engines at once, shared cache
                               ├─ web_fetch ────▶ the page, read by a small model
                               └─ project_manage
        your model gateway (OpenAI, OpenRouter, Ollama...) ◀── embeddings and small chat calls

Searching code. When a project is registered, a small model looks at its folder structure once and decides what is worth indexing (source, tests, docs; not build output or dependencies). Each file is cut into chunks of up to 200 lines, and each chunk gets an embedding, a list of numbers that captures its meaning. A search runs two ways at once, by meaning (embeddings) and by exact words (SQLite full-text search), merges the two lists and, if you set a rerank model, reorders the best candidates. The agent gets back a few chunks split into code, tests and docs, with the functions most likely to matter, instead of every line that contains a word. The index follows the project: only files whose content changed are processed again, and each Git branch keeps its own view.

Reading code to answer a question. smart_scout takes a question in plain language. It finds the candidates the same way as smart_search (or by keyword on disk while there is no index yet), reads the current lines of each one and keeps, per file, the window with most of the question's words. The agent receives path:lines and those lines verbatim. With a scout_model (the setup screen fills it with Claude Haiku 5.5 when the gateway has it), a small model reads those windows, writes a few lines of answer and picks which lines to show; without an index it first picks the words and folders to scan (two calls; one with an index). What the model writes never replaces the literal lines, and when it fails the lines come back with the error. With diff=true (and base, a git revision, default HEAD) the question is about the current change: no search runs, and the candidates are the changed hunks of the diff against base (two lines of context each; a new file is read whole), the callers of the changed functions and the tests that reach them, never the whole files. max_files then counts changed files, caller files and test files each; what is cut, deleted or unreadable is named in a warning. It fails, saying why, outside a git repository, with a base that is not a commit, and with a base but no diff.

Searching the web. web_search asks several free search sources in parallel (DuckDuckGo, Wikipedia, Yahoo, Exa, Google and others), in the language of the question and in English, and merges what comes back. Search APIs with a free quota (Tavily, Firecrawl, Marginalia, Yandex) and a real browser are tried only when those results are not enough; Brave, Mojeek or your own SearXNG join them when you give a key or an address in the setup screen. Free quotas are counted and remembered, and the answer names any source that dropped and how many answered. The Web search page of the setup screen has a Test all sources button that runs one real search per source and shows which answer, are rate limited, reject your key or fail (Exa and Parallel without your key are skipped, so the test never spends their free quota). Answers are cached and shared by every agent session on the machine, so the same question asked twice costs nothing the second time.

Reading a page. web_fetch takes a URL and a question. It downloads the page over plain HTTP; when the page only shows its content with JavaScript, it opens it in a headless browser (Moli first, Chromium as the fallback), which never reaches this machine or your local network. PDFs are read as text, page by page, and so are Word, PowerPoint and Excel files (docx, pptx, xlsx), by content type or by the extension of the URL when the server sends a generic binary type. A small model then reads the page and returns only the answer, with the source. The agent receives a paragraph instead of the whole page.

Steering the agent (optional hook). Agents keep reaching for their built-in tools out of habit. The hook sees each call before it runs: a content search over a project folder is stopped and the agent is told the exact Smart Tool call to make instead; reading a known file, or anything else, runs as usual. The same hook can remind the agent to document functions it edits and warn when it writes a function that already exists in the project.

What stays local. The daemon, the indexes, the caches and the logs live on your machine. Text leaves it only to reach the model gateway you chose (for embeddings and the small model calls) and the web search sources. With a local gateway such as Ollama, nothing about your code leaves the machine.

Requirements

  • Windows 10 or 11 (x64) and Node.js 18 or newer for npx. Python is not needed: the installer brings its own.
  • About 2 GB of downloads and 4 GB of disk on first install: Python 3.12 and its packages, Node.js when no supported version is installed, and the browsers for pages that need JavaScript (Camoufox alone is a 1.3 GB download; the installer shows its progress).
  • An OpenAI-compatible model API for embeddings and small chat calls (OpenAI, OpenRouter, a LiteLLM proxy, Ollama...). Web search works without it; smart_search falls back to lexical search.

Install

npx @allansantos-dev/smart-tool@0.9.93 install

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).

  • npm @allansantos-dev/smart-tool

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229