Voyager Browser

io.github.dir-ai由 GitHub 帳號 dir-ai 發布v0.7.0更新於 Oct 24, 2026

Voyager's web-page sense: safe read-only observation of one live URL (structure, security, a11y).

概覽

AI 產生的概覽

以唯讀方式檢查單一線上網址,回報頁面結構、安全標頭、表單、連結與無障礙訊號。

可以做什麼
只提供一個工具 observe_page,用一般 GET 抓取一個 http(s) 網址,回傳簡報,涵蓋頁面結構、表單、連結、指令碼來源、安全態勢(HTTPS、HSTS、CSP、混合內容、Cookie),以及無障礙訊號,例如 lang、圖片 alt 覆蓋率與標題層級順序。每項發現都附有嚴重程度,以及一段只描述、不會自動套用的修正建議。它只解析靜態 HTML,不執行 JavaScript,也不渲染用戶端狀態;當內容疑似由 JavaScript 渲染時,會把結果標記為不完整。頁面文字一律以不受信任資料的形式回傳。
適用情境
適合需要快速、非侵入式檢視單一公開頁面的情境:檢查安全標頭、找出不安全或跨來源表單、做基本無障礙檢視,或在其他工作之前蒐集連結與指令碼來源資訊。它不是爬蟲、掃描器或瀏覽器,因此不適合多頁批次抓取、需要登入的頁面或重度依賴 JavaScript 的單頁應用程式。
執行需求
以 npm 套件 @dir-ai/voyager-browser 的形式在本機透過 stdio 執行,需全域安裝並以 mcp 參數啟動。需要 Node.js 以及連往目標網址的對外網路。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝前請注意
雖然只做唯讀 GET,仍會向目標主機送出請求,而且除非關閉探索功能,還會被動探測一小段固定的敏感路徑清單,例如 /.git/config 與 /.env。請僅對你有權檢查的網址使用。它會解碼頁面中形似 JWT 的權杖而不驗證簽章;所有來自頁面的文字都標記為不受信任,應視為資料而非指令。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Voyager Browser,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@dir-ai/voyager-browser

Voyager's web-page sense. A safe, read-only observation of one live URL: its structure, forms, links, script origins, security posture (HTTPS / HSTS / CSP / mixed-content / cookies) and accessibility signals (lang, image alt coverage, heading order) — each with a described, never applied fix.

It parses static HTML — no JavaScript execution, no headless browser — so it's honest about what it can and cannot see (it will not render a client-side SPA's runtime state). Every piece of page text is returned framed as untrusted. It is SSRF-gated: it refuses non-http(s) URLs and anything resolving to private, loopback, or cloud-metadata addresses.

One sense in the Voyager family. Read-only, like all the senses — it never submits a form, clicks, or mutates anything.

Install

bash
npm i -g @dir-ai/voyager-browser

Use

bash
voyager-browser observe https://example.comvoyager-browser observe https://example.com --json
https://example.com/https://example.com — 200; 3 finding(s), worst: medium. 0 form(s), 1 link(s).
  title: Example Domain  security: https  ·  a11y lang:yes alt:n/a
  med   HTTPS without HSTS        ↳ add Strict-Transport-Security: max-age=63072000; includeSubDomains  med   no Content-Security-Policy        ↳ add a Content-Security-Policy to constrain scripts/resources  low   no X-Content-Type-Options: nosniff        ↳ add X-Content-Type-Options: nosniff

As an MCP server

One tool, observe_page.

json
{ "command": "voyager-browser", "args": ["mcp"] }

As a library

ts
import { observe } from '@dir-ai/voyager-browser'
const brief = await observe('https://example.com')console.log(brief.summary)console.log(brief.security)   // { https, hsts, csp, mixedContent, thirdPartyScripts, … }console.log(brief.forms)      // insecure / cross-origin / sensitive flagsconsole.log(brief.findings)   // severity + described fix

