Coding agent & local AI scanner

Your AI is local.
Is it cooked?

One Bash script checks Claude Code, Cursor, OpenCode, Codex, MCP grants, model servers, and containers for the mistakes that get local setups owned. It reads. It never fixes, phones home, or starts anything.

curl -fsSL https://iscooked.com/iscooked.com | bash

Prefer to verify it first?

Linux · macOS · Bash 3.2+ · No account · No telemetry

Example scan · synthetic output
~ $ bash iscooked.com                    __            __       __  _________  ____  / /_____  ____/ /  ____/ /_ / ___/ __ \/ __ \/ //_/ _ \/ __  /  / ___/ __ \/ /__/ /_/ / /_/ / ,< /  __/ /_/ /_ (__  ) / / /\___/\____/\____/_/|_|\___/\__,_/(_)____/_/ /_/  Am I Cooked? — AI & Coding Agent Security Scanner v1.4.1  https://iscooked.com  Scanning your setup...──────────────────────────────────────────────────────────────  [01] Network Exposure  ────────────────────────────────────────────────────────  🔥 COOKED  Unidentified service on port 8000 (commonly vLLM) is listening on ALL interfaces    ↳ Bind service on port 8000 to 127.0.0.1 or restrict access with a firewall  ✅ SAFE  Unidentified service on port 1234 (commonly LM Studio) is bound to localhost only  [02] API Authentication  ────────────────────────────────────────────────────────  ⚠  WARMING UP  Ollama /api/tags on port 11434 accessible without authentication on localhost    ↳ Put Ollama behind an authenticated proxy or keep it bound strictly to localhost  [07] Firewall Status  ────────────────────────────────────────────────────────  ✅ SAFE  UFW firewall service is active  [14] MCP Configuration  ────────────────────────────────────────────────────────  ⚠  WARMING UP  Claude Code project: uses unpinned 'npx -y' without an explicit @version    ↳ Pin a specific version (for example @scope/package@1.2.3) instead of unpinned npx -y  [15] Coding Agent Permissions & Gateways  ────────────────────────────────────────────────────────  🔥 COOKED  Claude Code (user): permissions.defaultMode is set to bypassPermissions    ↳ Remove "defaultMode": "bypassPermissions" from ~/.claude/settings.json  ✅ SAFE  Checked 2 instruction file(s); no hidden Unicode prompt-injection characters found  [03–06, 08–13, 16–17] 12 more areas checked or skipped in this example──────────────────────────────────────────────────────────────  YOUR COOKED SCORE  28% cooked  [▒▒▒▒▒▒▒▒▒▒▒                             ]  SLIGHTLY WARM  2 critical  2 warnings  3 passed  0 unknown  12 skipped  (19 results)  Fix critical findings first.~ $ 
Example data. This page does not scan your device.
Checks for Ollama LM Studio vLLM Docker MCP OpenClaw
What it examines

Seventeen places
things go wrong.

Each check reports what it saw and what it could not see. A skipped check never counts as safe.

Network & access

01.1Network exposureFind listeners on common AI and coding-agent ports.
Identifies loopback and non-loopback bindings across Ollama, LM Studio, vLLM, SGLang, LiteLLM proxy, AnythingLLM, OpenCode Server, OpenClaw Gateway, and llama.cpp RPC. A listener does not prove internet access on its own.
01.2API authenticationExamine model-list routes on identified services.
Supports Ollama, LM Studio, and vLLM on their common ports. In full scans, exposed unauthenticated endpoints correlate with Check 01 instead of double-counting the same port.
01.3Firewall statusSeparate active, inactive, and unknown states.
Reads unprivileged Linux systemd and UFW state first before falling back to privileged firewall commands, plus macOS Application Firewall and pf. A missing firewall is critical only when an AI service listens beyond localhost.
01.4Plain HTTP exposureFind exposed services that serve plain HTTP without TLS.
Probes non-loopback AI listeners for plain HTTP and falls back to HTTPS before marking a port inconclusive. Correlates score with Check 01 in full scans.

Files & secrets

02.1Model file permissionsFind model files that other users can read or change.
Examines common model directories and their permissions. Coverage depends on directory access and the model locations.
02.2Sensitive files & credential storesFind git-tracked .env files, exposed keys, and open auth stores.
Checks git-tracked .env files, world-readable .env files with API keys, and permissions on Claude Code, OpenCode, Codex, GitHub CLI, AWS, .netrc, and SSH private keys without printing secret values.
02.3History & logsFind leaked provider keys in shell history and open log dirs.
Scans Bash, Zsh, and Fish history for OpenAI, Anthropic, OpenRouter, GitHub, Hugging Face, Gemini, and AWS key patterns, plus permissions on common AI log directories.

Containers & hardware

03.1Docker configurationExamine users, privileges, sockets, and host access.
Includes host networking, daemon sockets, and host-root mounts. Metadata requests have a time limit. The scanner does not change containers.
03.2GPU exposureExamine GPU device access and management listeners.
Includes supported NVIDIA and AMD device checks. Device access alone does not establish that a system is compromised.
03.3AI processesFind known AI processes and their users.
Matches known process names and identifies processes that run as root. It does not identify every AI application.

Agents & models

