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

autopilot-ai

Latest version: v3.35.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: sinameraji
222 Stars
32 Forks
104 Versions
15.1K Downloads
TypeScript Repo language

Scan summary

autopilot-ai was last scanned on 27 Nov 2026 at version 3.35.0. Risk score 0 of 100. High-severity rules fired.

  • Releases: 104 versions; the latest 5 were published within 2 days (26 and 27 Nov 2026).
  • Findings: 1 rule fired in version 3.35.0 (1 high). The score describes this version only.
  • Downloads: 15,103 downloads.

Versions

104 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.35.0 LATEST 27 Nov 2026 1 rule fired
3.34.1 27 Nov 2026 1 rule fired
3.34.0 26 Nov 2026 1 rule fired
3.32.0 26 Nov 2026 Not shown
3.31.0 26 Nov 2026 Not shown

Rules fired in 3.35.0: 1

Findings

1 High

Findings for v3.35.0. 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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

Get it

curl -fsSL https://dl.new | sh

That installs dl (Directionally Local's installer), which installs and runs Autopilot. Under dl, Autopilot shows dl's name and version (dl 0.30.1, "Ask dl anything") and dl --version names both. dl keeps Autopilot on a version it has tested and updates them together, so use dl's update command, not npm, to update.

Autopilot on its own, without dl: npm i -g autopilot-ai and run autopilot.

How it works

On the free tier, model calls go through Directionally Local's free tier service to its model host; it keeps usage counts, never prompts or code. With your own key, autopilot sends every model call straight to the provider you choose — nothing proxied, nothing marked up. On first run you pick a provider, connect it once (the key is checked before it's saved) and pick a model. That's the whole setup. OpenRouter is the recommended default; see Providers for the rest.

On OpenRouter you also get:

  • Any model, one key. The model picker is OpenRouter's live catalog — Claude, GPT, Gemini, Grok, Qwen, GLM, Kimi, DeepSeek, free models and more — opening on the best & latest by benchmark score, with fuzzy search over everything. Switch any time with /model.
  • Real cost, per turn. OpenRouter reports what each generation actually cost; the status bar shows it (a local estimate marked ≈$ only until the billed number arrives). /cost totals it by session, day, month and all time.
  • Reliable tool calling. Requests only go to upstream providers that support every parameter autopilot sends (tools above all), and OpenRouter routes tool-calling traffic to the providers with the best tool-call success rates. The status bar shows which provider served the last turn.
  • Prompt caching that stays warm. Each session pins to one upstream provider (OpenRouter sticky routing), so the long, stable prompt prefix keeps hitting the provider's cache across turns.