What it looks for

  • Security posture (quality, not just presence) — plain HTTP; missing/weak HSTS; missing CSP or a CSP graded weak (unsafe-inline/unsafe-eval/wildcard/no object-src/no base-uri); missing clickjacking protection (X-Frame-Options / frame-ancestors); missing nosniff, Referrer-Policy, Permissions-Policy; version-leaking Server/X-Powered-By; mixed content on an HTTPS page (origin-compared, not prefix); per-cookie Secure/HttpOnly; third-party scripts without Subresource Integrity.
  • Forms — a form on HTTPS posting to plain HTTP (critical); a sensitive form (password/payment) posting cross-origin or over HTTP; a sensitive POST with no anti-CSRF token; sensitive data on GET.
  • Links — external target="_blank" without rel="noopener" (reverse-tabnabbing).
  • Body-content leaks — directory listings (Apache/nginx autoindex), language-specific stack traces (Python/Java/PHP/Node/Oracle/SQLSTATE/MySQL) and verbose framework debug pages (Werkzeug/Flask, Rails, Symfony/Whoops, ASP.NET YSOD) disclosed in the response body — each with the matched signature (framed).
  • Exposed JWTs — JWT-shaped tokens found in the HTML, response headers, Set-Cookie, and same-origin bundles are decoded (header+payload, base64url, no signature verification, no secret cracking) and flagged for alg:none (critical), expired (exp in the past), or missing exp. Claim values are framed as untrusted.
  • Passive discovery of well-known sensitive paths — bounded, same-origin, read-only GETs to a short fixed list (/.git/config, /.env, /.svn/entries, /.DS_Store, /config.json, /wp-config.php~, /backup/, /uploads/), flagging only a confirmed body signature — never a bare 200. Pinned to the vetted IP; honours --authorized. Disable with --no-discovery.
  • Accessibility — missing <html lang>, images without alt, skipped heading levels, unlabeled form fields.
  • Render honesty — a render: static | hybrid | client-heavy field: if a page's content is JavaScript-rendered, the brief says so and marks itself PARTIAL rather than reporting a shell as clean.
  • Composition hints — third-party script origins to vet with @dir-ai/voyager / @dir-ai/voyager-net.

Safety

  • Read-only. Fetches the page with a single GET; never submits, clicks, or mutates.
  • No code execution. Static HTML parsing only — the page's JavaScript is never run.
  • SSRF-gated, with IP pinning. Only http(s); a single URL (no lists/credentials). The host is resolved, every address is classified canonically (IPv4-mapped IPv6, unspecified, CGNAT, NAT64, link-local, private, loopback, metadata all refused), and the connection is pinned to the vetted IP so DNS rebinding cannot swap in an internal address between the check and the fetch. Every redirect hop is re-vetted and re-pinned.
  • Untrusted by construction. Every owner-controlled string that reaches the brief — title, headings, meta, links, form actions, field names — is injection-stripped and framed; the agent must treat it as data, not instructions.
  • Bounded. One deadline covers headers and body; the body is byte-capped; a truncated read downgrades confidence and is never reported as "clean".
  • Honest limits. It reads what the server sends. It does not see client-rendered state — and the render field says exactly how much it saw.

Roadmap

  • v0.3 — same-origin JS-bundle static scan (exposed secrets/endpoints/source-maps), third-party/tracker/cookie inventory + tech fingerprinting, WCAG-mapped a11y depth, and a CognitiveClaim adapter so a page observation drops into a @dir-ai/voyager-agent mission (page → host → dependency chain).
  • v1.0 — an opt-in, consent-gated --render sandboxed headless pass (network-isolated, resource-capped) for true SPA/rendered-DOM coverage, always labeled as render-mode output; a stable finding-kind taxonomy and a full posture score.

The line stays fixed: voyager-browser expands by reading more of what's already served, never by doing more to the server. Anything active (submitting, fuzzing, probing) belongs to a separate consent-gated organ.

The Voyager family

PackageSense
@dir-ai/voyagerweb — verified-internet retrieval
@dir-ai/voyager-browserweb page — observe one live URL
@dir-ai/voyager-repocode — orient in a repository
@dir-ai/voyager-nethosts — authorized host audit
@dir-ai/voyager-contractthe cognitive contract the senses speak
@dir-ai/voyager-agentthe one agent that composes them

License

MIT © dir-ai

來源:README.md,提交 3de45a4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.7.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分