GoldShore
Recent AI Security Flaws: What MCP and OAuth Attacks Teach Us
GoldShore analysis · October 23, 2026
An AI assistant becomes an operational system when it can open a browser, access a repository, retrieve credentials, and call business APIs. Those connections create practical value. They also create paths through which an attacker can turn a routine interaction into an unauthorized action.
Recent MCP security disclosures and agent replay research show why securing an AI deployment requires attention to the software surrounding the model. Authentication metadata, browser helpers, cached results, and delegated permissions all deserve scrutiny.
This article distinguishes disclosed software vulnerabilities from experimental research. The cited sources do not establish that GoldShore was compromised, and this analysis does not claim exploitation in the wild.
A sign-in flow became a command-execution path
In a report dated October 19, 2026, Pillar Security describes an OpenCode vulnerability affecting versions 1.0.137 through 1.18.32 on Windows and WSL. A malicious MCP server could supply an OAuth authorization URL that reached an unsafe browser-launch path and triggered command execution during sign-in.
Pillar identifies version 1.18.33, released September 28, as fixed. The upstream change consolidates browser launching, validates URL schemes, and upgrades the open dependency. Pillar emphasizes that a valid HTTPS URL could still carry the attack: scheme validation alone did not close the vulnerable shell interaction.
GoldShore assessment: OAuth discovery responses must be treated as untrusted input. Teams should review how remote URLs reach operating-system launchers, use APIs that preserve argument boundaries, and inventory installed client versions rather than relying entirely on vulnerability alerts.
The warning has a history
A related case predates this month's report. On July 9, 2025, JFrog disclosed CVE-2025-6514 in mcp-remote. Versions 0.0.5 through 0.1.15 were affected; 0.1.16 introduced the fix. JFrog demonstrated arbitrary shell-command execution on Windows when connecting to an attacker-controlled MCP server.
This older disclosure provides context for the recurring failure pattern: remote authentication data crossing into privileged local execution. A connector is part of the security boundary even when its job appears to be transporting requests between two other systems.
A genuine result can still produce the wrong action
The TRAP preprint, submitted October 12, 2026, examines a different problem: an authentic, unchanged tool result being reused in an incompatible task context. Its ReplayBench evaluation spans eight models and three agent frameworks, reporting a mean final-state error rate of 64.9% under cross-task replay.
That figure describes the authors' experimental setup. It is not an estimate of compromise across deployed AI systems, and GoldShore has not independently reproduced the results.
Design implication: a cache entry needs more than a payload and a timestamp. Before reusing a tool result, a runtime should check its association with the requesting principal, task, tool arguments, and relevant resource state. A legitimate recovery operation should preserve those bindings; a different task should not silently inherit them.
Authentication, authorization, and freshness need separate checks
These cases expose three different questions:
- Authentication: who sent this request or result?
- Authorization: may that identity perform this action on this resource?
- Freshness and context: is the request still valid here, and has its effect already occurred?
The MCP authorization specification provides a baseline for OAuth resource targeting and issuer validation. For an integration gateway, the practical work includes testing tokens issued for another audience, mixed authorization sessions, and credentials presented to the wrong service.
For signed HTTP events, RFC 9421 explains how message coverage, timestamps, expiry, and nonces contribute to replay protection. Signature verification alone does not establish that processing an event again is acceptable.
Our recommended event design authenticates the event identifier, intended destination, freshness information, and payload together. The receiver then coordinates durable deduplication with work dispatch. It must also recover safely if it crashes between accepting an event and completing its effect. Retry handling and duplicate rejection need an explicit policy.
What this means for cloud-connected agents
Google's Agent Identity documentation describes per-agent cryptographic identities, certificate-bound Google Cloud access tokens, and distinct authentication models for agent-owned and user-delegated authority. Those are useful building blocks, subject to runtime support and receiver enforcement.
For architectures spanning GCP and Cloudflare, our recommendation is to map each trust boundary explicitly. Identify the caller, intended resource, allowed operation, and verification responsibility at every hop. An edge access policy and an application's tool-level permissions solve different parts of that problem.
Start with narrow permissions and demonstrate the rejection paths. Can an unauthorized agent use another agent's token? Can a request for one service be accepted by another? What happens after a key rotates, a permission changes, or an event is submitted twice at the same time?
A practical review for engineering teams
- Inventory agent clients, MCP proxies, browser launchers, and their installed versions.
- Confirm that untrusted discovery data cannot become executable shell syntax.
- Test wrong-issuer, wrong-audience, and crossed-session OAuth flows.
- Exercise duplicate events, expired signatures, changed identifiers, and retired keys.
- Verify that cached results remain bound to their task and resource context.
- Record rejection evidence without logging credentials, cookies, or sensitive payloads.
The engineering goal is an agent whose authority remains bounded as it moves between tools. A useful security review follows that authority from sign-in through execution, retries, recovery, and revocation.
Evidence note: software-version claims above come from the linked disclosures and upstream change. Replay findings are author-reported research. Architecture recommendations are GoldShore analysis, not claims that these controls have been verified in every GoldShore deployment. Pillar's page header and disclosure timeline show different publication dates; this article uses its displayed report date without asserting the first public-disclosure date.