What to remember

  • Up to 1M+ context (model-dependent) — Read entire modules, large configs, and full stack traces without the model losing track.
  • Image understanding — Drop image paths (PNG, JPG, WebP, GIF, BMP up to 5 MB) into any prompt. Great for UI reviews, diagrams, and screenshots.
  • Plan / Edit / Auto modes (opt-in) — Modes are off by default: every interactive turn runs in auto until you turn them on with /settings modes on (/settings modes off turns them off again). With modes on, the session starts in edit and Shift+Tab or /mode switches between them. SDK sessions always have modes and start in edit. plan is a whitelist-only research mode: only read-only tools (read, glob, grep, web search, GitHub read-only, browser fetch) are allowed. Writes, edits, mutating bash, MCP tools, and LSP renames are all blocked. edit prompts per mutating call. auto approves everything for trusted tasks. In plan and edit, reading a credentials file (~/.ssh, ~/.aws, Autopilot's own config with your provider keys, .env, /proc/*/environ) also asks first (print mode denies it unless a rule names the exact path), so a prompt injection cannot quietly read a key and send it out with web_fetch. Likewise web_fetch and browser_fetch ask before reaching a local or private network address (localhost, 127.0.0.1, 10.x/192.168.x, cloud metadata at 169.254.169.254, including names and redirects that resolve there), approved per origin, so a prompt injection cannot read metadata credentials or local services.
  • Guardrails and /undo — Irreversible actions always ask, even in auto, under --dangerously-allow-all, or under a broad allow rule: deleting untracked work, git reset --hard, force pushes, dropping a database. A production-looking target needs its name typed, not just Enter. Before a destructive file or git action Autopilot saves a recovery point outside the repo, and /undo restores the latest one. /audit reports what the agent could destroy from here and what would save you.
  • Setup import from other coding agents — Autopilot finds your CLAUDE.md, GEMINI.md, Cursor rules, Copilot instructions, Claude Code commands and MCP servers and uses them in place, quietly; /setup-import shows the checklist. Nothing is copied into the repo or sent anywhere.
  • Subagents — By default, the coordinator assesses substantial tasks for independent research and may delegate without special phrasing. Worker calls still go through permission checks and need a configured backend. See the subagents guide for examples, controls, limits, and setup.
  • Long-running unattended runs — The headless server can launch detached jobs, sleep between check-ins, and resume from saved checkpoints. Overall runtime, token, cost, and action budgets are optional; explicit budget exhaustion pauses for input. See the long-running runs guide.
  • Windows support — OS-aware shell auto-detects cmd.exe / PowerShell on Windows, bash on Unix. The bash tool works out of the box on all platforms.
  • Message queuing — Submit multiple messages while the agent is busy; they queue and auto-drain. Escape interrupts the current turn but preserves the queue.
  • Smart permission modal — Denying a tool opens inline feedback so you can tell the agent what to do instead. Keyboard-native navigation (↑/↓, j/k, Alt+1/2/3).
  • Loop guardrails — Agent hard-stops when all tools in a turn are blocked, preventing infinite token-burning cycles.
  • Persistent all-time cost history — Append-only history.jsonl tracks daily usage forever, so /cost shows true all-time and monthly totals that survive across sessions and version updates.
  • LSP + MCP — Semantic code intelligence (hover, go-to-definition, references, diagnostics) via Language Server Protocol. Extend with external tools via Model Context Protocol.
  • Local structured memory — SQLite + embeddings cross-session memory. The agent recalls facts, instructions, and preferences across sessions via remember, recall, and forget tools.
  • Web search, GitHub, and headless browser — Research the web, read GitHub repos, and fetch JavaScript-rendered pages without leaving your terminal.

Recently shipped

  • OpenRouter as the model provider — Every OpenRouter model, your own key, billed cost per turn. Replaces Cloudflare Workers AI / AI Gateway (see Upgrading from Cloudflare).
  • OS-aware shell with Windows support — Auto-detects cmd.exe, PowerShell, or bash based on platform. Override with AUTOPILOT_SHELL or /shell.
  • Smart permission modal with inline feedback — Deny a tool and immediately tell the agent what to do instead. Keyboard-native navigation with ↑/↓, j/k, Alt+1/2/3.
  • True message queuing — Enter queues messages while the agent is busy; Escape interrupts and auto-drains the queue.
  • Hard-stop loop guardrail — Stops token-burning cycles when all tools in a turn are blocked.
  • Headless SDK — Programmatic createAgentSession API and JSONL-over-stdio RPC mode for building on top of autopilot.

See the full changelog at github.com/directionally-local/autopilot/releases.

Quick start

npm install -g autopilot-ai
autopilot

On first run, autopilot asks "How should it think?": choose Free — sign in with GitHub (no credit card), Use my own API key to pick a provider such as OpenRouter and then a model, or Use your own GPUs (see Your own GPUs). A provider key already in your environment skips the question and is used as-is. That's it.

The free tier gives free tokens every week. When they run out, /upgrade offers a one-time top-up, and you can always switch to your own key or your own GPUs.

Troubleshooting: the screen fails to start or keeps crashing

The full screen view runs in the Camouflage renderer. If the renderer crashes, autopilot reopens the conversation in a fresh one. If it crashes 3 times within a minute, or exits before it drew anything, autopilot switches to the simple view: a plain prompt where each line you type is a turn, with the reply and tool calls printed as plain lines (Ctrl+C stops a turn, /exit quits). The conversation carries on and is saved after every turn. Actions that would need your approval are refused there, as in -p mode.

To start in the simple view yourself, run autopilot --simple (add -c or -S <id> to continue a conversation) or set AUTOPILOT_SIMPLE_VIEW=1. Under dl, use AUTOPILOT_SIMPLE_VIEW=1 dl. The simple view has no first-run setup, so connect a provider first (for example autopilot auth openrouter, or a key such as OPENROUTER_API_KEY in the environment).

Crash reports are saved as ~/.camouflage/crash-*.txt, and autopilot prints the path. Please attach the report to an issue.

Your own GPUs

Before that question, the first run looks for GPUs on this machine. With an Nvidia card of 24 GB or more and Autopilot started by dl, it asks "Run a private model on it?": yes hands over to dl model up, which sets up vLLM on the GPU, tests it and opens Autopilot on it; no is remembered. A smaller Nvidia card gets a one-line hint that dl model up can run small models on it. If the setup fails, a menu offers to retry, see what failed (the reason and the log file), pick another model, or carry on without a local model. Once the model passes its tests, with a dl that can set up team chat, Autopilot asks "How will your team use it?": Browser chat (you and your team), Terminal agent or Both. Terminal agent (or Esc) opens the session on the model, as before. Browser chat and Both hand over to dl, which sets up Tailscale and Open WebUI on a private HTTPS link (accounts with 2FA) and prints the link where the admin account is made; after Both, Autopilot opens again for the agent. After Terminal agent or Both, with a dl that can open other agents on the model, Autopilot then asks "Which coding agent?": Autopilot (recommended), the default, or Claude Code, OpenCode or Pi, each marked "(install first)" when its CLI isn't installed. Autopilot (or Esc) opens the session as before; another agent is handed to dl, which keeps the choice for the machine (plain dl opens it from then on; dl agent changes it) and opens it on the local model, or prints its install command.

Use your own GPUs asks where they are:

  • On this machine: hands over to dl model up, as above.
  • Another server of mine: run curl -fsSL https://dl.new | sh and then dl model up on that server, then enter its address. dl model up serves on that server's 127.0.0.1, so to reach it from here keep an SSH tunnel open (ssh -N -L 8000:127.0.0.1:8000 you@that-server) and enter 127.0.0.1 and port 8000.
  • I already run vLLM or another OpenAI-compatible server: enter its URL and an optional key.

Either way Autopilot checks the server with /v1/models, you pick a model, and it is saved as the vllm provider. Your code and prompts stay on your hardware. What dl model does on the GPU is in dl's README.

Or install with Homebrew on macOS or Linux (Homebrew installs Node.js for you):

brew install directionally-local/tap/autopilot
autopilot

Or run without installing:

npx autopilot-ai

Coming from kimiflare? The package was renamed. Run npm uninstall -g kimiflare && npm install -g autopilot-ai and use autopilot instead of kimiflare. Your settings, keys, sessions, memory, traces and cost history are kept: on first start Autopilot moves ~/.config/kimiflare to ~/.config/autopilot, ~/.local/share/kimiflare and ~/.kimiflare to ~/.local/share/autopilot, and ~/.local/state/kimiflare to ~/.local/state/autopilot (honouring XDG_*_HOME), and leaves a symlink at each old path so an older kimiflare binary still finds the same files. A file that already exists in the new folder is never overwritten; it stays in the old folder and Autopilot names it once. Project .kimiflare/ folders are not moved: Autopilot reads .autopilot/ first, then .kimiflare/, and creates only .autopilot/. KIMIFLARE_* environment variables still work.

Requires Node.js 22.23.4+, 24.22.1+ or 26.12.1+ (earlier releases have the Brotli bug CVE-2026-111497, and web_fetch refuses to run on them).

If npm warns that it blocked isolated-vm's install script, nothing is broken: isolated-vm is an optional dependency that ships prebuilt binaries for Node 22 and 24, and on a Node version without one Autopilot runs with Code Mode's sandbox off and tells you once per session how to build it.

To pick up an earlier conversation, run autopilot resume <id> (the exact command is printed when you exit), autopilot resume to choose one from this directory, or autopilot -c for the most recent one. Inside autopilot, /resume does the same.

To continue a Claude Code conversation (say it stopped on a usage limit), run autopilot --from-claude-code in the same folder. It finds that folder's most recent conversation in ~/.claude/projects, asks first, and starts a new session whose first message is a short handoff: your last request, the files changed, commands run and last errors, and Claude's last message (at most 12,000 characters, likely keys redacted). The transcript is read on this machine and goes only to your model, as the session's first message.

Providers

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 autopilot-ai

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

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?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

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?

Frame 2085668439 (1)
Group 1261154229