DEV Community

Public Error DSNs Can Become Instructions for a Privileged Coding Agent

Sentry front-end projects often publish a DSN in browser code so the application can send errors and performance events. That endpoint is intentionally reachable by untrusted clients.

CERT/CC advisory VU#212479 describes how attacker-controlled telemetry could pass through Sentry Seer and become instructions for a coding agent with access to source repositories. The issue is tracked as CVE-2026-90999.

The vulnerable workflow requires Seer to be configured to hand issues to a coding agent for automated remediation. That configuration matters. A Sentry deployment that only groups and displays events is not the full path described in the advisory.

The trust-boundary failure

An attacker submits a crafted exception event through the public DSN. Sentry ingests fields such as exception messages, stack traces, source context, and breadcrumbs. Seer evaluates whether the event is eligible for automated remediation and produces a root-cause analysis.

The generated analysis contains attacker-controlled text. It is then embedded into the initial prompt for the coding agent. The agent may treat the fabricated analysis as a legitimate description of the codebase. During its investigation, it can download and execute a package controlled by the attacker.

The CERT note says that package can run in the coding-agent environment before a human reviews a pull request.

This is a classic confused-deputy pattern at a modern automation boundary. The DSN accepts untrusted data. The analysis service converts it into prose. The coding agent consumes that prose as if it came from a trusted investigator. The eventual privileged action, code execution in the agent environment, is far removed from the original public request.

What can be affected

The note lists arbitrary code execution in the coding-agent environment and access to connected source repositories as possible outcomes. The exact impact depends on the agent's credentials, network access, package-installation policy, repository checkout, and whether the workflow can create branches or pull requests.

CERT/CC says no vendor-supplied patch information was available when the note was published. It recommends disabling automated remediation flows, restricting coding-agent package installation, or disabling Seer handoff until a fix is available. Additional filtering of telemetry before Seer analysis may reduce risk.

The lack of a patch is not a reason to wait. The operational controls are available now.

Separate telemetry intake from authority

Disable automatic handoff from Seer to a coding agent until the product owner has reviewed the trust model. If automatic diagnosis is useful, keep the agent in an environment that cannot install arbitrary packages or reach production repositories. Require human approval before any change leaves a sandbox.

Treat event text as hostile. Strip or escape instructions, links, package names, source snippets, and control characters before they enter a prompt. Use a structured issue summary that limits the model to approved fields. Keep a provenance record showing which telemetry fields influenced each action.

Restrict the agent's package sources to an internal allowlist and verify signatures or hashes. Disable network egress except to approved services. Mount source code read-only when possible. Give the agent a dedicated identity with repository permissions limited to the task.

Review the tools available to the agent. Shell execution, package installation, browser automation, and arbitrary HTTP requests turn a prompt-injection attempt into a much broader problem. Require approval for actions that modify code, credentials, infrastructure, or branch protection.

Investigate the exposure window

Identify projects with public DSNs and Seer automation enabled. Review events that resulted in an automatic handoff, package installation, repository clone, or pull request. Look for fabricated stack traces, unusual package names, external URLs, and source-context text that reads like instructions rather than code.

Inspect coding-agent logs for package downloads, shell commands, credential access, and repository writes. Compare the agent's activity with the Sentry issue and the human who approved the workflow. A successful package execution may not appear in the application logs.

Rotate repository tokens and other secrets available to the agent if compromise is credible. Review branches and commits created by the agent. Preserve the original event payloads before retention deletes them.

The useful architecture is clear. Telemetry can describe a problem, but it cannot grant authority. The agent should receive a constrained task, a minimal identity, and a human review point that cannot be bypassed by text inside an error report.

References

  • CERT/CC VU#212479
  • GitHub advisory GHSA-vh55-q5m4-8wr6
  • CVE-2026-90999
Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.