AI Pentest Agent Isolation Checklist
An AI pentest agent downloads, unpacks and runs what a target serves. NebuSec’s ArtexPot research reports that trap files took over unmodified ARTEX in 33 of 36 runs, the fastest in 27 seconds. Answer about your own agent or harness: where target data is handled, where your keys live, what it can reach, which tools parse target files, and how fast you can stop it. You get a 0–100 score and the gaps ranked, each with the fix.
This looks like the single-root-container design NebuSec describes. Move execution into a disposable sandbox with no secrets and no egress before the next engagement.
- Where target data is handled0
- Secrets0
- Network egress0
- Tools that parse target data0
- Scope, coordination and stopping0
Prioritised gaps
Highest-weight, least-done items first. Work from the top.
- Where target data is handled · unanswered
Run tool execution in a throwaway sandbox per task or per worker, never in the orchestrator's own container.
MicroVM Isolation Lab → - Where target data is handled · unanswered
Split control plane from execution: the planner sends commands to a separate runner and reads back only text output.
- Where target data is handled · unanswered
Drop root in the runner image, remove the Docker socket and host volumes, and drop Linux capabilities.
- Secrets · unanswered
Call the model from outside the sandbox, or through a proxy that holds the key.
Agent Credential Broker Lab → - Network egress · unanswered
Enforce an allow-list of in-scope hosts and ports at the network layer, not in the prompt.
Agent Egress Containment Lab → - Secrets · unanswered
Remove them from the runner's environment; read them only in the orchestrator.
- Tools that parse target data · unanswered
Block pickle.load / joblib.load on downloaded files in the runner; inspect them with a static tool instead.
Hostile Artifact Checker → - Scope, coordination and stopping · unanswered
Check every command against a scope policy in the runner and refuse out-of-scope actions.
Agent Tool Scope Lab →
+ 16 more in the checklist below and in the export.
Where target data is handled · weight 24
Everything a target sends back is hostile input. NebuSec describes ARTEX running its backend, every worker and every LLM-written shell command in one container as root.
Every command the agent runs, and every file it downloads from a target, runs in a disposable sandbox (container, microVM or VM) that is destroyed after the task.
MicroVM Isolation Lab →The orchestrator, planner and database run outside the sandbox where target data is parsed.
Commands in the sandbox run as an unprivileged user, with no root, no Docker socket and no host mounts.
The sandbox has a read-only root filesystem and a size-limited scratch directory.
A finding that crosses back to the orchestrator is data (text or JSON), never a file the orchestrator opens with a parser.
Secrets · weight 20
NebuSec says the operator's LLM API key, database credentials and console signing key sat in the same environment as code fed by the target.
The LLM API key is not present in the execution sandbox; model calls go from the orchestrator or a proxy.
Agent Credential Broker Lab →Database, console signing and cloud credentials are not in the sandbox's environment variables or files.
Credentials the agent finds during a test are stored encrypted, outside the sandbox, and never re-exported into the environment of later commands.
Keys the agent holds are scoped and short-lived, and you can revoke them in minutes.
Canary credentials sit in the agent's environment and alert if they are ever used.
Honeytoken Placement Planner →Network egress · weight 18
A container with open outbound access lets a target's code call home. Egress limits turn a takeover into a dead end.
The execution sandbox can reach only the in-scope targets; all other outbound traffic is blocked.
Agent Egress Containment Lab →Package installs (pip, npm, go get) from the sandbox are blocked, or allowed only from an internal mirror.
DNS from the sandbox goes through a resolver you log, so tunnelling or call-home lookups are visible.
Outbound connections that leave scope raise an alert and stop the run.
Tools that parse target data · weight 20
NebuSec reports code execution through git-dumper during checkout, Python pickles, poisoned .pyc files, AWS credential_process, kubeconfig exec plugins and a pip build backend.
The agent never deserialises target data with pickle, joblib, shelve or similar loaders; it inspects such files statically.
Hostile Artifact Checker →Dumped git repositories are read without running git checkout or other git commands that honour the target's config, hooks or filters.
Hostile Artifact Checker →The agent never runs pip install, setup.py, a build backend or helper binaries supplied by a target.
Python runs with __pycache__ ignored and no site customisation from target folders (PYTHONDONTWRITEBYTECODE, -B, -I, no PYTHONPATH into downloaded trees).
AWS, kubectl and ssh in the sandbox use configs you wrote, never a credential_process, exec plugin or ProxyCommand from a target's files.
Scope, coordination and stopping · weight 18
NebuSec notes workers cannot warn each other in real time and scope lived in prompts. Both are fixable outside the model.
Scope (hosts, actions, time window) is enforced at the execution layer, not only in the prompt.
Agent Tool Scope Lab →A shared circuit breaker lets any worker or monitor halt all workers at once when something looks wrong.
You can kill a running engagement and its sandboxes in under a minute, and you have practised it.
Agent Kill-Switch Drill Lab →Every command, download and model call is logged outside the sandbox where the agent cannot edit it.
You test the agent against a deliberately hostile target (a honeypot that serves trap files) before using it on clients.
Educational self-assessment from PlayCISO for teams that run AI pentest agents on authorised engagements. The weights are a judgement framework, not a measurement or certification. Based on the design flaws NebuSec describes in its ArtexPot research (28 Nov 2026) and PlayCISO's own guidance. Runs in your browser and uploads nothing; your answers live only in the link you choose to copy.
Loading…
Sample report · illustrative data
Sample result: AI pentest agent isolation checklist
Example answers for a made-up red team that runs an open-source AI pentest agent in one Docker container: the LLM key is in the container's environment, outbound traffic is open and scope is only in the prompt.
Overall
- Agent isolation
- 31 / 100 (Owned on contact)
- Items answered
- 24 of 24
Score by section
| Section | Weight | Score |
|---|---|---|
| Where target data is handled | 24 | 22 |
| Secrets | 20 | 18 |
| Network egress | 18 | 25 |
| Tools that parse target data | 20 | 40 |
| Scope, coordination and stopping | 18 | 52 |
Prioritised gaps (first five)
- Where target data is handled: run tool execution in a throwaway sandbox per task, never in the orchestrator's container.
- Secrets: call the model from outside the sandbox, or through a proxy that holds the key.
- Network egress: allow only in-scope hosts and ports at the network layer.
- Where target data is handled: drop root, remove the Docker socket and host volumes.
- Tools that parse target data: block pickle.load / joblib.load on downloaded files.
Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.
TL;DRWhat this checklist is
5 points
- For red teams, MSSPs and security teams that run autonomous AI pentest agents (ARTEX-style frameworks, Cairn, PentAGI or an in-house harness) on authorised engagements.
- It checks the question NebuSec's ArtexPot research raised: if the target fights back with a trap file, does it get code execution next to your LLM key, database and campaign data?
- Five weighted sections: where target data is handled, secrets, network egress, tools that parse target data, and scope and stopping. Answer no, partly, mostly, verified by test or N/A.
- You get a 0-100 score and the gaps ranked, each with the fix. A disposable sandbox with no secrets and no egress carries the most weight.
- Runs in your browser; nothing is uploaded. Share the exact checklist with a link; CSV and Markdown exports are available.
The target can attack back
A traditional scanner sends probes and matches responses. An autonomous agent goes further: it clones exposed repositories, opens backups, imports modules and installs SDKs to get to the next step. NebuSec’s research shows every one of those steps can run the target’s code: a git configuration processed during a git-dumper checkout, Python pickles in session stores and model files, checked-hash .pyc files whose clean source proves nothing, AWS credential_process and kubeconfig exec helpers, and a pip build backend. In its runs the model was not tricked by instructions; the tools and the Python runtime ran the code.
The fix sits outside the model: run every target-facing command in a disposable sandbox that holds no secrets and can only reach the targets in scope, keep the LLM key and databases on the other side, refuse to deserialise, install or check out what a target serves, and keep a shared stop switch. The weights here are PlayCISO’s heuristic, shown openly. Read our write-up of ArtexPot and check suspicious files with the Hostile Artifact Checker.
Frequently asked questions
Why would a target attack my pentest agent?
Because an autonomous agent downloads, unpacks and runs things the target serves. NebuSec's ArtexPot research (28 November 2026) built seven honeypots of trap files and reports that unmodified ARTEX 0.3.15 handed over code execution in 33 of 36 runs across two models, the fastest in 27 seconds. Defenders, deception vendors or other attackers can all serve such files.
What made ARTEX easy to take over?
NebuSec describes three design choices: attack-only prompts with no warning that target files may be hostile, one container where the backend, every worker and every LLM-written command run as root next to the operator's LLM key, database credentials and console signing key with open egress, and parallel workers that cannot warn each other in real time.
Is prompt hardening enough?
No. In NebuSec's runs, plain instructions telling the agent to run commands failed every time, but trap files succeeded, because the code ran inside tools and the Python runtime (git-dumper, pickle loaders, .pyc imports, pip build backends, credential helpers), not because the model obeyed. Isolation, secrets placement and egress limits have to be enforced outside the model.
Does this apply to human pentesters too?
Yes. A human who runs git-dumper, unpickles a backup or pip installs a target's SDK on their laptop takes the same risk. Agents do it faster and without stopping to look, so the controls matter more.
How do I check a file before my agent opens it?
Use the Hostile Artifact Checker: drop a pickle, .pyc, git config, ssh, AWS or kubeconfig file, or a pyproject/setup file, and it reports, without running anything, whether loading or using it can execute code and what triggers it.
More tools like this
Related tools and labs, with new picks every day.