2026-11-27 16:21 UTC

PrashnaLabs releases static audit skill for agents bound for air-gapped environments

state: expiredheat: mediumuncertainty: mediumrelevance: mediumagent-security air-gapped-networks risk-auditingPrashnaLabs

What is this?

PrashnaLabs presents `agent-blast-radius`, an Apache-2.0, read-only audit skill for assessing AI-agent code before deployment in an air-gapped environment. Its offline, deterministic Python scanner inventories potential external connections, credentials and agent capabilities; an agent then traces risks and produces a `BLAST_RADIUS.md` report with code locations, severity, and suggested fixes. The project says it does not run or connect to the code being audited and cannot verify runtime behavior, network policy, IAM policies, or remote MCP tools. It was introduced in a Show HN post dated Nov. 12, 2026; the supplied evidence is the project’s own GitHub description and that post, with no independent evaluation or adoption evidence.

Why it matters

Air-gapping blocks some network paths, but does not prevent an agent from taking harmful actions inside an enclave or fetching untrusted dependencies at startup. This tool makes those boundary and privilege risks easier to inspect before deployment, potentially helping security teams find excessive access and data egress paths. Its usefulness is bounded by static analysis and human/agent interpretation: it cannot establish that deployment controls work or capture all runtime behavior. The release is a practical security aid, not evidence that air-gapped agents are thereby safe.

Current assessment

New: PrashnaLabs has published `agent-blast-radius`, described as a read-only Agent Skill, with a deterministic Python inventory scanner and a report-generation workflow. The project says it checks network-boundary crossings and eight dimensions including untrusted input, reachable systems, privilege fit, irreversible actions, egress, gates, and identity/audit. It claims support for several agent frameworks, Python and TypeScript, MCP configs, Dockerfiles, and start scripts. It also says installation requires access to a repository that is private for now, which limits immediate availability; the description gives Claude Code plugin instructions and a manual Agent Skills installation path. The company/project’s sample report and safety, coverage, and performance details are self-reported, not independently validated. Static analysis can miss split calls and cannot verify network policy, IAM or token scopes, or remote MCP behavior; the project explicitly directs these to manual checks. No independent benchmark, adoption evidence, or corroborating report is supplied. Significance: a low-friction offline review could help teams identify accidental egress, startup-time dependency fetching, and overpowered tools before placing agents in restricted environments, but it complements rather than replaces runtime controls and security review.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady2 platformsage 364h
points/hour across evidence · reading as of 2026-11-26 04:23:59.958816+11:00 · deterministic, not a model opinion

How the heat travelled

11-10 13:00⭐ origin echo-reconstructedThe furthest-back primary artifact is the repository itself; the post links directly to it, and its commit history shows the project was cre
PrashnaLabs (repository author shown as prashantrajbista) on github (echo) · attributed from hn.story.50455662
—
11-11 16:59first on hacker news · published · +28.0hShow HN: An audit for AI agents headed into air-gapped networks
prashantbista
—
11-11 16:59amplified on hacker news 👑hn.story.50455662
prashantbista
peak 1 · 0 comments · 104% of case engagement
11-11 17:20our radar first saw it · +28.4hdiscovery anchor: hn.story.50455662—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: An audit for AI agents headed into air-gapped networks
Retrieved article excerpt

Open article · Retrieved 2026-11-11T17:22:24.955098+00:00

# agent-blast-radius

**Check your agent for vulnerabilities before it goes into an air-gapped environment.**

`agent-blast-radius` is an agent skill that reads an AI agent's codebase and answers two questions:

1. **Boundary:** does anything in this agent need, or reach, the outside world? That covers hosted
   model APIs, telemetry that phones home, packages and models fetched at start, SaaS connectors
   and hard-coded external hosts.
2. **Blast radius:** inside the enclave, if the agent is steered by a poisoned document, an
   insider or a compromised host, what can it do?

It writes a `BLAST_RADIUS.md` report with `file:line` evidence, the failure pattern each finding
matches, OWASP agentic (ASI) ids, and the smallest fix for each path.

## Why air-gapped agents need this

An air gap removes the network path out. It does not make an agent safe.

- **Agents leak by default.** Hosted model clients send the whole context out on every call.
  Several frameworks export traces or telemetry to a vendor unless you opt out. In a sealed
  enclave these calls fail, and in a leaky one the data leaves.
- **Agents fetch code at start.** `npx -y some-mcp-server`, `pip install` in a start script, and
  model downloads on first use all break the first time the agent boots inside the gap. Or, with a
  mirror, they run whatever the registry served that day.
- **The damage happens inside.** Documented failures show agents deleting production databases and
  their backups with one call, leaking private data after reading a poisoned ticket, and serving as
  a path from one compromised laptop to other engineers' machines. None of these needed the
  internet. They needed an agent with more reach than its task.

## What you get

