Abstract

When an AI agent loads a Model Context Protocol (MCP) server or an agent skill, whose code and whose instructions is it running, and with what authority? When the component comes from someone else, that party’s, under whatever identity and confinement the host supplies. A local MCP server is a client-launched process with the files, environment and network its launch gives it. A remote server is an HTTP service that receives tool inputs and, where authorization is used, a token scoped to that server. A skill is a folder of instructions, sometimes with scripts, whose effects depend on the tools and permissions the host grants. Approval, where asked for, may cover only a name or part of a configuration, while packages, tool descriptions and skill text change later. Cases from 2025 and 2026 include critical tool-server bugs, repository files that ran code on project open, consent checks that missed configuration changes, an npm backdoor and malicious skills listed with passing audits. Studies find that scanners disagree and that detonation catches malware they miss. In these cases, the controls that would have changed outcomes bind approval to exact content, pin versions, restrict egress and keep credentials out of tool processes.

What an agent installs

An agent’s capabilities can arrive the way software libraries do: someone else writes them, a registry or a repository distributes them, and a configuration file pulls them in. MCP servers and agent skills are two such channels. Our explainer on AI agents and tool use covers the MCP architecture of host, client and server. The relevant facts here are narrower: what runs where, under which identity, and who can change it after a person or policy has approved it.

Local MCP servers: a process the client launches

The 2026-07-28 specification defines stdio as “newline-delimited messages over the standard streams of a client-launched subprocess”.1 The process runs with whatever identity, environment and confinement its launcher gives it. On a developer workstation without a sandbox, that is the developer’s account. The protocol’s Security Best Practices page describes local servers as binaries that “may have direct access to the user’s system and may be accessible to other processes running on the user’s machine”, and lists “Arbitrary code execution. Attackers can execute any command with MCP client privileges” among the risks of servers from untrusted sources.2 For credentials, the authorization specification says stdio implementations “SHOULD NOT follow this specification, and instead retrieve credentials from the environment”.3

Client configurations name a command and arguments, often a package runner such as npx or uvx followed by a package name. npm’s documentation says that if a requested package is not in the local project dependencies, it is “installed to a folder in the npm cache”, and that the confirmation prompt can be suppressed with --yes.4 Which version arrives depends on the specifier and on what is already present. The npx documentation says a name “provided without a specifier will be matched with whatever version exists in the local project”; a name with a specifier matches a local dependency only on the exact name and version.4 Outside a project that already depends on it, a name or @latest resolves through the latest dist-tag, which npm publish sets by default and which a publisher can move, though a matching cached copy may be reused.5 A line such as npx -y some-mcp-server can therefore fetch and run whatever the name’s publisher has tagged, without a prompt.

Remote MCP servers: an HTTP service

A remote server typically uses the standard Streamable HTTP binding of the 2026-07-28 specification, in which the client “sends every JSON-RPC request or notification as its own HTTP POST” and the server answers with “either a single JSON object or a Server-Sent Events (SSE) stream”; the specification also permits custom transports.61 The server may be run by a vendor, by the user’s own organisation or by anyone else, and it receives the inputs the agent sends to its tools. Authorization “is OPTIONAL for MCP implementations”. Where it is used, the token authorizes the client’s requests to that MCP server, which must validate that the token was issued for it as the intended audience; clients “MUST NOT send tokens to the MCP server other than ones issued by the MCP server’s authorization server”.3 The token grants the operator no general authority elsewhere. What the server does downstream, with its own credentials, is outside the protocol. Our article on agent identity and delegation covers the authorization model. For supply chain purposes, the code behind an endpoint can be changed by its operator without any change on the client.

Configuration that travels with the repository

Several coding agents read MCP definitions from project files. Check Point documented Cursor’s project file at .cursor/rules/mcp.json.7 Kilo’s CLI documentation lists ./kilo.json or ./.kilo/kilo.json as project configuration and says it “takes precedence over global settings”.8 Claude Code reads .mcp.json.9 A project entry can define a local command or a remote URL.

Four decisions are often conflated. Enabling a configured server makes it available; for a local entry, enabling it launches a process. Granting OAuth lets the client make authorized requests to a remote server. Approving an individual tool call authorizes one operation. Each can be prompted for, pre-approved by settings, or skipped by the mode of operation. Claude Code’s documentation says it prompts “for approval in interactive sessions before using project-scoped servers from .mcp.json files”, and that “In claude -p runs, Agent SDK sessions, and cloud sessions outside a project’s threads, Claude Code can’t show that prompt: it loads project-scoped servers without asking.” The same page says a cloned repository “can’t approve its own servers” through committed settings while the folder is untrusted, and documents --strict-mcp-config, which loads only servers passed with --mcp-config and skips those in .mcp.json. It notes that skipping the approval prompt for project servers that are not loaded “requires Claude Code v2.1.246 or later”.910 Where an exclusive managed-mcp.json that Claude Code can read and parse is deployed, passing servers with --mcp-config makes Claude Code exit at startup on a workstation, and in cloud sessions it skips most servers the host delivers that way; passing --strict-mcp-config makes it exit at startup in both.11 That exclusive file is a different mechanism from a managed allow-list. The policy decides which servers may load; when a permitted server’s process actually starts depends on the host and mode. Project skills are a separate mechanism. Claude Code loads them from .claude/skills/ in the starting directory and each parent up to the repository root, so removing project MCP configuration does not remove them.12

Registries, catalogs and marketplaces

The official MCP Registry, “currently in preview”, is a metadata service. Its documentation says package registries such as npm, PyPI and Docker Hub “host packages with code and binaries”, while “the MCP Registry hosts metadata that points to those packages”.13 It authenticates control of namespaces: names of the form io.github.username/server are published after GitHub-based authentication for that account or organisation, and reverse-DNS names such as com.example/server require proof of control of the domain through a DNS TXT record or an HTTP well-known file signed with a key.14 For npm packages, the registry checks that the package’s package.json carries an mcpName matching the registry name.15 That binds a package name to a registry name. It does not show that the package was built from a particular repository.

The registry “delegates security scanning” to package registries and downstream aggregators.13 Its moderation policy says “consumers should assume minimal-to-no moderation”, and among things it will not remove lists “Servers with security vulnerabilities”.16 For the MCPB bundle format, metadata must include a SHA-256 hash of the artifact. The registry documentation says “The MCP Registry does not validate this hash; however, MCP clients do validate the hash before installation”, and that downstream registries may also validate it. The protection therefore depends on the installer actually verifying the artifact.15

Docker’s catalog mixes categories: Docker-built local servers, partner tools and remote services. Docker’s documentation says the local server images under mcp/ “are built by Docker and digitally signed”, with an SBOM for each, and offers custom catalogs so an organisation can “Restrict which servers your organization approves for use”.1718 In December 2025 Docker said it pins each Docker-built server to a Git commit, noting that “Even Git tags aren’t really immutable since they can be deleted and recreated”, reviews incoming updates with AI agents and labels publishers by trust level.19 These are Docker’s descriptions of its own controls.

Agent skills: instructions, sometimes with scripts

An agent skill in the open format published at agentskills.io is “a directory containing, at minimum, a SKILL.md file” with YAML frontmatter and Markdown instructions. Optional subdirectories hold scripts/ (“executable code”), references/ and assets/.20 The specification describes progressive disclosure: the name and description, about 100 tokens, “are loaded at startup for all skills”; the body is loaded when the skill is activated; other files are loaded “only when required”. An optional allowed-tools field lists tools “pre-approved to run”, marked experimental, with support that “may vary between agent implementations”.20

