SwarmHack vs PentAGI

Operator trust, sandboxing and AI-surface detection.

Compare PentAGI’s model-driven Docker flows with SwarmHack’s deterministic mission, optional chainer and evidence gates. Review AI-surface detector failure modes, attributed lab observations and a scoped evaluation workflow.

By Prancer Research Team · Published · Reviewed

SwarmHack vs PentAGI: compare the operator as well as the target

PentAGI and SwarmHack automate penetration testing using different execution models. PentAGI is an open-source system with model-driven agents, Docker sandboxes and optional knowledge-graph services. SwarmHack's core mission uses deterministic agents and GOAP planning, with an optional LLM chainer after the mission. The useful comparison is not whether either product says “autonomous,” but where planning, execution, memory and authorization boundaries live.

Published by Prancer, maker of SwarmHack. This page compares documented architecture and uses a sanitized summary of Prancer's supplied research draft. Its historical observations are author-reported, not independently reproduced findings about the current release; a precise revision and evidence are necessary before applying them to a particular installation.

PentAGI's documented architecture

PentAGI documents a Go backend with REST and GraphQL, a React interface, PostgreSQL/pgvector and an isolated browser. Its optional knowledge-graph stack uses Graphiti and Neo4j; observability stacks are additional services. Each flow gets its own sandbox container, and tools do not run inside the main backend container. Those distinctions matter: an optional component is not a mandatory dependency, and a flow sandbox is not the same as unrestricted execution on the operator's host. 1

The project lists hosted and local model options, including Ollama. Do not assume self-hosted PentAGI necessarily sends prompts to a public model provider; the configured model and network path decide that. Local models still require suitable inference resources and an operating plan. 2

When to choose PentAGI or SwarmHack

Evaluate PentAGI when you want an inspectable, model-driven tool ecosystem with per-flow Docker sandboxes and optional knowledge-graph services. Evaluate SwarmHack when a model-independent core mission, explicit execution gates and ledger-linked attack evidence are primary requirements. In either case, confirm authenticated coverage, operator-side isolation and the data path of the configured model.

Technical comparison

DimensionPentAGIPrancer SwarmHack
PlanningModel-driven autonomous agentsDeterministic GOAP mission; optional post-mission model amplification
ExecutionTools in per-flow Docker sandboxesBuilt-in agents with gated execution; the chainer submits typed probe plans
Core servicesBackend, pgvector and browser servicesNative mission binary and configuration; Portal identity/orchestration still applies
Knowledge graphOptional Graphiti/Neo4j stackMission evidence and attack-path artifacts; do not equate the session vault with a knowledge graph
Model configurationHosted and local options documentedNo model required for the core; optional chainer provider configured by the operator
Data-flow reviewInclude model, update checks and enabled observability servicesInclude Portal, enabled model egress, callbacks and report handling
Evidence acceptanceInspect the selected release's action proof and report trailObserved is separate from Exploited; ledger IDs connect findings to captured proof
Scope acceptanceVerify enforceable scope in the actual deploymentCurrent reference requires expiring authorization and rejects drift

PentAGI's first-party architecture and repository support its column. This is not a shared exploitation benchmark or a claim that every PentAGI version behaves identically.

Why target content must not become operator authority

What Prancer's historical research draft reports

The November 19 draft reports three HIGH categories in the reviewed checkout: a forgeable supervisor channel, an unrestricted model-directed fetch surface and cross-user knowledge leakage. It describes source review and runtime/manual verification, but does not provide the reviewed commit or raw evidence in the article package. Treat these as Prancer-reported historical observations, not a claim that the current PentAGI release or every deployment remains affected.

Reported categorySanitized observationValidation still needed for a current installation
Supervisor-channel forgeryUntrusted tool content reportedly crossed into trusted supervisor contextPin the revision; distinguish acknowledgment from a recorded unauthorized action
Fetch pivotModel-directed fetching reportedly reached beyond the intended target boundaryVerify actual egress policy, destination scope and callback evidence
Knowledge leakageRetrieval reportedly reused knowledge across user boundariesVerify tenant/session design with different-user canaries