From [`examples/sample-report.md`](https://github.com/PrashnaLabs/agent-blast-radius/blob/main/examples/sample-report.md), a run on the deliberately vulnerable
[`examples/vulnerable-agent`](https://github.com/PrashnaLabs/agent-blast-radius/blob/main/examples/vulnerable-agent):

```
**Verdict:** CRITICAL · 4 critical, 7 high, 6 medium, 0 low
**Boundary:** LEAKY · 8 paths out

| What | Where | Crosses | When | Switch | Severity |
| Hosted model (support agent) | agent.py:51 | whole context: tickets, SQL results, emails | every call | none | HIGH |
| Issue-tracker MCP, unpinned | .mcp.json:3-5 (npx -y ...) | code in, newest release | every start | none | HIGH |

1. **CRITICAL**: ticket or web page → support agent → run_sql (DATABASE_URL, model-written SQL)
   → any write, delete or drop, no gate
   - Pattern: P02 · OWASP: ASI01, ASI02, ASI03
   - Fix: remove run_sql from the agent that reads tickets; typed read tools on a read-only role.
```

The report also includes a reach map (agent × tool × credential × gate), findings for each
dimension, a detect-and-recover section, and a list of what static reading cannot prove.

## Install

### Claude Code (plugin)

Inside Claude Code 2.1.275 or later:

```
/plugin install agent-blast-radius --marketplace PrashnaLabs/agent-blast-radius
```

On older versions, add the marketplace first, then install:

```
/plugin marketplace add PrashnaLabs/agent-blast-radius
/plugin install agent-blast-radius@prashnalabs
```

The repository is private for now. Installing needs read access to it, and Claude Code clones it with your
existing git credentials, so make sure `git clone [email protected]:PrashnaLabs/agent-blast-radius.git`
works for you first (SSH key, or `gh auth login`). If background updates cannot reach it, export a
`GITHUB_TOKEN` with read access.

### Any Agent Skills host (manual)

Copy the skill folder into your agent's skills directory.

```
git clone [email protected]:PrashnaLabs/agent-blast-radius.git
cp -r agent-blast-radius/skills/agent-blast-radius ~/.claude/skills/          # all projects
# or: cp -r agent-blast-radius/skills/agent-blast-radius <your-repo>/.claude/skills/
```

The folder follows the Agent Skills layout (`SKILL.md` + `references/` + `scripts/`), so other
hosts that read Agent Skills can load it from their own skills directory. The skill itself needs no
network access.

## Use

In the repo you want audited, ask your agent:

```
is this agent ready for an air-gapped deployment?
```

or "audit my agent's blast radius", or "is this agent safe to ship?".

The scanner also runs on its own and prints JSON evidence:

```
python3 skills/agent-blast-radius/scripts/inventory.py path/to/repo
```

## What it checks

|  | Dimension | Question |
| --- | --- | --- |
| D8 | Boundary | What needs or reaches outside the enclave, and is there a switch to seal it? |
| D1 | Untrusted input | What attacker-controllable text reaches the context? |
| D2 | Reach | What systems, data and credentials can the agent touch? |
| D3 | Privilege fit | Is each credential scoped to the task? |
| D4 | Irreversibility | Which reachable actions cannot be undone? |
| D5 | Egress | Where can data go? |
| D6 | Gates | What stands between the model's decision and the action, enforced in code? |
| D7 | Identity & audit | Can you prove who did what, and stop it? |

The report has two verdict lines:

- **Boundary:** SEALED (nothing crosses), BRITTLE (nothing leaks, but something is fetched at
  start), or LEAKY (context leaves by default).
- **Blast radius:** CRITICAL (a toxic path or lethal trifecta), EXPOSED (high-severity reach), or
  CONTAINED (every irreversible action is gated and audited).

The full rules are in [`references/rubric.md`](https://github.com/PrashnaLabs/agent-blast-radius/blob/main/skills/agent-blast-radius/references/rubric.md).

Frameworks: LangChain, LangGraph, deepagents, CrewAI, OpenAI Agents SDK, Claude Agent SDK, Vercel
AI SDK, raw tool-calling loops, and MCP client configs, in Python and TypeScript, plus Dockerfiles and
start scripts.

## How it works

Two halves keep the judgment honest:

1. **`scripts/inventory.py`**: a deterministic, read-only scanner that uses only the Python
   standard library and needs no network. It never imports or runs your code and never prints
   secret values; credentials appear by name and location only. It lists every external host
   found in code, and the same repo always gives the same JSON.
2. **`SKILL.md`**: the agent reads each tool and boundary crossing the scanner points at, decides
   what really crosses or is reachable, traces the toxic paths, and scores them against a fixed
   rubric. Whether a send tool's "only call this after the user confirms" is enforced by the server
   or only written in a docstring needs reading the code. A linter cannot decide it.

Findings cite patterns from
[`references/patterns.md`](https://github.com/PrashnaLabs/agent-blast-radius/blob/main/skills/agent-blast-radius/references/patterns.md): documented agent
failures and risky library defaults, described without naming the organisations involved.

## Safety

- Read-only. The only file it writes is `BLAST_RADIUS.md`, and it asks before overwriting one.
- It never runs, installs or connects to anything in the target repo.
- Secret values are never printed.
- The scanner runs fully offline.

## Limits

- Static only. It cannot see network policy, IAM policies, token scopes, or the tools a remote
  MCP server serves at runtime. These go under "Unverifiable statically", with where to check.
- The scanner matches line by line, so it can miss calls split across lines. The reading step
  covers most of these.
- The scanner takes about 1 s of CPU per MB of source. In a large monorepo, point it at the agent's
  directory.

## Development

```
uvx pytest -q tests
```

`tests/test_inventory.py` checks the scanner against the fixture: every expected hit and no extra
hits, the build-time versus runtime install rule, the external host summary, secret redaction,
vendor-directory skipping and the per-rule cap.
[`examples/vulnerable-agent/expected.md`](https://github.com/PrashnaLabs/agent-blast-radius/blob/main/examples/vulnerable-agent/expected.md) is the golden
set for the skill itself.

## License

Apache-2.0
prashantbista10
🟧 echo.github ⭐The furthest-back primary artifact is the repository itself; the post links directly to it, and its commit history shows the project was crePrashnaLabs (repository author shown as prashantrajbista)——

Interpretation history

Decision trace