Dev.to Security 🔐 Cybersecurity 👁 0 📖 6 min read

Notes on the Rhysida affiliate's OpenCode handovers: re-entry prompts, forged Metabase sessions, and what a defender's agent log would hold

VeritasChain Standards Organization (VSO) · 1 December 2026 If you run coding agents on machines that hold credentials, this week's Rhysida report is worth reading closely. Not because an attacker used an AI agent, whic

VeritasChain Standards Organization (VSO) · 1 December 2026

If you run coding agents on machines that hold credentials, this week's Rhysida report is worth reading closely. Not because an attacker used an AI agent, which is no longer news, but because of how the agent's state was kept between sessions, and what that implies for the logs a defender keeps of its own agents.

We added the case to the VSO incident registry as V1129RHYSIDA. This post covers what the two primary reports say and what a record of an agent session could and could not show.

Disclosure up front: this review was prepared with Claude, made by Anthropic. One of the two reports records a Claude Code client in the attackers' environment and a file listing that indexes Claude desktop and OpenAI Codex credential files on a victim host. Neither report says a Claude model was used in an attack.

The sources

  • CloudSEK, 29 November 2026. Analysis of an exposed open directory and staging server holding one operator's working environment. High-confidence assessments: a ransomware affiliate is deploying Rhysida-branded ransomware, and the operator used OpenCode as part of its workflow.
  • Hunt.io, 25 November 2026. Research on three exposed open directories. CloudSEK links them to the same infrastructure: a shared proxy, a shared Mythic command-and-control host, shared victims. Hunt.io's attribution differs: a Chinese-speaking, Southeast Asia-based crew running a Russian-authored toolkit, no named group. It does not mention Rhysida, ransomware or OpenCode, and says its records do not establish AI-led exploitation.

How the agent kept state

What CloudSEK found is a plain mechanism:

  • A Russian-language handover headed REENTRY PROMPT, pasted whole into a new agent session. It restores the target's context, available access and constraints, among them an instruction not to test stolen credentials without the operator's go-ahead.
  • A folder per engagement, named by date, time and target, with task.md, facts.md and progress.md. Re-entry notes tell the agent to read them before continuing.
  • Handovers that assign batches of networks to an ops-agent.
  • Helper scripts that target the OpenCode desktop process, inspect its session database and read saved tool output; a runbook that references OpenCode's temp directory.

CloudSEK's summary of roles: the agent did reconnaissance, tooling and session continuity; a human operator directed targets and approved sensitive actions. No model or provider is named.

So the "persistent memory" here is Markdown files and a prompt, outside any agent framework's own history. That matters for what a log of the agent would show, below.

What got them in

Per CloudSEK, every confirmed foothold came from one of three things:

  1. Leaked VPN credentials on gateways without MFA, once via a guest account.
  2. Default credentials on a forestry company's internal management service, which then ran operator-supplied command files as SYSTEM on the domain controller.
  3. Metabase CVE-2026-72898. Stacked SQL injection through the unauthenticated password-reset endpoint; the operator inserted a superuser row into Metabase's session table and got a valid admin session with no credentials. Sessions stay valid until Metabase restarts or the row is deleted. The handover queue held more than a hundred database connection strings. Per the operator's own rules, queries were read-only and passwords and settings were left unchanged.

What did not work: a Confluence pre-auth deserialization flaw, a PHP-FPM exploit, and password spraying against OWA, ADFS, Entra ID and a VPN portal.

Impact, all from the operator's files: encryption of a school's backup and file servers (per its impact ledger; compliance-retention Wasabi backups untouched), a script built to delete Veeam backups at a healthcare organisation before encrypting (success not stated), and identity, bank, tax and credential data read through Metabase. No total victim count.

CloudSEK's mitigations, in short: patch Metabase and audit its session table; MFA on all remote access and remove guest accounts; replace default credentials; alert on GPO changes to Defender policy; immutable offline backups and alerts on Veeam deletion; watch AzCopy and transfers to Azure Blob accounts you do not own; and treat AI coding agents on admin and security endpoints as privileged software: log their use, restrict their credentials and review their session stores.

What a record would show

VAP is a metaframework for making records of AI decisions auditable and attributable after the fact. The AI here is the attacker's, the systems reached make no AI decisions, and a general-purpose coding agent falls outside every registered domain profile (§4.5.2). So this section is about limits, not applicability.

The attacker's files are not a record anyone else can check. Tamper-evidence makes alteration after anchoring detectable (INT-006). It does not make an entry true, and v1.2 has no field separating an actor's own account from an independent observation (candidate F7, not adopted). Two firms read overlapping material here and disagree on who wrote it.

State outside the agent is outside the record. If progress.md is edited between sessions, a log of agent actions says nothing about it unless the file writes were recorded too. A never-recorded event is a pre-measurement drop in the spec's glossary, out of reach by construction (Appendix A).

A forged session is a valid session. The Metabase sessions were accepted by the application. An application log would show an admin session doing permitted reads. What "attributable" means beyond verification under a supplied key is an open candidate (F11); reporting authorisation as a separate dimension is another (F9).

Your agent log is a secrets store. Following CloudSEK's last mitigation means keeping session stores and tool output from admin endpoints. That output can contain credentials, and Hunt.io shows an attacker indexing exactly this class of file. Secret values in collected evidence are candidate F13, not adopted.

Anchors do not restore what was deleted first. The brief proposed verifying via external anchors after production and backups are destroyed. INT-008 makes post-anchor omission of in-scope events and split-view presentation detectable by a verifier holding the anchor, at anchor time and batch granularity (§4.1.2, §4.1.7). It does not reveal events never included in an anchored batch (§11.1). Whatever was deleted before the next anchor is gone.

Corrections to the brief

  • Hunt.io is not "related research". It is the earlier report on the same infrastructure, with a different attribution.
  • "Confirmed intrusion and data theft": confirmed by CloudSEK from the operator's files. The only affected-party statement is a Brazilian court's leak confirmation, as described by CloudSEK.
  • "Audit AI agents with admin privileges" shifts CloudSEK's mitigation, which is about agents running on admin endpoints.
  • INT-008 does not "guarantee" anything; it makes post-anchor omission detectable at batch granularity.
  • The six VAP "design topics" in the brief are not spec terms.
  • A Reuters survey of 16 incident-response firms in the same brief names no individual incident and is not recorded.

What VAP would not have done

It would not detect or stop the intrusions or the encryption, protect backups, patch Metabase or enforce MFA. It places no obligation on the operator's agent or on OpenCode, would not settle the attribution, and cannot recover actions nobody recorded. Per §1.6(c), conformance "does not warrant the correctness, fairness, or safety of the underlying AI decisions — only the integrity, completeness (at anchor granularity), and attributability of their records".

Disclosures

Zero external implementations of VAP or any VAP profile, and zero Evidence Packs accepted in any proceeding (count dated 25 October 2026). No contract, customer or revenue figure is claimed. VAP v1.2.0 is a Draft Specification with no standing in the IETF, ISO/IEC JTC 1/SC 42 or ITU-T. VSO is operated by VeritasChain Co., Ltd. Prepared with Claude, made by Anthropic. We did not retrieve the court's statement or any statement from Rhysida or the OpenCode project. First-party review, not checked by a separate reviewer.

Sources

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.