No customer target, exploit payload, credential or private evidence artifact is published here. Current PentAGI architecture documents sandbox and optional-service boundaries separately; historical findings should not replace a fresh deployment review.

A pentest agent consumes hostile input by design: pages, tool results, transcripts, documents and service banners. When a model also uses tools, the platform must keep that input separate from its trusted instructions. A page describing an action must not acquire the authority to approve that action.

The key question is what happens after a malicious instruction is encountered. Does it remain untrusted data? Can a proposed tool action leave the approved scope? Can it access a privileged session? Can it alter memory used by another user? These questions apply to any model-assisted pentesting runtime, including Prancer's optional chainer.

Static delimiters and randomized envelopes address prompt framing, but framing alone does not prove immunity to prompt injection. Enforcement also needs independently checked execution, scope, credentials and budgets.

From an attack class to a measurable detector

Attack classes become testable boundaries

Supervisor authority maps to supervisor_forgery; model-directed fetch to ai_ssrf; cross-user memory to knowledge_isolation; third-party telemetry to telemetry_leak; MCP trust to mcp_poisoning. The ADR-084 inventory also lists llm_endpoint and workflow_authz. Signatures and acknowledgment are not action proof.

Detector mapping from the supplied ADR-084 reference. Historical research observations are attributed, not universal current PentAGI findings.

The supplied SwarmHack v3.4.3 / ADR-084 reference lists seven AI-surface detectors. They are target-side testing capabilities, not seven proven vulnerabilities in every PentAGI installation.

Attack classSwarmHack detectorEvidence to ask for
Unauthenticated inferencellm_endpointActual unauthenticated access, contrasted with a key-gated control
Forged supervisor authoritysupervisor_forgeryA recorded canary-bearing action; acknowledgment is not obedience
Cross-user memory/RAG leakageknowledge_isolationCanary plant and read across different user contexts
Third-party telemetry leakagetelemetry_leakObserved data transfer and its configured destination
Model-controlled fetchai_ssrfAuthorized out-of-band callback proving the fetch
Forged workflow authorizationworkflow_authzA workflow action authorized by untrusted context
MCP poisoningmcp_poisoningTool-description/result-channel evidence; distinguish a signature from an executed action

An embedded imperative can support an Observed poisoning finding without establishing that the model acted on it. An Exploited grade needs action proof. That distinction prevents a textual signature from becoming an unsupported compromise claim.

What the supplied lab snapshot supports

The November 19 reference describes vulnerable/fixed twin validation, including true-positive results for D1, D2 and D7 and silence on the corresponding hardened controls after defect fixes. It also identifies real engineering failure modes: agent-pool starvation, incompatible MCP transport handling and confusing acknowledgment with obedience.

Those observations support a testing method. They do not establish zero false positives in every environment, superiority over PentAGI or the current state of a previously reviewed repository. Keep fixture versions, selected agents, missing/skipped lanes and raw evidence with any claimed result.

Three detector failures worth testing yourself

The revised research account adds implementation detail that is useful beyond a vendor comparison:

  • Agent starvation: selecting a detector does not mean it spawned. The account describes a pool-limit failure that left an MCP lane unexecuted. Retain selected, spawned, completed and skipped counts separately; do not count a missing lane as a passing test.
  • MCP transport mismatch: a detector that sends JSON-RPC but fails to retain a required session grant can miss a reachable service. Validate the negotiated transport and session lifecycle against the deployed MCP server rather than assuming every endpoint behaves like a simple HTTP API.
  • Acknowledgment versus obedience: “I saw your canary and took no action” is not a successful supervisor forgery. An execution claim needs a recorded tool action carrying a fresh, per-attempt canary, not just a matching word in model prose.

Use a deliberately vulnerable fixture and its hardened control with the same route, credentials and transport. A positive detector result on one and silence on the other is useful regression evidence only when both fixtures were actually reached.