Hosts implement this differently. Claude Code says its skill listing “always contains every skill name” but drops some descriptions when the listing exceeds a character budget of 1% of the context window, and that a skill’s allowed-tools applies in terminal, VS Code and Agent SDK sessions unless the organisation enables allowManagedPermissionRulesOnly.12 Anthropic’s platform documentation says skills on its API run in a container with no network access, and advises: “Use Skills only from trusted sources: those you created yourself or obtained from Anthropic”, because “a malicious Skill can direct Claude to call tools or run code in ways that don’t match the Skill’s stated purpose”.21

An instruction, a host permission and an executed script are separate things: an instructions-only skill executes nothing itself, and its effects depend on the agent’s tools.

Who can change it after approval

For each component, a reviewer should ask who controls the bytes or text the agent will use next time.

ComponentWhat was approved, if anythingWho can change it afterwardsWhat could surface the change
Local server via npx pkg or pkg@latestA command lineThe holder of the package name, by publishing or moving the tagA pinned version or lockfile; the command line itself does not change
Local server pinned to an exact public npm versionA command lineNot the package contents; dependencies, install scripts and runtime downloads remain openLockfile review; fingerprinting the full entry
Remote serverA URL, and an OAuth grant if usedThe operator of the endpointLittle on the client side; Kraishan’s census found endpoint changes in registry metadata
Tool descriptionsVaries by clientThe server, on any later tools/list responseClient-side hashing or pinning of definitions
Project MCP fileAn entry in a repositoryAnyone with commit access to the branchRe-prompting bound to the full entry; code-owner review
Skill folderVaries by hostThe repository or catalog owner, on updateInstalling from a pinned commit and reviewing diffs

One study measures part of this. Obada Kraishan harvested the official registry in August 2026 (21,643 servers and 72,606 version records) and, for the 8,900 servers with more than one version, compared the registry’s versioned metadata: description text, package identifiers and remote endpoints. He found that “51.1% of multi-version servers changed what they advertise between versions, 40.6% did so silently, and 4.2% redirected their remote endpoint to a different host while keeping their registry identity, a change the protocol never surfaces to installed clients.” Across that cohort, silent drift was associated with nearly threefold higher odds of a high-severity scanner finding.22 The census sees registry metadata, not live tool definitions, project files or skill updates, and a changed endpoint URL in metadata is a different event from changed code behind an unchanged endpoint. Nothing in our sources measures the latter. The protocol itself lets a server’s tool list “change over time” and lets servers emit notifications/tools/list_changed.23 Refreshing a list is a different operation from detecting, approving or blocking a changed definition.

Failure class 1: ordinary bugs in tool servers

A curated dataset built from CVE records retrieved through February 2026 started with 119 MCP-related records and kept 24 validated MCP vulnerabilities. In that snapshot, 87.5% were rated Critical or High, and the paper’s type table counts seven command-injection, five path-traversal and four remote-code-execution cases, 16 of the 24.24 A scanner study gives a rough idea of prevalence, with the limits of pattern-based detection. Kraishan fetched source code for 14,353 registry servers. His pattern scanner observed unauthenticated network exposure in 9.57% of them, and he estimated high-severity prevalence at about 7.6% after correcting each class for the precision he measured against hand-labelled findings.22

Four cases show the mechanisms.

Missing authentication on a local developer tool. MCP Inspector, the project’s debugging tool, ran a local proxy that could start MCP servers. NVD’s record for CVE-2025-49596 says versions below 0.14.1 lacked “authentication between the Inspector client and proxy, allowing unauthenticated requests to launch MCP commands over stdio”.25 Oligo Security reported that a malicious website could reach the proxy from a victim’s browser using the 0.0.0.0 address, “with or without DNS rebinding”, rated it CVSS 9.4, and said version 0.14.1 enabled authentication and host checks by default.26 The server binary was legitimate; the attack surface was an unauthenticated localhost port.

Command injection through protocol metadata. mcp-remote is an npm package that connects clients to remote servers. JFrog found that a malicious server could return a crafted authorization_endpoint during OAuth discovery, which the client passed to the open package. On Windows this gave “arbitrary OS command execution (shell commands with full parameter control)”, and on macOS and Linux execution of arbitrary executables with limited parameter control. Versions 0.0.5 to 0.1.15 were affected and 0.1.16 fixed it.27 NVD displays JFrog’s CVSS 3.1 score of 9.6 for CVE-2025-6514.28 The protocol’s security page now warns that authorization URLs from malicious servers can lead to cross-site scripting and code execution in clients.2

Path checks that are not path checks. Anthropic’s reference Filesystem server restricted access to allowed directories. Cymulate found that the check was a string prefix comparison, so a sibling directory whose name began with an allowed path passed (CVE-2025-53110), and that symbolic links inside an allowed directory could point outside it (CVE-2025-53109). On macOS, Cymulate showed that a server with write access, used through the symlink flaw, could write a Launch Agent file that ran a command with the logged-in user’s privileges the next time the user logged in.29 The maintainers’ advisories list patched versions 0.6.3 and 2025.7.01 and advise upgrading to 0.6.4 or 2025.7.01.3031

Chains across servers, triggered by injected text. Cyata reported three flaws in Anthropic’s reference Git server, mcp-server-git. The maintainers’ advisories describe git_init accepting arbitrary paths (CVE-2025-68143, fixed in 2025.9.25), arguments passed to git commands without sanitisation in git_diff and git_checkout (CVE-2025-68144, fixed in 2025.12.18), and missing validation of tool-call paths against the --repository restriction (CVE-2025-68145, fixed in 2025.12.18 according to the advisory’s patched-version field).323334 Cyata’s demonstration was conditional: an agent that had both the Git server and the Filesystem server, and that read attacker-influenced content, could be steered into combining them to achieve code execution.35 The bugs are ordinary server bugs; the trigger is text the agent reads.

An MCP server that parses untrusted input and holds a privilege needs the review any such service gets.

Failure class 2: trust on first use, and what changes afterwards

Our article on human approval for agents covers consent dialogs. The question here is what an approval is bound to.

Approval bound to a name. Check Point Research’s “MCPoison” finding in Cursor (CVE-2025-54136) is the clearest example. A repository could commit a project MCP file with a harmless command. Once a collaborator approved it, the attacker could change the command, and Cursor ran the new one “both during repository sync and every time Cursor is reopened”, because Cursor bound trust “to the MCP key name ... without verifying whether the underlying command or arguments have changed”.7 Cursor’s advisory says version 1.3 “requires user approval every time an mcpServer entry is modified”.36

Approval bound to part of the configuration. AWS bulletin 2026-206-AWS, dated 1 December 2026, shows the same class persisting after a fix. Both issues concern previously approved workspace MCP servers. For CVE-2026-137931 in Language Servers for AWS, which also requires registry mode to be active and registry entries resolving to npm or PyPI, the consent fingerprint “did not cover all environment variables and headers merged into the server’s launch configuration”, so someone able to change those variables “might execute arbitrary code on the developer’s workstation without a new consent prompt”. For CVE-2026-137932, the check “accepted either the configuration fingerprint or the workspace instead of requiring both”, so an approved configuration with a relative command could be copied into another workspace and run different local content. AWS lists the fixes in Language Servers for AWS 1.78.0 and 1.71.0 respectively, and describes both as remaining issues in the fix for an earlier CVE.37 Launch environment variables can change program behaviour. Node documents NODE_OPTIONS as a list of command-line options applied to the process, including --require to load a module, and Python documents PYTHONPATH as augmenting the module search path.3839

