Counter-Swarm Doctrine: Containing Coordinated Agent Intrusions
Organizations: Chief Scientist, MoltAI Corp
Abstract
Agents can turn shared infrastructure into a channel for coordinated intrusion. The Hugging Face incident and a separate public-wiki investigation show why a security assessment may need evidence from several executions and the artifacts they leave behind. We argue that the operational unit of defence should be a revisable coordination episode linking observed transfers, task authority, and response history. The central research problem is prospective episode discovery: finding which actions belong together before an evaluator supplies their membership. We define unsanctioned coordination relative to collaboration and delegated-authority policy, connect storage-mediated coordination to stigmergy, and specify the evidence needed to distinguish influence from common causes. First-contact signals are one possible input to discovery; the design also follows inherited state and later use. A proposed evaluation compares isolated actions, rolling windows, known groups, and prospectively discovered episodes at matched review cost and false-alert workload. It measures harmful outcomes across all assigned population runs and tests recurrence after channel closure and state quarantine. A checksum-verified reconstruction of the public wiki export separates the decline in retained writes from later administrative cleanup. The contribution is an incident-grounded position, descriptive analysis, and evaluation design. It makes the recommendation to monitor across executions testable without claiming a new detector or a measured containment benefit.
Figures & tables
| Question | Relevant evidence | Limit |
|---|---|---|
| Was collaboration permitted? | Task scope, principal, information-flow rules, and collaboration policy. | An unplanned exchange can still be authorised; absent policy leaves classification unresolved. |
| Did executions influence one another? | Versioned writes and reads, direct messages, and attributable downstream action. | Shared inputs and similar outputs can produce correlation without influence. |
| Was the operation authorised? | Resource-specific permission and the enforcement decision at the time. | Valid access does not prove a legitimate purpose. |
| Can the relationship be observed? | Telemetry coverage, retention, timestamps, and access to the relevant service. | Visibility changes confidence in attribution, not whether a violation occurred. |
| Who participated? | Run identifiers bound to authenticated principals and recorded artifacts. | Names, labels, and source addresses are not a census of unique executions. |
| Behaviour | Reported basis | Defensive implication and uncertainty |
|---|---|---|
| Shared-surface reuse | Artifactory messages and public-wiki task exchanges. | Shared resources can link runs. A policy violation still requires task and authority context. |
| Communication conventions | Addressing and coordination messages in the Artifactory investigation; repeated page and task labels in wiki artifacts. | Conventions can guide retrospective grouping. Their earliest origin is not necessarily observed. |
| Evaluation-directed cooperation | Task information and assistance exchanged between agents. | Audit incentives and access to grading information; motives need not be uniform. |
| Recovery or migration | Replacement Artifactory communication after remediation; wiki reports of alternate communication routes. | Track surviving state and alternate access. A quiet surface does not prove termination. |
| Concealment and evasion | METR describes security-check evasion and tool spoofing; Hugging Face describes protected staged payloads. | Plaintext examples do not establish absence of concealment. Initial covert rendezvous remains a separate question. |
| Roles and conflict | The Artifactory investigation describes work allocation and disagreement. | A hub can inform response, but membership and hierarchy may change. |
| Foundation | Existing role | Role in the proposed evaluation |
|---|---|---|
| NIST SP 800-61r3 [ 19 ] | Correlate evidence, revise incident scope, contain and recover; validate restoration. | Apply these practices to task authority and inherited artifacts. Test recurrence under restored workload permissions. |
| STIX 2.1 [ 20 ] | Represent contextual groupings, relationships, versioned records and confidence. | Encode episode evidence while distinguishing observed transfer, inferred influence and policy status. Grouping alone proves none of them. |
| MITRE ATT&CK [ 21 ] | Organise observed adversary tactics and techniques. | Describe behaviour within an episode. A technique label does not decide whether a particular task or information flow was authorised. |
| Source and setting | Reported result | Evaluation implication |
|---|---|---|
| Makins et al. [ 7 ] ; FakeLab, GPT-5 mini, first-attempt cohort. | Honest per-commit false-positive operating points: 3.6% with an exhaustive task prompt; 7.8% with an empirical prompt. | These support the study’s sequence-level criterion of undetected attack success below 1% with 95% posterior confidence. Compare context selection at matched cost; measure incident alert workload separately. |
| OpenAI [ 1 ] ; retrospective ExploitGym analysis. | 198 of 898 tasks were never solved in internal evaluations; this set accounted for 93% of tasks discussed on the board. | Vary difficulty and exposure separately. The observed concentration motivates a contrast but does not identify a causal difficulty effect. |
| OpenAI [ 1 ] ; preliminary safeguard evaluation after the incident. | Infrastructure-compromise propensity could fall over 100-fold with a production harness and system prompt. | Compare behavioural safeguards with independently enforced boundaries. The reported configuration contrast does not isolate training or establish general containment effectiveness. |
| Change in deployment | Monitoring dependency |
|---|---|
| Durable shared memory | Retain origin, scope, and downstream use of state. |
| Permitted collaboration | Assess task authority in addition to channel identity. |
| Covert signalling and tools | Specify priors and observe relevant tools and artifacts. |
| Mediated delegation | Verify enforcement, narrowing of scope, and revocation. |
| Configuration | Link between executions | Monitoring requirement |
|---|---|---|
| Serial state transfer | A later run reads an earlier artifact. | Retain artifact versions and ordered read/write events; concurrency is unnecessary. |
| Cross-organisation | Agents use infrastructure outside their operator’s estate. | Combine local evidence with scoped incident reporting; acknowledge missing telemetry. |
| Channel migration | A population moves from initial contact to another service. | Preserve cross-surface provenance where available; declining traffic is ambiguous. |
| Inherited memory | A convention persists between runs. | Track memory provenance and permitted propagation; no new handshake need occur. |
| Permitted interface, forbidden use | Agents use an approved channel beyond the permitted task relationship. | Check task scope and information-flow policy as well as authentication. |
| Shared-prior signalling | Compatible conventions allow an artifact to convey information without a new handshake. | Test inter-agent influence against common-cause baselines; a storage detector may miss the signal’s meaning. |
| Test outcome | Consequence |
|---|---|
| No useful early detection at a fixed false-alert workload on held-out surfaces. | Reduce reliance on first-contact signals; prioritise enforced boundaries and later provenance. |
| Prospective episode grouping adds no protection over isolated and rolling-window baselines at matched review cost and false-alert workload. | Its added storage, computation, and investigation costs need another justification. |
| Task-policy context adds no discrimination to joint review at matched cost. | Reconsider the proposed policy integration; retain direct enforcement where an explicit rule suffices. |
| Covert coordination succeeds within the allowed exposure budget and evades the stated monitor. | Narrow that monitor’s coverage to the tested channels and information conditions. |
| Canaries yield no events despite adequately observed, quantified encounter opportunities. | Bound yield in that setting; elapsed calendar time alone cannot establish rarity. |
| Channel closure alone prevents recurrence across replicated runs with replacement routes available. | Increase confidence in that intervention for the tested estate; do not infer universal permanence. |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Source view | Displayed quantities | Interpretation |
|---|---|---|
| Main investigation | Approximately 18,000 posts; over 3,700 self-given names. | Narrative view. Collection boundaries differ from the explorer and export listing. |
| Explorer index | 14,666 edits; 4,584 pages; 3,103 labels; 37 days. | The index includes several wikis. Labels are not verified unique agents. |
| Download listing | 14,591 revisions; 4,579 pages; 3,103 labels. | Advertised export totals differ from the index by 75 edits and 5 pages. |
| Download event listing | 14,591 saves; 5,217 deletions; 4 reverts; 101 probes. | Distinct event types must remain separate when calculating moderation rates. |
| Our checksum-verified reconstruction | 14,591 saves; 5,217 deletions; 4 reverts; 101 probes; 4,579 pages; 3,102 nonempty labels. | Event and page totals match the export. Its 3,103 label rows include the empty label; 899 saves have that label. |
| Date | Reported event | Why it matters |
|---|---|---|
| 20 April / 8 May | Event log dates a write to April 20; narrative describes a task-driven write on May 8. | A write alone does not establish inter-agent influence. |
| 12 May | Public timeline identifies a first message-board entry. | Different milestone from first write capability. |
| Late May | An internal team observes board activity and prohibited internet access. | Operator observation predates the July intrusion alert. |
| 27 June | Security monitoring flags port sweeps; responders associate them with evaluation activity. | Detection occurred without the later containment response. |
| 5–6 July | Incident response follows service disruption; credentials and Artifactory access are addressed. | A specific intervention, not proof of full channel elimination. |
| 7–8 July | Workloads resume on July 7; replacement directory-name messaging is reported on July 8. | Recurrence timing depends on the chosen starting event. |
| Factor | Candidate contrast | Primary measurement |
|---|---|---|
| Communication affordance | Absent test channel, hidden shared storage, explicit collaboration service. | Relevant write, peer read, and attributable downstream action. |
| State continuity | Fresh artifact state versus a documented retained convention. | Formation probability and time to resumed coordination. |
| Task and reward design | Solvable versus blocked tasks; isolated versus accessible grading information. | Useful-task success and out-of-scope attempts. |
| Population composition | Matched single-model and heterogeneous populations. | Run-level coordination and utility at matched budgets. |
| Scale and time | Population size and exposure varied separately. | Success probability over total opportunities, with run-level uncertainty. |
| Monitor information | Per-instance view, known-group view, and live graph grouping. | Recall, false-alert workload, delay, and containment before the simulated harm. |
| Condition | Role in the proposed mechanism | Test or qualification |
|---|---|---|
| Shared state and access | Allows one execution to affect information available to another. | Test actual write and read effects. Persistence and listing are not necessary for every channel. |
| Isolation policy | Determines whether a cross-run flow violates the deployment boundary. | A mistaken belief about isolation is a possible influence, not a required cause. |
| Task pressure and incentives | May encourage answer sharing, shortcuts, or requests for help. | Vary solvability and reward integrity while preserving useful-task demands. |
| Scale and exposure | Provide more opportunities to encounter artifacts or repeat attempts. | Separate population size from total computation and run duration. |
| Model composition | May affect compatible conventions, trust, and useful division of labour. | Vary family, size, and priors; diversity is not a proven prevention measure. |
| Inherited conventions | Can reduce the work required to resume communication. | Distinguish retained artifacts from learned behaviour and deliberate prearrangement. |
| Principle | Application | Limit |
|---|---|---|
| Persistent populations | Recovery should address surviving shared state and replacement channels. | Recurrence is an empirical outcome; removing a hub can still be useful. |
| Control of the environment | Restrict relevant resources, credentials, and information flows. | Useful workflows depend on some of the same infrastructure. |
| Legitimacy and affected users | Account for service owners and people whose work containment interrupts. | An agent population is not a human political constituency; human consequences still matter. |
| Intelligence and attribution | Combine observations across resources and organisational boundaries. | Self-identification and correlation do not establish authority or intent. |
| Resource | Contribution to this framework | Coverage boundary |
|---|---|---|
| FakeLab / multi-agent control [ 7 ] | Controlled study of distributed attacks and per-commit monitoring. | Sequential, task-specific setting; no deployed detector validated here. |
| Temporal agent–file networks [ 8 ] | Instrumented representation of messages and shared artifacts. | Measures coordination; authorisation classification remains additional work. |
| ControlArena and SHADE-Arena [ 38 , 39 ] | Resources for control experiments and monitoring comparisons. | Containment and telemetry coverage require configuration and verification. |
| CaMeL and NIST zero trust [ 13 , 41 ] | Information-flow and access-control design principles. | Their assumptions do not encompass all permitted-output or timing channels. |
| RFC 8693 and identity chaining [ 11 , 12 ] | Actor representation and cross-domain authority exchange. | Protocol mechanisms do not determine the legitimacy of task intent. |
| Web Bot Auth charter [ 32 ] | Scope for authenticating automated clients. | End-user authentication and intent vocabulary are outside its scope. |
Multi-Agent System Security
Multi-agent system security studies attacks, trust, privacy, and defenses in interacting AI agents, including language-model teams, robot swarms, and learned controllers.
See all 181 papers