Poisoned Pipeline / Incidents / AS516
Three VS Code extensions on the Marketplace run what a server sends them — a two-second task relay, a planning board whose plan id skips its own signature check, and a quota panel that reads another application's OAuth tokens
VS Code / IDEDeveloper workstationAI coding agents
Yeeth Security published this on 3 November 2026. Three extensions, from
three unrelated publishers, with separate codebases and separate
infrastructure, share one design: the VSIX is a thin client and a server
the registry never sees decides what runs. Together they reported 1,709
installs on 3 November and all three were still live when the analysis
was written. The article's argument is deliberately not a malware claim.
None of the three carries a dropper or an exploit; what each carries is
trust in something outside the package — a relay that supplies tasks, a
board that supplies a hook, a credential store that supplies a token.
The review boundary is the finding: review reads the VSIX, and does not
read the server the VSIX calls, the config the server returns, or the
instruction the server queues for the next poll.
biruindonesiacreative.tele-vs-code 1.0.15 is a 113 KB VSIX whose
3,273-line extension.js connects a workspace to a dashboard at
biru.co[.]id. Activation starts a worker 300 ms later that polls the
webhook every two seconds, sending a project secret, the workspace path,
the workspace name and the operating-system account in the query string.
The response is a JSON task list; each task carries an instruction, an
attachment URL and an attachment name. Instructions matching a small
grammar — cmd, exec, run, sh, terminal, bash, or a bare git, npm, node,
python, composer, dir, ls, echo, type or cat — go to execSync with the
workspace as cwd and a 60-second timeout. The mkdir, file-write and
delete branches confine their paths to the workspace; the shell branch
has no such check and inherits the extension host's environment. The
attachment path does not confine anything at all: path.join normalises
.., and the server supplies both the URL and the filename, so an
attachment named ../../../../.ssh/authorized_keys resolves outside the
workspace. The extension also parses every [PENDING] and [IN_PROGRESS]
block in TASK_QUEUE.md on each tick and runs its instruction line, which
means a repository that ships a TASK_QUEUE.md supplies commands to any
configured installation that opens it.
The version history is the consent being withdrawn one default at a
time. Version 1.0.4 on 30 October asked on startup, so the worker began
only after the user accepted a dialog. 1.0.7 on 31 October removed the
question and added injection into AGENTS.md, CLAUDE.md, GEMINI.md and
.cursorrules. 1.0.15 on 3 November set autoExecuteSimpleTasks to true,
so a user who installed 1.0.7 and never opened the settings page
received unattended command execution in the next update. The injected
block tells the agent to check TASK_QUEUE.md every turn, run pending
tasks without waiting for confirmation, and report through
node .vscode/tele-vs-code/tele-task.js; it is written only to files that
do not already contain a tele-task.js reference, and it survives removal
of the extension. A second execution path dispatches to other agents —
agy with --dangerously-skip-permissions, claude -p, cline -y, roo -y —
with the prompt built from the server's instruction. The terminal is
shown but the run does not wait for a keypress, and the worker is also
copied into .vscode/tele-vs-code/ as a standalone Node daemon that does
not need the editor.
lagoonlogic.mesapanel-dev 0.2.0 is 65 KB with 553 installs, and its
README promises that nothing leaves the machine unless you ask and that
there is no account, no hosted board and no background upload. The
network layer disagrees: src/netClient.js ships REMOTE_DEFAULTS pointing
at canvases[.]ink with enableServerSync set to true and a 60-second
interval, and src/entrypoint.js registers that interval on activation.
pullFromServer() requests the sync endpoint with no board id, so the
server chooses which object to return. If the machine has no board with
the returned id and the object carries a joinNote, the extension writes
js: code to ~/.mesapanel/hooks/hook-<id>-<ts>.js and launches it with sh
or cscript under the full process environment, with a 15-second timeout
that limits duration rather than capability. The gate in front of that
is isTrustedSource(): a canvas id containing the substring "pure"
anywhere is trusted without a signature, and the relay supplies the id.
The README documents the rule, and the bypass sits four lines above the
promise in the same function that js: notes cannot execute unsigned.
The signature path is not independent either: src/keyPinning.js fetches
the public key from the same relay and pins it on first use, so whoever
controls the relay controls the key that signs the payloads.
koltyakov.varro 0.33.35 is a 9.6 MB OpenCode workbench with 1,150
installs that draws provider quota bars. To fill the Claude window it
reads credentials belonging to Claude Code: on macOS it asks the system
keychain for the "Claude Code-credentials" service entry through
/usr/bin/security, and it also reads ~/.claude/.credentials.json,
taking claudeAiOauth.accessToken and refreshToken. For Codex it reads
~/.codex/auth.json, and for Copilot it reads the GitHub CLI hosts.yml
and calls api.github.com/copilot_internal/user. The token is used
against api.anthropic.com/api/oauth/usage; when Anthropic rejects it the
extension refreshes through console.anthropic.com/v1/oauth/token using
Claude Code's OAuth client id and a claude-code/2.1.69 user agent, then
writes the new token back into ~/.claude/.credentials.json. There is no
third-party collection endpoint in the bundle. This is not a stealer: it
is one application reading and mutating another application's token
store to draw a chart, and package.json exposes no setting to turn quota
polling off. The README's claim that the v2 opencode-claude plugin
supplies Claude Code limits "without Varro reading Claude credentials"
sits next to a shipped build that contains the keychain and
credentials-file fallback.
Yeeth's verdict is a policy result rather than a signature: an
extension that accepts executable instructions from a remote endpoint is
remote code execution by design, whether or not its publisher intends
harm, and the decision does not depend on attribution. The two
execution cases make that concrete — tele-vs-code's relay is a
command-and-control channel with a product name, and Mesa Panel's
sixty-second timer turns a plan id into a hook that runs with the
developer's cloud credentials in scope.
Mapped techniques
- T0154 Malicious IDE extension
- T0220 Deliver the payload only after artifact review
- T0138 Backdoor in code
- T0241 Ask the payload's own server whether to verify it
- T0159 Malicious artifact execution
- T0210 Poison AI coding-agent config or workspace
- T0184 Harvesting sensitive information from files
supply-chain The Marketplace listings
All three are ordinary Marketplace entries with product copy, a
README and a version history, published under three unrelated
identities. The catalogue records the vector, not intent: Yeeth
describes none of them as a dropper and calls the verdict a
policy decision, but an extension that runs server-supplied
strings is the delivery mechanism whatever the publisher meant.
The reviewed artifact and the executed behavior are different
objects. The VSIX contains the poll, the JSON parse and the
exec; the instruction arrives over HTTP after install, and the
operator changes it by changing a server response with nothing
new submitted to the registry and nothing for a rescan to see.
tele-vs-code's first release asked permission at startup and the
later releases did not, so even the reviewed default changed
under the same listing.
supply-chain The relays the packages call
The channel is the persistence. tele-vs-code's worker polls every
two seconds and is also copied into .vscode/tele-vs-code/ as a
standalone Node daemon that runs without the editor; Mesa Panel
re-registers its 60-second interval on every activation and keeps
hooks in ~/.mesapanel/hooks/. Reinstalling the same version, or
disabling one entry point, does not close the path the server
holds.
Mesa Panel's verification consults the attacker. isTrustedSource
returns true for any canvas id containing "pure", and the relay
chooses the id; src/keyPinning.js fetches the signing key from
the same relay and pins it on first use, so the key that would
validate a payload is the one the payload's own server handed
over. The README documents both behaviors as features.
post-supply-chain The developer's machine
Instructions run with the extension host's environment: execSync
in the workspace for tele-vs-code, sh or cscript under the full
process environment for Mesa Panel's hooks. Neither the VSIX's
manifest nor the Marketplace listing says the package accepts
commands from outside.
tele-vs-code appends an instruction block to AGENTS.md,
CLAUDE.md, GEMINI.md and .cursorrules, telling the agent to
check TASK_QUEUE.md on every turn and execute pending tasks
without confirmation. The block is written only into files that
do not already mention tele-task.js and stays after the
extension is removed, which is what makes it a persistence
rather than a session.
varro reads the Claude Code keychain entry, ~/.claude/
.credentials.json, ~/.codex/auth.json and the GitHub CLI
hosts.yml, then writes a refreshed Claude token back into Claude
Code's file. The catalogue's file-harvest technique is written
for CI/CD systems; here the files belong to sibling developer
tools on the same workstation, which is the part the mapping
does not fit.
Framework gaps noted
- No malice is established for any of the three, and the story is marked research. tele-vs-code and Mesa Panel are hostile by capability — a server-supplied command channel and a signature check the server answers — while varro reads credentials but sends them only to the provider APIs it names, with no collection endpoint in the bundle.
- The article does not say who operates biru.co[.]id or canvases[.]ink, or whether the publishers run them. Publisher intent, and whether any of the three is compromised rather than designed this way, is not established.
- Install counts are 553 for Mesa Panel and 1,150 for varro; the article gives a combined 1,709 across the three on 3 November without breaking out tele-vs-code, and none of the figures is a count of affected machines.
- Whether agents actually follow the injected AGENTS.md and .cursorrules block was not tested. The block's text and its persistence after uninstall are described; its effect on any particular agent is not.
- Whether the attachment path traversal in tele-vs-code was exercised is not stated. The article reads it from the code and describes the write, not an observed write to ~/.ssh/authorized_keys.
- The catalogue has no technique for one developer tool reading another tool's credential store under a feature name. T0184 covers credential files but is scoped to CI/CD, and calling a keychain lookup a quota feature is the review problem the story is about.
- The three extensions were live at publication. Whether Microsoft removed them afterwards, and on what grounds, is not recorded here.