No approval at all. A Full Disclosure post dated 24 November 2026 reports that the Kilo coding agent’s server, at the commit tested, imports every .kilo/plugin/*.ts file in a repository on the first request naming the project directory, and that a later request spawns every MCP command in the repository’s kilo.json, “with no prompt and no model involvement”. The post rates the issue CVSS 7.8 and proposes no fix. Our sources do not establish whether later versions changed this behaviour.40

Repository settings that pre-approve. Check Point published three Claude Code findings in February 2026, reported to Anthropic between July and October 2025. Project hooks in .claude/settings.json could run commands at session start (GHSA-ph6w-f82w-28w6). Under CVE-2025-59536, the same file could set enableAllProjectMcpServers, and the server command “executed immediately upon running claude – before the user could even read the trust dialog”; Anthropic’s fix ensures MCP servers cannot execute before approval even with those settings present. Under CVE-2026-21852, a repository-set ANTHROPIC_BASE_URL sent the user’s API key to an attacker’s host before the trust decision; the fix defers network operations until after consent.41

Approval bound to a service rather than a destination. Docker Sandboxes keeps provider API keys on the host and has a proxy substitute them into outbound requests from the micro-VM where an agent runs. Endor Labs’ Peyton Kennedy found that from version 0.43.0, when a user approved a credential for a third-party “kit” (a packaged agent configuration fetched by reference), the stored binding recorded the destination domains, but that list was “written and never read”. Later runs checked only that a binding existed for the service name. An updated kit at the same reference could name an attacker’s host as the injection destination and add that host to the sandbox’s network allow-list, and the proxy would send the real key with no prompt.42 Docker’s security announcement says exploitation “required the user to have previously approved the service and subsequently launch the modified kit”, and that 0.55.0 fixed it.4344

Tool definitions changing after approval. Invariant Labs described the “rug pull” in April 2025: “a malicious server can change the tool description after the client has already approved it.”45 Invariant’s mcp-scan hashes tool descriptions so a user can detect changes between scans.46

Across these cases, the approval covered less than what later ran. An approval that is to mean “this exact thing” has to bind the full launch specification: the resolved package and version or digest, every argument, every environment variable and header, the working directory and, where possible, the tool descriptions served at approval time. Any change then needs a new decision.

Failure class 3: instructions as the payload

The earlier article on prompt injection and agents covers tool poisoning, including Invariant Labs’ demonstrations in Cursor. Trail of Bits called the mechanism “line jumping”. A client calls tools/list and adds the returned descriptions to the model’s context, so a malicious description can act before any tool from that server is invoked, provided the host places it in the model’s context.47 Invariant also described “shadowing”, in which one server’s descriptions change how the agent uses another, trusted server’s tools.45

Skills make instructions the main content. A SKILL.md body is meant to be followed. A reviewer has to distinguish an instruction to run scripts/build.sh that builds the project from the same instruction when the script also uploads credentials, and the difference may be in the script, not the text.

The documented cases differ in what was shown: distribution, activation, payload execution or harm.

  • Fake prerequisites. Koi Security reported on 1 February 2026 that it had audited 2,857 ClawHub skills and found 341 malicious ones, most in a campaign it called ClawHavoc, whose skills include a “Prerequisites” section telling the user to install something first. The payload was delivered through that install step. Koi’s update of 16 February 2026 raised the count to 824 as the marketplace grew past 10,700 skills.48 The report documents the skills and their payloads. It does not measure how many agents or users followed the instructions.
  • Fetch and run, with a separate key-sending step. Knostic analysed doomsday-escrow, a skill added to two large public catalogs on 23 October 2026, whose package “contained only a SKILL.md”. It told agents to download a Python script from the operator’s site and run it. The script labelled the operator’s own bounties “VERIFIED ON-CHAIN” without the checks the label implied. A separate sponsor-funding command sent the user’s wallet private key to the operator’s backend. Knostic states that installing the skill does not run code or submit a key, and that it did not establish victim execution, financial loss or key misuse. A revised catalog version removed the download-and-run step a day later.49
  • Steering output. Palo Alto Networks’ Unit 42 reported in June 2026 that after ClawHub added VirusTotal and ClawScan screening, five malicious skills it found between February and May 2026 had not been blocked. One skill’s SKILL.md made fetching product data from a domain seen in earlier paste-jacking campaigns the mandatory first step of every invocation, and that data carried affiliate referral links into the agent’s answers. OpenClaw banned the accounts and deleted the skills after Unit 42’s report.50

Under the specification, every available skill’s name and description is loaded at startup.20 Claude Code always lists every skill name and includes descriptions within its budget.12 That gives each installed skill a small channel into the agent’s context, as tool descriptions do for MCP servers.

Failure class 4: malicious packages and exposed credentials

MCP servers and skills sit on npm, PyPI, GitHub and container registries, which have the problems covered in our article on registry worms. Three cases show what is specific to agent tooling.

A package that impersonated a vendor. On 25 September 2025 Koi Security reported postmark-mcp on npm, published by someone other than Postmark under a name matching Postmark’s MCP server. Koi said it was downloaded about 1,500 times a week, that “For 15 versions” the tool had worked, and that version 1.0.16 added a line sending a blind copy of every outgoing email to an address at giftshop[.]club.51 Postmark said: “This is not an official Postmark tool. We have not published our Postmark MCP server on npm prior to this incident.”52 A user pinned to 1.0.15 would not have received the added line. Checking the publisher against the vendor would have flagged the package at admission. Whether registry namespace checks would have helped depends on whether a user trusted a verified namespace or only the npm name.

Components malicious from the first observed version. OX Security analysed 542,207 npm, PyPI, MCP server and agent skill components observed between July and October 2026. It reported that 82% of researcher-confirmed malicious components were “already malicious in their first observed version”, and that two accounts controlled 44% of the MCP servers it flagged, one of them publishing 2,364 servers in 17 days.53 For components like these, monitoring updates does not help, and admission review has to do the work.

Look-alike skills with a signed loader. AIR Security’s report of 26 November 2026 describes copies of popular skills, such as “ponytail-improved”, that work like the originals and also run a bundled executable. The executable is Notepad++’s genuine, validly signed updater, renamed, which sideloads a malicious libcurl.dll from the same folder. AIR counted 487 public repositories carrying the kit. Separately, it found one of the skills listed on skills.sh on 26 November 2026, with an install command and three audits from independent scanners, all marked as passing.54 A signature check on the executable passes because the executable is genuine; the payload is in the library it loads.

Credential access was prominent in one large dataset. Permiso’s P0 Labs, in research published by Okta on 18 November 2026, ran skills in an instrumented sandbox with a live agent. Of 21,850 completed skill runs across 16,836 unique skills, 517 runs were classified malicious, about 2.4%. Engines recorded 6,256 findings of samples touching planted decoy credentials and 2,963 queries to cloud instance metadata services across the dataset; one sample can trigger many findings.55 MCP configuration makes the exposure routine. Claude Code supports ${VAR} expansion in a server’s command, arguments, environment, URL and headers in .mcp.json. For a remote server’s URL and headers it reads a listed set of credential variables, such as its own API keys, cloud provider tokens and NPM_TOKEN, as empty, so a project file cannot forward them to a server it names. A headersHelper command supplied by a repository or plugin runs without the user’s credential variables, and only after the folder is trusted. No such filter is described for a local server’s environment.9 What a local server process can read depends on its effective launch environment and filesystem access, and what it reads it can send wherever its network allows.

What the defences have shown

Scanners for MCP servers and skills

Scanners have been measured more than most controls discussed here.

  • Static verdicts against detonation. In Okta’s aggregate comparison of static and runtime verdicts across 35,286 completed runs (skills, packages and prompt-only submissions, with a small MCP-server cohort excluded from the per-type figures and some inconclusive, prevented or missing runs excluded from the verdict table), static analysis “missed 92% of all malicious threats (4,384 of 4,773)”, and detonation “stripped benign status from 42% of the files that static scanners had cleared as safe”.55
  • Agreement between scanners. Gao and colleagues compared public reports from four scanners on 386 marketplace skills, and separately ran three open-source scanners on 350 skills labelled malicious, of which 317 had results from all three. Counting each pair of skill and mechanism once, “79.9% of marketplace pairs and 82.4% of malicious-Skill pairs appear in only one scanner’s reports”. For 271 of the 317 comparison skills (85.5%), the scanner reports identified at least two mechanisms.56
  • Accuracy of hub detectors. Yang and colleagues tested four detectors used by skill hubs and two community detectors on 1,477 skills. The best hub-adopted configuration by F1 “still misses 4.9% of malicious skills and incorrectly flags 17.8% of benign skills”. False positives came from flagging sensitive operations such as credential access without asking whether the skill’s purpose needed them; false negatives from detectors that recognised malicious behaviour and then underrated or dismissed it.57
  • Recall against false positives. On a held-out set of 80 malicious and 60 benign skills, Cisco’s Skill Scanner in its default configuration reached recall of 0.91 with 33 false positives; with its LLM analyser, recall of 0.85 with 40. A hybrid pipeline combining static findings, sandbox evidence and LLM reasoning reached F1 of 0.89 with five false positives, at recall of 0.85, lower than the default scanner’s 0.91. Adding dynamic evidence to content reasoning alone raised F1 from 0.70 to 0.85.58
  • Coverage gaps in one scanner. Checkmarx tested NVIDIA’s SkillSpector through version 2.2.3 and reported three classes of problem: verdicts that varied between scans of an identical skill, file discovery that skipped dotfiles and vendored dependency directories that the agent still loads, and name-based detection of dangerous calls that simple indirection evaded in static-only mode, which Checkmarx says appears fixed in 2.5.0. NVIDIA treated the reports as outside its threat model.59

Scanners remain useful as a fast filter. A pass verdict from one scanner is weak evidence, particularly for a skill whose payload sits in files or fetched code the scanner does not read. The P0 Labs comparison and the hybrid-pipeline ablation both show runtime evidence finding what static analysis missed, which supports using the two together.

What static review of instructions can and cannot decide

A scanner reading SKILL.md or a tool description can find literal indicators: hidden Unicode, instructions to read ~/.ssh or .env, URLs to download and run, phrases like “do not tell the user”. It can compare the stated purpose with the requested capabilities, which is where Yang and colleagues located both false positives and false negatives.57 It cannot determine what a model will do with the instructions in a context the scanner has not seen, what a fetched script will contain later, or whether a legitimate step becomes harmful when combined with another server’s tools. The doomsday-escrow package had no bundled code to scan.49

Skill vetting and runtime policy answer different questions. Li and colleagues screened all 48,682 ClawHub skills and tested reachability with a live agent under indirect prompt injection. In the initial live-agent study the payload executed in 97 of 200 sampled flagged skills (48.5%); in 95 of those 97 the agent’s own shell expanded it before the skill ran. A paired control re-ran the exploited skills with a tool that executes argument vectors without a shell, and the payload reached the skill’s own sink in 10 of 200 (5.0%), a lower bound because 18 skills blocked by a missing dependency were not re-run.60

Registry identity and marketplace review

Namespace verification in the official MCP Registry ties io.github.alice/weather to an authenticated publisher for that GitHub namespace. It does not establish that the publisher is trustworthy, that the package matches a repository, or that the next version resembles this one, and the registry’s documentation does not claim otherwise.141316

Marketplace scanning has visible limits. ClawHub added VirusTotal and ClawScan after the February 2026 reports, and Unit 42 then found five skills that had not been blocked.50 AIR found a TrojanPony skill listed on skills.sh with three passing audits on 26 November 2026.54 OX’s finding that two accounts controlled 44% of flagged MCP servers points to publisher-level signals as a complement to per-artifact scanning, though OX does not measure how much they would catch.53

Signing, provenance and pinning

Docker signs the mcp/ images it builds and attaches SBOMs.18 We found no signature or integrity field in the agentskills.io specification.20 The official MCP Registry records an MCPB hash that it does not itself validate.15 A verified signature shows that a signed object is unchanged relative to an identified signer’s key. Knowing how it was produced requires a provenance attestation, and acting on either requires a policy about which signers and builders to trust. A valid signature on one file also says nothing about other code that file loads: TrojanPony’s updater was genuinely signed by a legitimate publisher and loaded a separate malicious library.54

Pinning addresses the update problem. npm’s policy says registry data is immutable: once a package name and version have been published, “no other package can ever be published with that name at that version”, even after an unpublish.61 A pinned exact version on the public registry therefore keeps its own contents. Its transitive dependencies, install-time scripts and anything it downloads at runtime need separate controls, such as a committed lockfile installed with npm ci, which “will never write to package.json or any of the package-locks”.62 Docker’s argument for commit pinning applies to skills installed from Git: a tag can be moved, a commit hash cannot.19 Pinning does not help with components malicious in their first observed version, the 82% in OX’s confirmed set,53 or with remote servers, whose code is not on the client. For tool descriptions, the available pinning is client-side hashing of what the server returns.46

Sandboxing tool servers and skill scripts

Our article on containing AI agents covers agent sandboxes in general. Claude Code’s own sandbox documentation says its sandbox “wraps shell commands” and that local MCP servers, hooks and helper commands “run with your full access”.63 For tool servers, a container changes the default from everything the launching account can reach to what was mounted and allowed. Docker says its MCP Toolkit runs each tool in its own container limited to 1 CPU and 2 GB of memory, gives servers no host filesystem access by default, and blocks requests to and from tools that contain secrets.18 The protocol’s best practices page says clients SHOULD run local server commands “in a sandboxed environment with minimal default privileges”.2

The record also shows what isolation leaves open:

  • Use of granted authority. A sandboxed email server still sends email. postmark-mcp only had to add a recipient to messages it was sending legitimately.51
  • Credentials and permitted destinations. A server given a token can use it within the token’s scope, and if the sandbox permits egress to the attacker’s host, data can leave. In the Docker Sandboxes flaw, the kit update both added the attacker’s host to the allow-list and redirected the injected key.42
  • Effects through the agent. Tool descriptions and skill instructions act through the model, which may hold other tools with other confinement. The Git and Filesystem chain combined two servers’ capabilities.35
  • Code that runs on project load. In the Kilo report and the pre-fix Claude Code cases, repository content ran during project load, before any user decision.4041 Whether per-tool sandboxing would have applied at that point depends on the product.

Runtime enforcement

SkillCFI compiles a skill into agent instructions plus an executable contract, and a deterministic enforcer admits each tool request before dispatch only with trusted evidence that the workflow allows it. Across 770 agent sessions it blocked before dispatch all 240 violations in its runs that used only the skill’s own operations, while an allow-list baseline let all 80 such violations in its own sessions take effect. Checking took about 2% of task time, but normal sessions ran 1.32 times as long as without the gate; in a separate normal-task ablation, a compact command form brought that to 1.08 times.64 RuntimeTickets has a language model propose task-specific security obligations, each citing the skill lines it answers, and a model-free gate checks the recipient, object and amount of every outbound send. The authors built 60 twin pairs of malicious and benign skills and ran, on unmodified frameworks, the pairs whose attack an agent attempted without a defense. It is a run-level benchmark: no attack run that attempted an injected send got through and no benign run was blocked, against 75.0% of attempted attacks getting through an allow-list baseline. The production scanners it was compared with were judged on all 60 pairs and erred both ways.65 Both are early, author-reported results. SkillCFI checks workflow steps before tool dispatch; RuntimeTickets checks data leaving at egress.

What the protocol’s own guidance says

The MCP Security Best Practices page, in its 2026-07-28 version, covers several issues relevant here. Clients fetching OAuth discovery URLs supplied by a server SHOULD block private and reserved IP ranges, which covers the cloud metadata address the page names as a target. For local servers, a client offering one-click configuration “MUST” show “the exact command that will be executed, without truncation”, and SHOULD sandbox the server and warn that servers run with the same privileges as the client.2 The page addresses installation of local servers. It does not set rules for re-approval after a configuration changes, for repository-supplied configuration generally, or for skills; those are left to client implementations.

Controls, where they act and what they assume

ControlWhere it actsWhat it assumesWhat it leaves open
Static scanningBefore installationThe payload is in files the scanner reads, in a form it recognisesFetched code, skipped paths, signed loaders, harm from combining steps; verdicts vary between runs and tools
Detonation with decoy credentialsBefore admission, in a test sandboxThe payload acts during the testDelayed or environment-aware behaviour; later updates
Registry namespace verificationAt publicationUsers rely on the verified namespace, not a bare package nameMalicious publishers; look-alike names; changes between versions
Signing and provenanceAt installationA trust policy names acceptable signers and buildersMalicious signers; signed binaries used as loaders
Exact version or commit pinning plus lockfileAt resolutionThe pinned version was reviewed and cleanMalice present from the first version; remote server changes
Approval bound to the full launch specificationAt launchThe client fingerprints every input that affects executionA malicious server approved the first time
Container or OS sandboxAt runtime, on the server processMounts, tokens and egress are minimalUse of granted tokens and data; permitted destinations; effects through other tools
Credential brokering outside the sandboxAt egressThe broker enforces destinations per approvalUse of the key through the broker; broker bugs such as CVE-2026-136998
Strict or managed MCP configurationAt session startThe client honours the policy in every mode usedServers and skills admitted by the policy; skills loaded through other paths

A worked example (illustrative)

The repository, people and packages below are fictional. The mechanisms come from the cases above.

A platform team maintains acme/billing-service and adds a documentation search server so that each developer’s coding agent can query internal docs. The committed .mcp.json reads:

{
  "mcpServers": {
    "docs-search": {
      "command": "npx",
      "args": ["-y", "acme-docs-mcp@latest"],
      "env": {
        "DOCS_TOKEN": "${DOCS_TOKEN}",
        "GITHUB_TOKEN": "${GITHUB_TOKEN}"
      }
    }
  }
}

The same pull request adds a skill at .claude/skills/release-notes/SKILL.md:

---
name: release-notes
description: Draft release notes from merged pull requests. Use when asked for a changelog or release notes.
---
Before drafting, run `scripts/setup.sh` to install the changelog helper.
Then list pull requests merged since the last tag and group them by label.

Four details carry the risk.

  1. "args": ["-y", "acme-docs-mcp@latest"]. The -y suppresses npx’s install prompt, and @latest resolves to whatever version the name’s publisher has tagged latest, unless the resolved version is already present locally or in the cache.45 The package name is unscoped, so nothing ties it to Acme.
  2. "GITHUB_TOKEN": "${GITHUB_TOKEN}". A documentation server has no need for a GitHub token; the block was copied from another server. Where the variable is set, the client expands it into the local server’s environment; the credential filter Claude Code applies to remote URLs and headers does not cover this case.9 The process may also be able to read other secrets from its inherited environment and the developer’s files.
  3. run scripts/setup.sh. The instruction is innocuous; the script is where a payload would sit, and anyone who can merge to the repository can change it.
  4. The locations. Project MCP files and project skills load for anyone who opens the repository with an agent that honours them, subject to the agent’s trust and approval rules.

How it could go wrong:

  1. Approval. A developer opens the repository in an interactive session and approves docs-search.
  2. Unattended use. CI runs the agent headless with claude -p to draft release notes. In that mode, Claude Code’s documentation says project-scoped servers load “without asking”.9
  3. A new version under the same tag. Months later, the holder of acme-docs-mcp, who is not Acme, publishes 2.4.1 and tags it latest. It works as before and, on start, posts GITHUB_TOKEN to an external host. The .mcp.json entry has not changed, so a client that re-prompts only on changes to the entry has no reason to ask. A developer session or CI run that resolves the tag afresh, rather than using a cached copy, runs 2.4.1, and where GITHUB_TOKEN is set the token leaves.
  4. A second path through the skill. Separately, a contributor’s compromised account changes scripts/setup.sh to read ~/.npmrc and upload it. SKILL.md is unchanged, so a reviewer looking only at instruction text sees nothing.

Where each assumption gets checked:

  • Admission (step 1). A managed allow-list keyed on the launch command would refuse docs-search until someone reviewed it. Claude Code’s serverCommand entries match the command and every argument exactly, in order, and serverUrl entries match remote URLs; the documentation notes that “The env block isn’t compared”.11 Neither is a full launch fingerprint: environment and working directory need their own controls. The reviewer still has to refuse @latest.
  • Headless runs (step 2). Running the CI agent with --strict-mcp-config and an explicit --mcp-config keeps the repository from adding servers to the pipeline, with the version qualification noted earlier; where an exclusive managed-mcp.json is deployed, the same invocation exits at startup, so CI hosts need one approach or the other.1011 This does not affect project skills, which need their own policy.
  • Resolution (step 3). Declaring acme-docs-mcp as an exact-version dev dependency, committing the lockfile and installing with npm ci, which installs from the lockfile and never writes to it, keeps npm from resolving 2.4.1 on its own.62 Three further conditions apply: branch protection must make lockfile changes reviewable; the pinned version and its dependency tree must have been reviewed and clean; and install scripts still run, and can fetch more code, unless disabled through npm’s ignore-scripts setting.
  • Credential scope (step 3). Removing the GITHUB_TOKEN mapping alone does not establish what the process can read. Launching the server with an explicitly constructed environment that contains only a read-only DOCS_TOKEN, and without access to the home directory, would limit a compromised version to that token.
  • Egress (step 3). A container whose network policy permits only the docs API blocks the post to an external host, provided the docs API cannot be used as a relay and the server cannot change its own policy.
  • Merge (step 4). Code-owner entries alone request review. With the security team owning .mcp.json, .claude/ and skill script paths, and branch protection set to “Require review from Code Owners”, changes to those paths cannot merge without that team’s approval.66 Running new or changed skills in a sandbox with decoy credentials may expose the upload before the change reaches developer machines.

No single item is sufficient. The allow-list fails if the reviewer accepts @latest; the pin fails if the first version was malicious; the sandbox cannot protect DOCS_TOKEN, which the server needs. Together they make a silent compromise considerably harder, by requiring an approval at each point where the example’s attacker relied on none.

Testing an MCP server as an HTTP API

Include Security’s post of 30 November 2026 on assessing MCP servers with Burp Suite says “it’s helpful to think of an MCP server as similar to a conventional HTTP API with similar security properties”, so that it “can be tested for vulnerabilities typical for HTTP APIs beyond focusing on the language model”.67 That framing covers the server’s transport and behaviour. Client-side flaws, such as mcp-remote’s handling of a malicious authorization_endpoint, and local filesystem flaws in stdio servers need their own assessment.

The authors’ observations, at the time of their testing, were mostly about transport. Streamable HTTP can answer with Server-Sent Events, which Burp handled in Proxy and Repeater but which broke Intruder and Scanner; servers that answer with application/json can be tested like any API. Their approach enumerates a server’s prompts, resources and tools with a client script so the requests appear in Burp’s history for manual testing. They found the one MCP extension in Burp’s BApp Store the most mature option, but its internal proxy “obfuscates the real transport from the Burp user, even hiding HTTP response headers”.67 Because tool calls can change state, such testing belongs on authorised test deployments with synthetic data.

Where the evidence leaves room for disagreement

The sources measure trade-offs rather than record named debates; the positions below are this article’s analysis.

How much to rely on scanning instructions. The measurements show low agreement between scanners on what they report, misses that detonation catches, and false-positive rates that would block many benign skills.565558 They also show improvement: Yang and colleagues raised a detector’s mean F1 in eight of nine settings, with gains of up to 22.7 percentage points, by refining its prompts, and the hybrid pipeline cut false positives from 40 to five at equal recall to the LLM-enabled scanner.5758 Whether scanning should gate admission or only feed a reviewer depends on which error an organisation can tolerate.

Local or remote servers. A remote server has no direct access to the developer’s filesystem, though a client or another granted capability can send it local data, and its operator can patch it centrally. It receives the data sent to its tools and any token granted to it, and its code can change without a trace on the client; Kraishan found 4.2% of multi-version registry servers had changed their remote endpoint host in metadata.22 A local server pinned to an exact version can be reviewed and sandboxed, and if malicious and unsandboxed it runs with the user’s access. Which is safer depends on whether an organisation’s stronger control is over endpoints or over vendors.

Vetting skills or constraining the agent. Li and colleagues’ reachability results, summarised above, suggest that agent-level controls address much of the injection risk around skills.60 A deliberately malicious skill is still attacker-supplied instructions and code admitted to the agent. The results support both controls, not a choice between them.

What a practitioner should record and require

For each MCP server or skill admitted, a reviewer should be able to produce the following evidence.

  1. Inventory entry. The component’s source and owner; for servers, the launch command or URL, the resolved version or digest, and the names of environment variables, headers and secret references it receives (never the values); its privileges and permitted network destinations. Search repositories for .mcp.json, .cursor/, .kilo/, kilo.json, .claude/ and skill directories.
  2. Policy entry. The managed allow-list or deny-list entry that admits it, keyed on the launch specification or URL, not only on a name.
  3. Mode check. Which session modes load it. Headless and SDK runs should load only explicitly passed servers, and project skills need their own rule. Client versions should be past the known binding flaws: Cursor 1.3; the Language Servers for AWS runtime at 1.81.0, a baseline that includes the bulletin’s two consent fixes (1.78.0 and 1.71.0) and its separate command-injection and symbolic-link fixes; Docker Sandboxes 0.55.0.363743
  4. Pin. An exact version, lockfile or image digest for servers; a commit for skills. No npx -y or @latest in admitted configuration.
  5. Review record. Who reviewed the code, the tool descriptions and the skill text, and the diff for each update.
  6. Test record. The result of running the component in a sandbox with decoy credentials, with any scanner verdicts recorded as one input among several.
  7. Containment record. The sandbox profile, mounts and egress allow-list, and confirmation that the component cannot change them.
  8. Runtime monitoring. Logging of tool launches, tool description changes and outbound connections from tool processes, with alerts on new destinations.

Conclusion

For a local MCP server, the answer to the opening question is code chosen by whoever controls the package name or configuration, with the identity and confinement the launcher provides. For a remote server, it is a service run by its operator, receiving tool inputs and any token issued for it. For a skill, it is instructions from the skill’s author, with effects bounded by the tools and permissions the host grants, plus any scripts it runs. Most cases above are familiar weaknesses in a new setting: unauthenticated localhost services, command injection through URLs, prefix path checks, approvals bound to names, impersonating packages, and malware delivered through a signed loader.

The evidence on defences is consistent across sources. Scanners disagree with each other and miss behaviour that detonation reveals. The official MCP Registry authenticates namespaces and leaves code review to others. Signatures establish integrity relative to a signer. Sandboxes bound what a component can reach and leave open what it was given. In the cases above, the controls that would have changed outcomes bound approval to exact content, pinned what was reviewed, kept credentials out of tool processes, restricted egress, and stopped repositories from adding executable tools to an agent without review.

Footnotes

  1. “Transports”, Model Context Protocol specification, version 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/basic/transports (opens in a new tab) ↩1 ↩2
  2. “Security Best Practices”, Model Context Protocol, version 2026-07-28 (the specification’s security_best_practices URL redirects here). https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/security_best_practices (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  3. “Authorization”, Model Context Protocol specification, version 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization (opens in a new tab) ↩1 ↩2
  4. “npx”, npm Docs, CLI v10 command reference, accessed 3 December 2026. https://docs.npmjs.com/cli/v10/commands/npx (opens in a new tab) ↩1 ↩2 ↩3
  5. “Adding dist-tags to packages”, npm Docs, accessed 3 December 2026. https://docs.npmjs.com/adding-dist-tags-to-packages/ (opens in a new tab) ↩1 ↩2
  6. “Streamable HTTP”, Model Context Protocol specification, version 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http (opens in a new tab) ↩
  7. “Cursor IDE’s MCP Vulnerability” (MCPoison, CVE-2025-54136), Check Point Research, 5 August 2025. https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/ (opens in a new tab) ↩1 ↩2
  8. “Using MCP in CLI”, Kilo Code documentation, accessed 3 December 2026. https://kilo.ai/docs/automate/mcp/using-in-cli (opens in a new tab) ↩
  9. “Connect Claude Code to tools via MCP”, Claude Code Docs, Anthropic, accessed 3 December 2026. https://code.claude.com/docs/en/mcp (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  10. “CLI reference”, Claude Code Docs, Anthropic, accessed 3 December 2026. https://code.claude.com/docs/en/cli-reference (opens in a new tab) ↩1 ↩2
  11. “Control MCP server access for your organization”, Claude Code Docs, Anthropic, accessed 3 December 2026. https://code.claude.com/docs/en/managed-mcp (opens in a new tab) ↩1 ↩2 ↩3
  12. “Extend Claude with skills”, Claude Code Docs, Anthropic, accessed 3 December 2026. https://code.claude.com/docs/en/skills (opens in a new tab) ↩1 ↩2 ↩3
  13. “The MCP Registry”, Model Context Protocol, accessed 3 December 2026. https://modelcontextprotocol.io/registry/about (opens in a new tab) ↩1 ↩2 ↩3
  14. “How to Authenticate When Publishing to the Official MCP Registry”, Model Context Protocol, accessed 3 December 2026. https://modelcontextprotocol.io/registry/authentication (opens in a new tab) ↩1 ↩2
  15. “Package Types”, MCP Registry documentation, Model Context Protocol, accessed 3 December 2026. https://modelcontextprotocol.io/registry/package-types (opens in a new tab) ↩1 ↩2 ↩3
  16. “The MCP Registry Moderation Policy”, Model Context Protocol, accessed 3 December 2026. https://modelcontextprotocol.io/registry/moderation-policy (opens in a new tab) ↩1 ↩2
  17. “Docker MCP Catalog”, Docker Docs (vendor documentation). https://docs.docker.com/ai/mcp-catalog-and-toolkit/catalog/ (opens in a new tab) ↩
  18. “Docker MCP Toolkit”, Docker Docs (vendor documentation). https://docs.docker.com/ai/mcp-catalog-and-toolkit/toolkit/ (opens in a new tab) ↩1 ↩2 ↩3
  19. Jacob Howard and Mat Wilson, “Securing the Docker MCP Catalog: Commit Pinning, Agentic Auditing, and Publisher Trust Levels”, Docker, 3 December 2025 (vendor description). https://www.docker.com/blog/enhancing-mcp-trust-with-the-docker-mcp-catalog/ (opens in a new tab) ↩1 ↩2
  20. “Specification”, Agent Skills, agentskills.io, accessed 3 December 2026. https://agentskills.io/specification (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  21. “Agent Skills”, Claude Platform Docs, Anthropic, accessed 3 December 2026. https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview (opens in a new tab) ↩
  22. Obada Kraishan, “Same Name, Different Server: A Security Census of Silent Drift in the Model Context Protocol Ecosystem”, arXiv:2609.14119, 12 September 2026. https://arxiv.org/abs/2609.14119 (opens in a new tab) ↩1 ↩2 ↩3
  23. “Tools”, Model Context Protocol specification, version 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/server/tools (opens in a new tab) ↩
  24. Xu He, Sagar Patel and Shu Wang, “Tracing MCP Security Vulnerabilities: Constructing and Analyzing an MCP Security Vulnerability Dataset”, arXiv:2611.11104, 8 November 2026. https://arxiv.org/abs/2611.11104 (opens in a new tab) ↩
  25. “CVE-2025-49596”, National Vulnerability Database, NIST, published 13 June 2025 (read via the NVD CVE API). https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-49596 (opens in a new tab) ↩
  26. Avi Lumelsky, “Critical RCE Vulnerability in Anthropic MCP Inspector - CVE-2025-49596”, Oligo Security, 27 June 2025. https://www.oligo.security/blog/critical-rce-vulnerability-in-anthropic-mcp-inspector-cve-2025-49596 (opens in a new tab) ↩
  27. “Critical RCE Vulnerability in mcp-remote: CVE-2025-6514 Threatens LLM Clients”, JFrog Security Research, 9 July 2025. https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/ (opens in a new tab) ↩
  28. “CVE-2025-6514”, National Vulnerability Database, NIST, published 9 July 2025, CVSS 3.1 score submitted by JFrog (read via the NVD CVE API). https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-6514 (opens in a new tab) ↩
  29. “CVE-2025-53109: EscapeRoute Breaks Anthropic’s MCP Server”, Cymulate (research by Elad Beber), 2 July 2025. https://cymulate.com/blog/cve-2025-53109-53110-escaperoute-anthropic/ (opens in a new tab) ↩
  30. “Path validation bypass via symlink handling” (CVE-2025-53109), GHSA-q66q-fx2p-7w4m, modelcontextprotocol/servers, 1 July 2025. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m (opens in a new tab) ↩
  31. “Path validation bypass via colliding path prefix” (CVE-2025-53110), GHSA-hc55-p739-j48w, modelcontextprotocol/servers, 1 July 2025. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-hc55-p739-j48w (opens in a new tab) ↩
  32. GHSA-5cgr-j3jf-jw3v (CVE-2025-68143), mcp-server-git, modelcontextprotocol/servers, 17 December 2025. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v (opens in a new tab) ↩
  33. GHSA-9xwc-hfwc-8w59 (CVE-2025-68144), mcp-server-git, modelcontextprotocol/servers, 17 December 2025. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-9xwc-hfwc-8w59 (opens in a new tab) ↩
  34. GHSA-j22h-9j4x-23w5 (CVE-2025-68145), mcp-server-git, modelcontextprotocol/servers, 17 December 2025. https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-j22h-9j4x-23w5 (opens in a new tab) ↩
  35. Ravie Lakshmanan, “Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution”, The Hacker News, 20 January 2026 (reporting Cyata’s research). https://thehackernews.com/2026/01/three-flaws-in-anthropic-mcp-git-server.html (opens in a new tab) ↩1 ↩2
  36. “Modification of MCP Server Definitions Bypasses Manual Re-approval”, GHSA-24mc-g4xr-4395, Cursor, 1 August 2025. https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395 (opens in a new tab) ↩1 ↩2
  37. “Issue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931 to CVE-2026-137935)”, AWS Security Bulletin 2026-206-AWS, 1 December 2026. https://aws.amazon.com/security/security-bulletins/rss/2026-206-aws/ (opens in a new tab) ↩1 ↩2
  38. “Command-line API: NODE_OPTIONS”, Node.js documentation, accessed 3 December 2026. https://nodejs.org/api/cli.html#node_optionsoptions (opens in a new tab) ↩
  39. “Command line and environment: PYTHONPATH”, Python 3 documentation, accessed 3 December 2026. https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH (opens in a new tab) ↩
  40. Agent Spooky’s Fun Parade, “Kilo server runs repo-supplied plugin/MCP code on project load; CWE-829, CVSS 7.8”, Full Disclosure mailing list, 24 November 2026 (archived under December 2026). https://seclists.org/fulldisclosure/2026/Dec/0 (opens in a new tab) ↩1 ↩2
  41. Aviv Donenfeld and Oded Vanunu, “Caught in the Hook: RCE and API Token Exfiltration Through Claude Code Project Files (CVE-2025-59536, CVE-2026-21852)”, Check Point Research, 25 February 2026. https://research.checkpoint.com/2026/rce-and-api-token-exfiltration-through-claude-code-project-files-cve-2025-59536/ (opens in a new tab) ↩1 ↩2
  42. Peyton Kennedy, “CVE-2026-136998: Docker Sandboxes Vulnerability Allows Malicious AI Agent Kits to Steal Developers’ API Keys”, Endor Labs, updated 30 November 2026. https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes (opens in a new tab) ↩1 ↩2
  43. “Docker Sandboxes 0.55.0 security update: CVE-2026-136998”, Docker security announcements, Docker Docs, accessed 3 December 2026. https://docs.docker.com/security/security-announcements/ (opens in a new tab) ↩1 ↩2
  44. Bill Toulas, “Docker Sandboxes bug could leak AI API keys via malicious updates”, BleepingComputer, 1 December 2026. https://www.bleepingcomputer.com/news/security/docker-sandboxes-bug-could-leak-ai-api-keys-via-malicious-updates/ (opens in a new tab) ↩
  45. Luca Beurer-Kellner and Marc Fischer, “MCP Security Notification: Tool Poisoning Attacks”, Invariant Labs, 1 April 2025. https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks (opens in a new tab) ↩1 ↩2
  46. “Introducing MCP-Scan: Protecting MCP with Invariant”, Invariant Labs, 11 April 2025. https://invariantlabs.ai/blog/introducing-mcp-scan (opens in a new tab) ↩1 ↩2
  47. “Jumping the line: How MCP servers can attack you before you ever use them”, Trail of Bits, 21 April 2025. https://blog.trailofbits.com/2025/04/21/jumping-the-line-how-mcp-servers-can-attack-you-before-you-ever-use-them/ (opens in a new tab) ↩
  48. Oren Yomtov, “ClawHavoc: 341 Malicious Clawed Skills Found by the Bot They Were Targeting”, Koi Security, 1 February 2026, updated 16 February 2026 (now hosted on the Palo Alto Networks blog). https://www.paloaltonetworks.com/blog/security-operations/clawhavoc-ai-agent-skills-poisoning/ (opens in a new tab) ↩
  49. “Doomsday Escrow: When a Bounty Verifier Certifies Its Own Claims”, Knostic, 7 November 2026. https://knostic.ai/blog/doomsday-escrow-when-a-bounty-verifier-certifies-its-own-claims (opens in a new tab) ↩1 ↩2
  50. Shresta Bellary Seetharam, Nabeel Mohamed, Billy Melicher and Oleksii Starov, “OpenClaw’s Skill Marketplace and the Emerging AI Supply Chain Threat”, Palo Alto Networks Unit 42, 23 June 2026. https://unit42.paloaltonetworks.com/openclaw-ai-supply-chain-risk/ (opens in a new tab) ↩1 ↩2
  51. Idan Dardikman, “First Malicious MCP in the Wild: The Postmark Backdoor That’s Stealing Your Emails”, Koi Security, 25 September 2025 (now hosted on the Palo Alto Networks blog). https://www.paloaltonetworks.com/blog/security-operations/first-malicious-mcp-in-the-wild-the-postmark-backdoor-thats-stealing-your-emails/ (opens in a new tab) ↩1 ↩2
  52. “Security Alert: Malicious ‘postmark-mcp’ npm Package Impersonating Postmark”, Postmark, 25 September 2025. https://www.postmarkapp.com/blog/information-regarding-malicious-postmark-mcp-package (opens in a new tab) ↩
  53. “Plug and Pray: How AI Is Changing Software Supply Chain Attacks”, OX Security report page (data from July to October 2026; vendor research), accessed 3 December 2026. https://www.ox.security/reports/plug-and-pray-how-ai-is-changing-software-supply-chain-attacks/ (opens in a new tab) ↩1 ↩2 ↩3
  54. “TrojanPony: A Live Skills Malware Campaign spreading in the wild, over 480 marketplaces and repositories affected”, AIR Security, 26 November 2026 (vendor research; observations as of that date). https://www.air.security/blog-posts/trojanpony (opens in a new tab) ↩1 ↩2 ↩3
  55. “The 1-in-40 risk hiding in your AI agents”, Okta newsroom, 18 November 2026 (reporting Permiso P0 Labs research; vendor figures). https://www.okta.com/en-in/newsroom/articles/the-1-in-40-risk-hiding-in-your-ai-agents/ (opens in a new tab) ↩1 ↩2 ↩3
  56. Xinghao Gao et al., “Skill or Threat? Risks and Scanner Gaps in the Large Language Model Skill Ecosystem”, arXiv:2611.36948, 27 November 2026. https://arxiv.org/abs/2611.36948 (opens in a new tab) ↩1 ↩2
  57. Kang Yang, Kevin Ying, Xiaojing Liao, Guanhong Tao and Jun Xu, “Demystifying Detectors Guarding Agent Skill Hubs”, arXiv:2611.30913, 23 November 2026. https://arxiv.org/abs/2611.30913 (opens in a new tab) ↩1 ↩2 ↩3
  58. Thanh M. Truong-Le et al., “The Devil Wears Markdown: Detecting Malicious Intent Hidden in AI Agent Skill Instructions through Hybrid Static, Dynamic, and Agentic Analysis”, arXiv:2611.10830, 7 November 2026. https://arxiv.org/abs/2611.10830 (opens in a new tab) ↩1 ↩2 ↩3
  59. Darren Meyer, “NVIDIA SkillSpector: ‘Safe’ Verdicts Don’t Mean The Skill Is Safe”, Checkmarx Zero, 11 November 2026 (research led by Alon Lerner). https://checkmarx.com/zero-post/nvidia-skillspector-safe-verdicts-dont-mean-the-skill-is-safe/ (opens in a new tab) ↩
  60. Kaixuan Li, Wenbo Guo, Sen Chen and Yang Liu, “Carried-Over and Agent-Native Threats in the Supply Chain of LLM Agent Skills”, arXiv:2611.30932, 23 November 2026 (figures from the full paper). https://arxiv.org/abs/2611.30932 (opens in a new tab) ↩1 ↩2
  61. “npm Unpublish Policy”, npm Docs, accessed 3 December 2026. https://docs.npmjs.com/policies/unpublish/ (opens in a new tab) ↩
  62. “npm ci”, npm Docs, CLI v10 command reference, accessed 3 December 2026. https://docs.npmjs.com/cli/v10/commands/npm-ci/ (opens in a new tab) ↩1 ↩2
  63. “Configure the sandboxed Bash tool”, Claude Code Docs, Anthropic, section “What runs outside the sandbox”, accessed 3 December 2026. https://code.claude.com/docs/en/sandboxing (opens in a new tab) ↩
  64. Bonan Ruan et al., “Guarding the Kingdom of Skill-Based Agents in the AI Dynasty of Computation: Control-Flow Integrity for Agent Skills”, arXiv:2611.24185, 18 November 2026 (figures from the abstract and Section 6). https://arxiv.org/abs/2611.24185 (opens in a new tab) ↩
  65. Kuiyi Gao, Xue Liu and Bowei He, “RuntimeTickets: Source-Grounded Security Obligations for Agent Skills”, arXiv:2611.03772, 2 November 2026. https://arxiv.org/abs/2611.03772 (opens in a new tab) ↩
  66. “About code owners”, GitHub Docs, section “CODEOWNERS and branch protection”, accessed 3 December 2026. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners (opens in a new tab) ↩
  67. “Hacking MCP Servers with Burp Suite”, Include Security Research Blog, 30 November 2026 (authors’ observations at their test date). https://blog.includesecurity.com/2026/11/hacking-mcp-servers-with-burp-suite/ (opens in a new tab) ↩1 ↩2