04.1Ollama configurationExamine host, origin, and service settings.
Includes OLLAMA_HOST, OLLAMA_ORIGINS, and supported service-manager configuration.
04.2Browser controlFind browser debugging listeners, including custom ports.
Uses Chromium process flags, sockets, and version metadata. It does not retrieve browser tabs, cookies, or WebSocket content.
04.3MCP configurationAudit 8+ MCP clients for broad grants, plain HTTP, and unpinned npx.
Reads JSON, JSONC, and TOML configs for Claude Desktop, Claude Code, Cursor, OpenCode, Windsurf, Zed, VS Code/Copilot, Cline, Roo Code, Codex CLI, and Gemini/Antigravity. Flags broad filesystem grants, plain non-loopback http:// URLs, unpinned npx -y packages, hardcoded project secrets, and writable configs without starting servers.
04.4Coding agents & gatewaysInspect Claude Code, OpenCode, Codex, Cursor, OpenClaw, and instruction files.
Checks Claude Code bypassPermissions, wildcard Bash(*) allowlists, and project hooks; OpenCode wildcard permissions; Codex CLI approval and sandbox policy; Cursor auto-run/YOLO mode; OpenClaw JSON/JSONC gateway and exec policies; and invisible or bidi Unicode prompt-injection characters in CLAUDE.md, AGENTS.md, .cursorrules, and Copilot instruction files.
04.5Remote model codeFind remote-code flags in active vLLM, TGI, and SGLang commands.
The check examines recognized launch arguments. It does not load model code or establish the behavior of other runtimes.
04.6Telemetry settingsExamine opt-out variables and known blocked domains.
Examines supported environment variables and exact hosts-file entries. It does not analyze active telemetry traffic.
04.7Runtime versionsFlag Ollama, vLLM, and LiteLLM proxy versions with known advisories, and LiteLLM releases that shipped malware.
Reads one version route per runtime on its default port and compares it with a reviewed minimum. A current version does not rule out advisories published after the review date. It also looks in common Python environments and local Docker tags for LiteLLM 1.82.7, 1.82.8, and 1.107.0, which were published with a credential stealer, and for the files that stealer drops.

Checks can be skipped or incomplete. A low score is not a security guarantee.

How the score works

Check the
doneness.

Every finding adds heat. Change the counts and watch the verdict move. This uses the same rules as the scanner.

Critical🔥 COOKED · examine first +10 each
Warning⚠ WARMING UP · needs attention +4 each
Unknown❓ UNKNOWN · could not verify +0
Passed✅ SAFE · check passed +0
Skipped⏭ SKIP · not examined +0
28% SLIGHTLY WARM
  28% cooked  [▒▒▒▒▒▒▒▒▒▒▒                             ]

  SLIGHTLY WARM

  2 critical  2 warnings  3 passed
  0 unknown  12 skipped  (19 results)

  Fix critical findings first.

2 × 10 + 2 × 4 = 28. Any critical finding turns the verdict red, whatever the number.

The total stops at 100. The score is a capped heuristic, not a probability of compromise. Resolve unknown results · Read the scoring guide

cooked.json 28% · SLIGHTLY WARM
Critical Claude Code: permissions.defaultMode is set to bypassPermissions↳ Remove "defaultMode": "bypassPermissions" from ~/.claude/settings.json
Critical Port 8000 listens on all interfaces
Warning Claude Code project: unpinned 'npx -y' without @version
Unknown Docker daemon inspection incomplete · next step
Passed UFW firewall service is active
Browser-only · connect-src 'none'
Report viewer

Plate your
report.

Drop a saved JSON report into the browser viewer. Findings group by check with inline fix hints, unknowns link straight to their diagnostics, and you can copy clean Markdown in one click.

bash iscooked.com --json > cooked.json
Open the report viewer
Run it

Your machine.
Your scan.

Read the source. Run the scanner. Examine the findings.

  1. Get the script
  2. Run it locally
  3. Examine the result

Quick run

Downloads and runs the script in your terminal.

curl -fsSL https://iscooked.com/iscooked.com | bash

Download & verify

1. Download the script, verify its SHA-256 checksum, and read it.

curl -fsSL https://iscooked.com/iscooked.com -o iscooked.com &&
curl -fsSL https://iscooked.com/iscooked.com.sha256 -o iscooked.com.sha256 &&
sha256sum -c iscooked.com.sha256 &&
less iscooked.com

2. Start it when you are ready (on macOS use shasum -a 256 -c iscooked.com.sha256).

bash iscooked.com

Reports & flags

1. Save a JSON report (requires Python 3) and open it in the report viewer.

bash iscooked.com --json > cooked.json

2. Filter to coding-agent checks, hide clean lines, or diff against a prior run.

bash iscooked.com --problems-only --only mcp,agents,sensitive --diff cooked.json

Runs out of the box: requires Bash 3.2 or later, so it runs on both Linux and the built-in macOS Bash with zero extra installs.

Python 3 enables structured MCP, coding-agent, and JSON report checks. Missing optional tools cause skipped checks. Unknown or skipped results? Find the next step.

Use bash iscooked.com --help for all flags (--only, --skip, --problems-only, --diff, --fail-on). Full requirements ↗

Open source · MIT License · v1.4.1

Before you run it.

Does it change my settings?

No. The scanner examines local settings. It does not apply fixes, start agents, or load models. You decide which settings to change.

Does anything leave my machine?

The initial command downloads the script. The scanner sends no telemetry or scan report. It probes selected local AI and browser service endpoints.

Does the report viewer upload my report?

No. Your browser reads the file. The viewer page is served with a content security policy that blocks every network request, so the page cannot send the report anywhere.

What does the score mean?

Critical findings add 10 points. Warnings add 4. Unknown, passed, and skipped results add 0, while staying visible in the counts. The maximum is 100. A low score does not establish that your system is safe.

What can it miss?

Unsupported tools, inaccessible files, missing dependencies, and configuration formats can limit coverage. A skipped check does not establish safety. Read the coverage limits ↗

Why is it called iscooked?

Because "am I cooked?" is the question you ask after you notice Ollama listening on 0.0.0.0. The scanner answers it with evidence.