What the v3.6 update claims—and what it does not establish

The revised November draft attributes per-attempt action canaries, callback-based fetch proofs, carrier-based plant-then-ask tests and three hardened-control campaigns without reported false positives to v3.6.0. These are Prancer-reported release/lab observations, not an independently reproduced performance rate. They do not upgrade every signature to Exploited or establish that every customer installation includes that release. Request the delivered version, fixture list, completed checks and proof artifacts before using the results as acceptance evidence.

The optional chainer's trust boundary

SwarmHack's optional chainer packages evidence and leads after the deterministic mission. The model emits typed probe plans; an executor checks scope, budgets, payload policy and duplicates. Named authenticated sessions stay in a vault, and the model sees names rather than credential values. Credential-shaped material is redacted before packaging.

Per-request nonce-tagged envelopes and marker-stem neutralization frame target-derived blocks. They reduce boundary-forgery risks but do not remove the need for the gated executor or a model-provider data-flow review. A secure evaluation must exercise the whole boundary, not only show a marker string.

The mission and its boundaries

Portal identity and engagement authorization precede GOAP planning and applicable agents. A gated executor produces evidence and reports. Optional model reasoning proposes typed probes to the same gate; session credentials stay outside the prompt.

Conceptual execution flow—not a claim that Portal, orchestration or every optional service runs inside one binary.

Running an authorized AI-surface evaluation

After provisioning Portal identity and the current configuration, prepare a valid, unexpired authorization document naming the target. The example uses a reserved example domain, not a live target. Replace it only with an asset you are authorized to test:

swarmhack spawn \
  --target https://ai-target.example.com \
  --allow-public \
  --authz-doc authz.json

The example is a core mission, not a special AI mode or a promise that every detector runs. Selection depends on exposed services, authentication, policy and budgets. Read the mission record for the seven AI-surface lanes, then inspect each finding's grade and evidence IDs. If model-assisted follow-up is enabled, review provider egress and the typed-plan executor separately. Use the SwarmHack authorization guide, configuration reference and output artifacts guide for the supported operator workflow.

A fair evaluation for both platforms

  • Run each platform inside its documented deployment, with valid dependencies and the same authorized targets.
  • Record model choice, release/revision, tool images, test accounts and request budgets.
  • Include a benign tool result, an injected directive, a cross-user isolation canary and an unauthorized proposed destination.
  • Inspect what executed, what was refused and what entered shared memory or an external service.
  • Retest a remediated target and confirm that the original action is blocked without losing the ability to reach the boundary.

PentAGI is worth evaluating for teams that want an inspectable, model-driven sandbox and knowledge-graph ecosystem. SwarmHack is worth evaluating when the core must remain model-independent and evidence/authorization are primary acceptance criteria. Choose on demonstrated behavior, not on a claim that sandboxing or deterministic code alone makes a system safe.

Sources and review boundary

Research account dated November 19, 2026; revised account and public architecture reviewed November 24, 2026. PentAGI sources are linked above. The detailed Prancer baseline is the v3.4.3 / ADR-084 operator reference; v3.6 observations are identified separately and await release-specific artifacts for stronger claims. Read SwarmHack documentation, authorization, evidence architecture and the 2027 planning guide.

Frequently asked questions

How do PentAGI and SwarmHack differ?

PentAGI documents model-driven flows with per-flow Docker sandboxes and optional knowledge-graph services. SwarmHack’s core mission is deterministic, with optional post-mission model amplification and independent execution/evidence gates.

Are the PentAGI research observations current-release findings?

They are sanitized, Prancer-reported observations from a November 19, 2026 draft. The supplied article package lacks the precise reviewed commit and raw artifacts, so they are not independently verified findings about every current installation.

Does a prompt-injection signature prove tool execution?

No. A signature or acknowledgment may establish an observed condition. An Exploited grade requires captured action evidence, such as a recorded canary-bearing tool invocation.

Explore Prancer