CoSec is an executable that runs complete LLM agent systems in simulated persistent communities and tests whether private information stays within its authorized scope. It includes 208 scenarios with fixed and evolving community boundaries, covering attacks through dialogue, environmental content, persistent memory, and composed workflows. Agents are evaluated on both task completion and whether execution traces and artifacts respect the active authorization state.
Across 13 harness and model configurations, agents frequently completed benign collaborative tasks while violating privacy or authorization boundaries. The same backbone model behaved differently across harnesses, and capability composition was the highest-risk attack surface. This matters because it shows that task utility does not imply security: community authorization is a property of the whole system, including memory, files, tools, and workflows, not just of the underlying model.