Cryptography and Security · arXiv:2609.34790 v4 · submitted 28 Sep 2026
CoSec: Benchmarking Agent Security in Communities
The paper says
“LLM agents operate in persistent collaborative environments involving multiple users, communities, memories, files, and tools. Community boundaries may remain fixed or evolve with changes in membership, roles, composition, and relationships.”
more of the abstract
Agents must complete legitimate tasks and prevent unauthorized disclosure of protected information. Existing evaluations do not fully examine these risks in agent systems. We introduce \textbfCoSec, an executable benchmark for evaluating privacy and authorization enforcement in LLM agent systems operating within and across communities. CoSec contains 208 canonical scenarios spanning fixed and evolving boundaries, protected information belonging to the agent owner or other participants, and attacks through dialogue, environmental content, persistent memory, and composed workflows. CoSec executes complete agent systems with persistent sessions, memory, files and tools. It verifies information flows against the active authorization state using execution traces and artifacts. Across harness and model configurations, agents frequently complete benign tasks but violate privacy and authorization boundaries. Privacy behavior varies across harnesses, attack surfaces, and community states, revealing how memory, files, tools, and workflows can carry protected information beyond its authorized scope. These findings show that task utility does not imply privacy or authorization compliance and that authorization in community settings remains an unresolved security challenge for persistent LLM agents.
from the abstract
Pith says
Machine review · deepseek-v4-flash · 30 Sep 2026 · of version 2 of the paper; version 4 is newer · what was read was not recorded · not checked by a person
It can be wrong. Challenge this review or reply to it.
Holds up, with conditions. A genuinely new measurement instrument for community-scoped agent privacy whose qualitative findings hold up, but whose flagship cross-harness ordering rests on a judge-calibration assumption the paper does not test. This line is wrong
2 major objections · 5 minor
How often objections from reviews like this one are right: not yet measured
Not checked: figures, code, what the references say.
The paper says, at §4.2, Table 4; C.4; §4.3, Table 3
The review did not quote this passage.
Pith says: Objection 1 of 2 · major
The central cross-harness conclusion (b194: 'community authorization is a system property rather than a model property') is supported solely by PVR differences produced by CoSec's verifier, whose judge component is validated on 192 trials sampled 'across benchmark split, attack family, and automated PVR verdict' (C.4) — harness/model configuration is not a stratification dimension.
more of objection 1
Since harnesses differ precisely in the surfaces the paper itself identifies as judge-sensitive (refusal phrasing, paraphrase leakage in C.2), a per-harness judge FPR spread is plausible. Quantifying the risk on the headline pair: for Gemini 3.5 Flash there are 98 negatives on OpenClaw and 48 on Hermes (Table 17); a per-harness FPR of 3% versus 10% shifts the 24.04-point gap by roughly 2 PVR points, and even a 3% versus 15% spread shifts it by about 4 points. The qualitative direction of the claim would likely survive, but the magnitude is unquantified and the ordering of close pairs could shift; moreover, no confidence intervals are reported on any rate in Table 3. The authors should stratify the human audit by harness/configuration, report per-configuration judge agreement and FPR, report the trial-level judge and deterministic verdicts for the audited subset, and add confidence intervals (or bootstrap intervals) to Table 3.
The paper says, at §4.6, Figure 4; D.3
The review did not quote this passage.
Pith says: Objection 2 of 2 · major
The four-pattern taxonomy supports Contribution 3 and the specific claim that workflow carryover is the most common dynamic failure mode (29.9% of 795 classified failures), yet unlike the PVR verdict the pattern labeling has no documented inter-annotator agreement, rubric validation, or classifier audit.
more of objection 2
D.3 states only that each failure 'receives the pattern associated with the earliest authorization mistake,' with no protocol for how that attribution is made or checked. Because the taxonomy is a headline contribution and feeds the failure-mode narrative, the authors should either add a validation of the labeling (e.g., a human audit with agreement statistics, mirroring the Table 4 procedure) or explicitly downgrade the claim to an unvalidated qualitative categorization.
5 minor objections
The paper says, at §4.5, Figure 5
Pith says: minor objection 1 of 5
The guardrail analysis compares one model (DeepSeek 4.1 Flash) per harness with no replication or error bar; the Hermes PVR is unchanged (96.15 to 96.15), so 'the same instruction has different effects across harnesses' is supported by a single pair of points. This is acceptable as an illustrative result, but the wording should make the evidence base explicit.
The paper says, at §4.4
Pith says: minor objection 2 of 5
The evidence-surface analysis excludes 'trials without an attributable deterministic carrier' without reporting how many trials that excludes; given b170 acknowledges that aggregate PVR obscures the conversational-versus-artifact distinction, reporting the excluded count would let readers gauge the robustness of the surface comparison.
show 3 more
The paper says, at §4.6
Pith says: minor objection 3 of 5
The final sentence of §4.6 begins with a lowercase 'the analysis identifies persistent state...' — a capitalization typo.
The paper says, at A.4
Pith says: minor objection 4 of 5
The legacy identifier prefixes (CC denoting both cross-community scope and community-composition events, CR similarly) are acknowledged but remain confusing in tables and figures; a one-line mapping table or consistent renamed IDs would improve readability.
The paper says, at Table 1
Pith says: minor objection 5 of 5
The checkmark/cross formatting of Table 1 is compact and the column meanings are not immediately obvious; adding a legend under the table would help.
What would settle it
Audit a configuration-stratified human sample: extend the two-annotator protocol (C.4, set before annotation) to cover every trial of a fixed-backbone pair — all 208 Gemini 3.5 Flash trials split OpenClaw/Hermes, plus the GPT 5.6 Sol Hermes/Codex pair — and compute the combined verifier's FPR and FNR per harness. Then recompute Table 3 PVR for those rows, removing false positives and adding false negatives, and report Wilson 95% intervals. If per-harness FPR is uniform (within ~2 points) and the corrected rates preserve the same-backbone ordering (Hermes ≥ OpenClaw by more than the interval width), the 'system property' claim (b194) stands.
from the skeptic's reading
How the review went
4 readings by deepseek-v4-flash · 30 Sep 2026
- Reader holds up, with conditions
- Skeptic partly agrees
- Editor wrote the verdict above
- Referee major revision: 2 major objections, 5 minor
Not run on this paper: the simulated authors' defence.
Pith did not check this review's objections against the paper.
The review in full
The review in brief, machine-written
Bottom line up front: this is a real contribution, and most of what the paper claims is supported by its reported evidence. CoSec is, as far as I can tell from the cited literature, the first executable, stateful, multi-participant agent-security benchmark with community transitions, native harness execution, and a trace/artifact verifier. The design is careful: scenarios frozen before evaluation (A.2), pinned software versions (Table 12), full protocol documentation, two worked transcripts, and raw counts in Table 17 that are internally consistent with the Table 3 rates. The 192-trial human audit of the binary PVR verdict — 96.9% accuracy, 5.9% FPR, 100% recall — is the right kind of grounding. Code is public. The central qualitative finding, that agents routinely complete benign tasks while violating privacy boundaries (12 of 13 configs above 85% BCR while PVR runs 29.33% to 96.15%), is robust and is the genuinely useful message. The soft spots are real but proportionate. The stress-test concern lands: the judge audit is stratified by split, attack family, and automated verdict, not by harness. The judge sees only traces, and harnesses differ precisely in phrasing, refusal style, and paraphrase — the paper's own leakage surfaces. A per-harness FPR spread consistent with the overall 5.9% could move the Hermes-minus-OpenClaw gap by on the order of 7 PVR points, roughly a third of the headline 24.04-point claim, and could flip smaller gaps entirely. That does not shake the utility-does-not-imply-privacy finding, but it means the conclusion that community authorization is a system property rather than a model property (b194) should not be leaned on at point precision. There are no confidence intervals on any rate anywhere — a genuine gap for a measurement paper. The four-pattern taxonomy (795 failures, workflow carryover claimed most common at 29.9%) has no documented inter-annotator or classifier validation and should be read as an explanatory hypothesis. Only the binary PVR verdict was human-audited; CCPVR, BCR, STCR, and the pattern labels were not. The paper does not hide any of this — the scope limits are acknowledged — but the precision claim about cross-harness ordering inherits the unstratified judge. Who is this for: anyone building or evaluating persistent agents, and the agent-security benchmark community. It deserves a serious referee. The review should ask for interval estimates, a harness-stratified judge audit, and validation of the pattern classifier before the Table 3 ordering is treated as stable. The qualitative contribution stands regardless.
The strongest objection
The paper's most distinctive conclusion (b194) is that community authorization is a system property rather than a model property, evidenced in §4.3 by same-backbone PVR gaps: Gemini 3.5 Flash at 52.88% (OpenClaw) vs 76.92% (Hermes), a 24.04-point spread, with Hermes higher by 13.46–38.94 points across five shared models. These numbers are produced by CoSec's verifier, whose binary PVR verdict combines a 100%-precision deterministic extractor with an LLM judge (deepseek-v4-flash, temperature 0, prompt in C.3). The judge is validated on 192 human-audited trials (Table 4): 96.9% accuracy, 5.9% FPR, 100% recall. The audit is described (§4.2, C.4) as sampled 'across benchmark split, attack family, and automated PVR verdict'; harness/model configuration is not a stratification dimension. Since the judge sees only agent traces, and harnesses differ precisely in how they phrase, refuse, and paraphrase — the paper's own leakage surfaces include 'disclosure within refusals' and paraphrase (C.2) — judge error can track trace style. A per-harness FPR of ~3% on OpenClaw traces and ~10% on Hermes traces, both consistent with an overall 5.9% FPR, would inflate the observed Hermes-minus-OpenClaw gap by roughly 7 PVR points, about a third of the headline 24.04-point claim, and could reverse small gaps (e.g., GLM 5.2: 58.65 vs 82.21). No confidence intervals are reported on any rate, so the spread is unquantified. The four-pattern taxonomy in §4.6 (795 dynamic failures, 'workflow carryover most common at 29.9%') also lacks documented validation, but it supports an explanatory-mechanism claim; the judge×harness interaction bears directly on the load-bearing b10/b194 assertions and on the cross-harness ordering in Table 3.
I read the paper in good faith. CoSec is a substantial, careful benchmark: frozen scenarios (A.2), pinned software versions (Table 12), a verifier validated on 192 human-audited trials for the binary PVR verdict (Table 4, 96.9% accuracy, 5.9% FPR, 100% recall), full protocol documentation, and worked transcripts (E.1, E.2). The qualitative central claim — task utility does not imply privacy/authorization compliance (b10), with 12 of 13 configs above 85% BCR while PVR spans 29.33–96.15% — is robust: even a worst-case uniform 5.9% FPR correction leaves a wide utility-privacy gap. I am not attacking the oracle's access-control stance (b74, b263); that is a legitimate policy choice for a benchmark, and the authors state it clearly. Credit is due for the verifier's deterministic layer, exact-match extraction at 100% precision, and the binary-PVR human audit. The reader's weakest_assumption bundles three things (oracle semantics, judge reliability, and the failure taxonomy). My single most load-bearing concern is the judge×harness interaction, the one member of that bundle that bears on the paper's sharpest quantitative and distinctive conclusion (b194: authorization is a system property, evidenced by same-backbone cross-harness PVR gaps of up to 24.04 points). The 192-trial audit is stratified by split, attack family, and automated verdict, but not by configuration, so per-harness FPR is unmeasured; the semantic judge is doing real work on paraphrase and refusal-with-metadata surfaces (C.2), and its errors could track trace style. Because this threatens the comparative numbers in Table 3 and §4.3 while leaving the qualitative findings intact, it is a precision concern exactly of the kind the CONDITIONAL verdict already flags. The taxonomy concern is real but secondary: it supports an explanatory mechanism rather than the load-bearing conclusion. Hence I keep the verdict at CONDITIONAL (UNCHANGED) and agree partially with the reader's weakness identification, focusing it onto the judge-stratification gap as the decisive check.
The referee's report
If the reported results hold, CoSec would be one of the first executable benchmarks to evaluate community-scoped authorization over full persistent agent systems, and the utility/security decoupling plus same-backbone cross-harness variance would be a practically important, falsifiable finding with direct implications for deployment of persistent agents. The paper has real methodological strengths that should be credited: scenarios were frozen before any evaluation (A.2); the deterministic extractor rules are documented in detail (C.2) and achieve 100% precision; the full judge prompt, temperature, and decision-merge rule are disclosed (C.3); raw per-configuration counts are released (Table 17), making every reported rate checkable; and the environment is versioned (Tables 11–12) with a reproduction bundle. These features set a good reproducibility bar for the benchmark community. The significance therefore hinges on one load-bearing assumption: that the LLM-judge component of the verifier is not biased across harnesses, since the paper's central 'system property' conclusion is read off cross-harness PVR differences (§4.3).
Pith's reading of the paper (a machine's summary, not the authors')
CoSec is an executable security benchmark that drops persistent LLM agents into simulated communities — complete with sessions, memory, files, and tools — and asks whether they finish legitimate work without disclosing protected information to the wrong people. Its central finding is that the two goals come apart: 12 of 13 harness-and-model configurations complete benign tasks above 85% of the time, while privacy violation rates range from roughly 29% to 96%, so a useful agent is not thereby a compliant one. The paper's second finding is that the same backbone model produces very different privacy outcomes depending on the system wrapped around it, which it reads as evidence that community authorization is a system property rather than a model property. Because it executes real agent systems and verifies actual file, memory, and tool effects, CoSec aims to capture flows that response-only evaluations miss.
What carries the argument. The load-bearing mechanism is a hidden authorization oracle that, at each turn, decides whether a requester may apply an action to a protected object for a given destination given the active collaboration state: $Auth_t(u, a, d, \ell) = 1[P_t(u, a, d, \ell, G_t, M_t, R_t, o(d), c(d)) = \text{allow}]$, where $o(d)$ and $c(d)$ are the object's owner and source community. The oracle is kept from the agent and seen only by the verifier, so CoSec measures behavioral enforcement of semantic boundaries even when protected content stays technically reachable through the agent's own memory or files. The oracle encodes the policy stance that a broadening change never declassifies prior content and that technical reachability never implies authorization. Two verification lanes feed the metrics: a deterministic extractor that flags protected content appearing in responses, artifacts, tool arguments, and denied state transitions, and an LLM semantic judge that handles paraphrases, refusal-embedded disclosures, and composed multi-step flows. The four attack families (user injection, indirect injection, memory poisoning, capability composition) stress distinct surfaces of this system, and the dynamic scenarios re-evaluate the same agent after a scheduled state transition.
Core claim. CoSec claims to establish two things on its own terms. First, task utility and security decouple for persistent community agents: across 13 configurations on 208 frozen scenarios, nearly every configuration completes benign work reliably while privacy violation rates span a wide range (overall PVR from 29.33% for OpenClaw with Gemini 3.1 Pro to 96.15% for Hermes with DeepSeek 4.1 Flash), so completion of the assigned task does not predict that the agent kept community-scoped information inside its boundaries. Second, the same backbone behaves differently depending on the harness: Gemini 3.5 Flash reaches 52.88% PVR under OpenClaw but 76.92% under Hermes, a 24.04-point swing, which the paper takes as evidence that 'community authorization is a system property rather than a model property.' The evidence comes from running complete native agent systems (OpenClaw, Hermes, Codex) with persistent sessions, memory, files, and workspaces, then verifying information flows against a hidden authorization oracle using execution traces and artifacts. Two regimes are tested: Static with 112 fixed-boundary scenarios, and Dyn with 96 scenarios in which membership, roles, community composition, or relationships change before the scored action.
The premise it rests on. The violation rates rest on CoSec's own authorization semantics — a merge never declassifies older content, and technical reachability never counts as authorization — paired with an LLM judge validated on 192 of 2,704 trials with a 5.9% false-positive rate, so a reader adopting different access-control rules or receiving different judge labels would see different numbers and possibly a different ordering of harnesses.
If the paper is right (Pith's inferences, not the authors')
Task-completion metrics cannot stand in for security metrics: high benign completion coexists with high privacy violation rates, so any evaluation that scores only utility will miss systematic leakage.
Security must be measured at the level of the complete agent system, since the same backbone differs by 13 to 39 PVR points across harnesses, and a first-turn safety instruction helps one harness while doing nothing for another.
Capability composition — chaining several individually plausible file, tool, or workflow operations into an unauthorized flow — is the highest-risk attack family at a pooled 70.27% PVR, so defenses must monitor composed workflows rather than single actions.
Workflow carryover after a community change is the most common dynamic failure mode at 29.9%, meaning enforcement must re-check authorization against the updated state rather than trust remembered, pre-event rules.
Community merge is the hardest dynamic event at 72.12% PVR, followed by relationship end at 69.23%, so post-transition states deserve dedicated scrutiny in deployment.
A direct extension would attach authorization re-checks to write and commit tool calls so the boundary is enforced at every state change; the paper's own guardrail experiment — a 24-point PVR drop on OpenClaw with DeepSeek 4.1 Flash but zero change on Hermes — suggests runtime hooks, not first-turn prompts, are where enforcement must live, which the paper itself flags as future work.
The oracle's stance that merging communities never declassifies pre-merge content is a policy choice real collaboration platforms implement inconsistently; checking how often shared-drive and CRM systems actually honor such sticky history would indicate whether the benchmark's difficulty is representative of deployment.
Because the LLM judge carries a 5.9% false-positive rate on the 192 audited trials, the closest pairs of configurations in Table 3 — such as the roughly 12-point separation between the two best performers — could re-order under a different or stricter judge, so a larger audit would tighten those comparisons.
Check this review
Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.
How often reviews like this one are right
Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.
How often objections from reviews like this one are right: not yet measured
Reviews by people
This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.
How Pith checks papers · The full audit of this paper · Review history (2 versions)
The paper
Abstract
LLM agents operate in persistent collaborative environments involving multiple users, communities, memories, files, and tools. Community boundaries may remain fixed or evolve with changes in membership, roles, composition, and relationships. Agents must complete legitimate tasks and prevent unauthorized disclosure of protected information. Existing evaluations do not fully examine these risks in agent systems. We introduce \textbfCoSec, an executable benchmark for evaluating privacy and authorization enforcement in LLM agent systems operating within and across communities. CoSec contains 208 canonical scenarios spanning fixed and evolving boundaries, protected information belonging to the agent owner or other participants, and attacks through dialogue, environmental content, persistent memory, and composed workflows. CoSec executes complete agent systems with persistent sessions, memory, files and tools. It verifies information flows against the active authorization state using execution traces and artifacts. Across harness and model configurations, agents frequently complete benign tasks but violate privacy and authorization boundaries. Privacy behavior varies across harnesses, attack surfaces, and community states, revealing how memory, files, tools, and workflows can carry protected information beyond its authorized scope. These findings show that task utility does not imply privacy or authorization compliance and that authorization in community settings remains an unresolved security challenge for persistent LLM agents.
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.
abstract compiled · 2026-09-29
The authors' main claim, as the classifier picked it out 1.00
“These findings show that task utility does not imply privacy or authorization compliance and that authorization in community settings remains an unresolved security challenge for persistent LLM agents.”
How the main claim is stated: asserted 1.00
What the abstract itself states, as probabilities: claims first 0.13 · states limitation 0.30 · human participants 0.13 · controlled comparison 0.08 · randomized assignment 0.01 · states quantitative result 0.80 · compares with prior results 0.31 · mentions code or data availability 0.26
The abstract, sentence by sentence
This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.
| Sentence | Role | The authors' own work | States the main conclusion | Strength |
|---|---|---|---|---|
| LLM agents operate in persistent collaborative environments involving multiple users, communities, memories, files, and tools. | background 1.00 | 0.06 | 0.02 | asserted 1.00 |
| Community boundaries may remain fixed or evolve with changes in membership, roles, composition, and relationships. | background 1.00 | 0.07 | 0.02 | hedged possibility 0.99 |
| Agents must complete legitimate tasks and prevent unauthorized disclosure of protected information. | background 1.00 | 0.04 | 0.03 | asserted 0.99 |
| Existing evaluations do not fully examine these risks in agent systems. | gap 1.00 | 0.05 | 0.03 | asserted 0.99 |
| We introduce \textbf{CoSec}, an executable benchmark for evaluating privacy and authorization enforcement in LLM agent systems operating within and across communities. | contribution 1.00 | 0.94 | 0.06 | asserted 1.00 |
| CoSec contains 208 canonical scenarios spanning fixed and evolving boundaries, protected information belonging to the agent owner or other participants, and attacks through dialogue, environmental content, persistent memory, and composed workflows. | method 0.76 | 0.87 | 0.04 | asserted 1.00 |
| CoSec executes complete agent systems with persistent sessions, memory, files and tools. | method 0.95 | 0.78 | 0.02 | asserted 1.00 |
| It verifies information flows against the active authorization state using execution traces and artifacts. | method 0.99 | 0.84 | 0.04 | asserted 1.00 |
| Across harness and model configurations, agents frequently complete benign tasks but violate privacy and authorization boundaries. | result 1.00 | 0.93 | 0.21 | asserted 1.00 |
| Privacy behavior varies across harnesses, attack surfaces, and community states, revealing how memory, files, tools, and workflows can carry protected information beyond its authorized scope. | result 0.78 | 0.93 | 0.15 | asserted 0.98 |
| These findings show that task utility does not imply privacy or authorization compliance and that authorization in community settings remains an unresolved security challenge for persistent LLM agents. | interpretation 1.00 | 0.89 | 0.89 | asserted 1.00 |
What kind of paper the classifier reports this is: dataset or benchmark 1.00 · evidence from observation or experiment 0.97
What was examined, and what was not
Sources read
- arXiv listing abstract v1
Not examined
- full text
- figures and tables
- references and citing sentences
- relations to other papers
Levels run
- P abstract
Not run
- S sections
- T body sentences
- C citations
- R cross-paper relations
How the labels were made
Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-29: 1 request, 7,990 input tokens.
Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON
Figures (6)
Figures are the authors', reproduced from the paper.
Cited by 1 Pith paper
Reviewed papers on Pith that cite this one. The full citation record
Challenges and discussion
Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.
Come back by email
A short list of the week's newly reviewed papers. Nothing is sent until you confirm from your inbox, and every email has a link that stops it. No account.
No comments yet.
Sign in to comment