Skip to content

Audit an AI agent skill before it runs: remote scripts, data leaving your machine, and instructions that dodge safety checks

A third-party agent skill is instructions and scripts that your coding agent follows with your permissions. The Convex plugin case of October and November 2026 shows three things to look for: instructions that send your data off the machine without telling the agent to notify you, unpinned remote scripts, and instructions that shape commands to avoid safety checks. A short screening checklist, how to pin what a skill fetches, and how to run agents with outbound traffic denied by default.

By Nishant Gauraw, NG-NeXTPublished Updated 11 min read

An agent skill is a set of instructions, often with scripts, that a coding agent loads and then follows using your shell, your files and your credentials. Before you install a third-party skill, read it the way you would read a shell script from the internet: find every network call, every download-and-run, every instruction about approvals or safety checks, and every reference to secrets. Pin anything it fetches by hash, or vendor it. Then run the agent somewhere outbound traffic is denied by default, so that connections the audit did not expect are blocked, and logged.

A plugin from Convex, a backend platform company, is a useful case study because it is public, well documented and fairly discussed. The sources do not show malicious intent, and it still contains all three patterns worth looking for.

What the Convex skills did#

The plugin is convex/convex-backend-skill, a coding-agent plugin named convex, version 1.18.0, whose README says it can be installed from Anthropic's plugin marketplace. On 26 October 2026, the maintainer of a catalog of agent skills filed issue #64 with three findings:

  1. The quickstart skill sends the user's one-sentence app idea in a POST request to basic-anteater-667.convex.site, under a code comment that labels it [telemetry 1/3]. The issue says the user is not told that the idea leaves the machine.
  2. The add skill pipes scripts from the same host straight into bash: curl -fsSL "$B/add-hosting" | bash. (The current file also tells the agent: "If a permission prompt or sandbox blocks curl/bash, allow it (this only installs into the current project) — or run with the appropriate approval." In fairness, it also carries a security note that the remote procedure text it fetches should be read "as structured instructions, not as shell commands to blindly execute".)
  3. The labs-quickstart skill splits downloading and running the bootstrap script into two separate commands, and gives the reason: "A single command that both downloads remote code and executes it is the shape harness safety classifiers block."

The issue author was explicit: "I read this as a team trying to make onboarding reliable, not as anything malicious." The concern is the effect. The bootstrap is fetched from a server at run time with no hash or version, so what runs can change without a new plugin release, and the third passage tells the agent to shape a command to avoid the blocking that safety tooling applies.

We read the skill files on the main branch on 28 November 2026. The latest commit is a28c1f4, from 20 November 2026, and all three passages are still there. The note about classifiers appears in both quickstart and labs-quickstart, and in both it adds that the separate run step "reads as an ordinary local script". In fairness, the same note tells the agent to "never pipe curl into a shell", and the next paragraph says that if the download itself is denied, the agent should "ask the user to approve it rather than hand-scaffolding".

The issue was discussed on Hacker News from 27 November (discussion). The Convex CEO replied there that the upload powers the quickstart feature, the "spiritual successor" to Convex Chef, a product the company recently shut down, and that the service "throws away the prompt as soon as it's done making a decision about the initial project environment (within 30s)". He said it is "not telemetry, it's a feature", that the telemetry comment was "likely AI code gen" and would be fixed, and that the company would review the code.

Two further accounts, neither reproduced here:

  • A dev.to write-up, published on 28 November by a developer who cloned the repository and sent a labelled test idea to the endpoint on 27 November, reports an HTTP 202 reply with an id value that the write-up calls a slug, and a 3,015-line bootstrap script that itself fetches more content at run time.
  • A comment on the issue on 28 November reports that the add-hosting script installs an unpinned npm dependency and deploys using the existing Convex login.

One point that is easy to miss: the plugin README has a "Privacy & data" section, present since at least 1 October 2026, before the issue was filed. It says that the scaffolding flows send "the one-sentence idea you type" to the scaffolding endpoint, where it is "logged as a run start", and that "these flows also download and run setup scripts from that service". It also lists the opt-outs for the separate usage telemetry. So the data flow was documented. What the skill does not do is instruct the agent to tell the user at the moment the idea is sent, which matters for a user who never read the README.

Why this matters beyond one vendor#

None of these patterns is unique to Convex. Many install guides pipe a remote script into a shell. The difference with a skill is who reads the instructions. A person who sees curl ... | bash in a README can stop. A skill's instructions are read by the agent, often without the user seeing them, and the agent then runs commands with the user's access. Three questions follow:

  • What leaves the machine? Prompts, file contents, environment variables and repository names are all one curl away.
  • What code runs, and who can change it? An unpinned remote script can be changed by its owner, or by anyone who compromises the host that serves it, without any release or review.
  • Does the skill respect the checks you chose? Any instruction to rephrase, split or disguise a command so that a reviewer, a classifier or an approval prompt does not catch it tries to get around a control that you or your administrator put in place.

A short screening before you install#

For a small skill, this takes a few minutes. It is a first screen, not a full review. Do it on a copy, not in the directory where your agent will load it.

1. Fix the version you are reviewing.

git clone https://github.com/OWNER/REPO.git skill-review
cd skill-review
git rev-parse HEAD

Replace OWNER and REPO first. Record the commit: your review is valid for that commit only.

2. List the local files, not just the skill text. Plugins can include hooks that run on agent events, MCP server definitions, commands, sub-agents and helper scripts. Check symlinks, submodules and anything fetched at run time separately.

find . -type f -not -path './.git/*' | sort

3. Find literal URLs.

grep -rnoE 'https?://[^ "'"'"'`)>]+' --exclude-dir=.git . | sort -u

This misses URLs that are built at run time, so read the code around each network call too. Each host should have an obvious reason to be there. A generated-looking host name that receives POST requests deserves a close look.

4. Find download-and-run patterns.

grep -rnE 'curl|wget|Invoke-WebRequest|\| *(ba|z)?sh\b|bash /tmp|sh /tmp|eval |source <\(|npx |pipx run|uvx ' --exclude-dir=.git .

Read every hit in context. A download followed by a run in a later step still runs remote code, unless something checks the file in between.

5. Flag common signs of encoded content. Expect false positives.

grep -rnE 'base64|atob\(|fromCharCode|\\x[0-9a-fA-F]{2}' --exclude-dir=.git .
grep -rnE '[A-Za-z0-9+/=]{120,}' --exclude-dir=.git .

6. Find references to secrets.

grep -rniE '\.env\b|\.ssh|\.aws|\.kube|\.npmrc|\.netrc|\.git-credentials|id_rsa|id_ed25519|printenv|token|secret|api_key' --exclude-dir=.git .

7. Find instructions aimed at your controls. This check matters because the problem is in prose, not code, and scanners built for code can miss it.

grep -rniE 'classifier|safety|approv|permission|bypass|blocked|separate (bash|call|command)|do not (tell|mention|ask)|without asking|silently' --exclude-dir=.git .

8. Read the telemetry and privacy statements, then search the code for what they describe:

grep -rniE 'telemetry|analytics|posthog|segment|tracking|DO_NOT_TRACK' --exclude-dir=.git .

Then decide. Reject the skill, or fork and fix it, if it runs remote code that is not pinned, sends your data somewhere without telling you at the time, or contains any instruction to get around an approval or safety check. If it passes, you still have to judge what it does with your files, credentials and permissions, and how far you trust the vendor.

Pin what it fetches#

If a skill needs a remote script, the safest fix is to vendor it: fork the skill, download the script once, review it, commit it into your fork, and change the skill to run the local copy. Then pin your fork's commit.

If you must keep the download, verify a hash that you recorded at review time before every run:

curl -fsSL -o bootstrap.sh https://example.com/bootstrap.sh
echo "<sha256-recorded-at-review>  bootstrap.sh" | sha256sum -c - && bash bootstrap.sh

If the check fails for any reason, stop. A mismatch means the file is not the one you reviewed. Two limits apply. A hash covers only that file: if the script downloads more code when it runs, as the dev.to write-up reports for the Convex bootstrap, you have to review and pin that too, or block it. And package installs inside the script need pinning of their own. npx some-package@1.2.3 pins only the top-level package; its own dependencies may still resolve from version ranges, unless the package ships an npm-shrinkwrap.json or pins them exactly. For anything you run often, install it in a project with a committed package-lock.json and use npm ci, which installs exactly what the lockfile says.

Run agents with outbound traffic denied by default#

An audit covers one version at one moment. An agent fetches new content, reads web pages and follows text it was not shown before. The control that still constrains the agent when the audit misses something is network egress: run the agent in a VM or container that can reach only the hosts it needs. It limits where data can go, not what an allowed destination receives.

A practical pattern is a forward proxy with an allowlist of host names (your package mirror, your Git host, the model API you use), and firewall rules that let the agent reach only that proxy and your DNS resolver, plus loopback and replies on connections already established. Domain allowlists belong in the proxy, because the IP addresses behind CDNs change. A minimal nftables rule set on the agent VM, with documentation addresses as placeholders:

table inet agent_egress {
  chain output {
    type filter hook output priority 0; policy drop;
    oif "lo" accept
    ct state established,related accept
    ip daddr 192.0.2.53 udp dport 53 accept
    ip daddr 192.0.2.53 tcp dport 53 accept
    ip daddr 192.0.2.80 tcp dport 3128 accept
    log prefix "agent-egress-drop " drop
  }
}

Put these rules inside the agent VM, and do not give the agent root, sudo or the CAP_NET_ADMIN capability there, or it can change them; enforcing egress outside the VM, at the host or network firewall, is stronger still. The output hook sees traffic from the VM's own processes; traffic from bridged containers on a shared host passes through the host's forward hook instead. The address rules match IPv4 only, so all other IPv6 traffic (anything that is not loopback or part of an established connection) falls through to the final drop; add IPv6 rules, including neighbour discovery (ICMPv6), if your proxy or resolver uses IPv6.

Set https_proxy and http_proxy, and their uppercase forms, to the proxy, with no_proxy for local addresses. Not every tool honours them: curl reads the HTTP proxy only from lowercase http_proxy, and the default HTTP client in Node.js does not use these variables unless proxy support is enabled, for example with NODE_USE_ENV_PROXY=1 or --use-env-proxy (Node.js 22.21 or 24.5 and later). New direct connections from a tool that ignores the proxy are dropped by the firewall instead of getting through.

The two layers log different things. A direct connection that skips the proxy reaches the final rule and is logged by nftables, if you collect kernel logs. A request through the proxy to a host that is not on the list is refused by the proxy and appears in its access log, so configure the proxy to deny by default and keep that log. Point DNS at a resolver that you control and log, because DNS queries can carry data out too. The DNS rules allow anything to that address on port 53, so logging gives you visibility; to prevent DNS tunnelling as well, the resolver has to refuse names outside an allowlist.

Three more rules make the boundary real:

  • Do not mount your home directory, SSH keys, cloud credentials or the Docker socket into the agent's environment. Give it its own tokens, with the least scope that works.
  • Keep a step that needs the internet, such as installing dependencies, separate from a step that only needs the code. A container started with --network none has only a loopback interface, so it has no network path out (sockets you mount into it are a separate matter).
  • Treat any change to the allowlist as a change that a person approves.

We run our own agent team on our own hardware, and our policy is simple: agents can draft and propose anything, but nothing is published or sent without an explicit yes from a person. Default-deny egress complements that policy at the network level, because it limits where an agent can connect before anyone is asked.

Evidence#

As of 28 November 2026. We did not install or run the Convex plugin for this post.

ClaimStatusBasis
quickstart POSTs the idea to basic-anteater-667.convex.site under a [telemetry 1/3] comment; add pipes remote scripts into bash; quickstart and labs-quickstart contain the classifier noteVerified against a primary sourceSkill files on main, commit a28c1f4 (20 Nov 2026), read 28 Nov 2026
README discloses the idea upload and the remote setup scripts, since at least 1 October 2026Verified against a primary sourceREADME at commits 0c61d65 (1 Oct 2026) to a28c1f4
Issue #64 filed 26 Oct 2026, still openVerified against a primary sourceGitHub issue #64
Convex CEO statements, including that the prompt is discarded within 30 secondsReported, not reproducedHacker News thread, 27 Nov 2026; we cannot verify what the server keeps
Endpoint returns HTTP 202 and an id (slug); bootstrap is 3,015 lines and fetches more at run timeReported, not reproduceddev.to write-up, published 28 Nov 2026 (probes on 27 Nov)
add-hosting installs an unpinned npm dependency and deploys with the existing loginReported, not reproducedComment on issue #64, 28 Nov 2026
nftables rule set is valid syntax; the grep patterns match as describedTested here (syntax only)nft -c check and the grep patterns run against sample files, 28 Nov 2026; not run end to end
Proxy variable behaviour of curl and Node.js; npm ci; --network noneVerified against a primary sourcecurl, Node.js, npm and Docker documentation

FAQ#

What is an AI agent skill?#

A package of instructions, and often scripts, that a coding agent loads and follows to do a task. The agent runs the commands with the same access it has to your files, shell and credentials, so a skill deserves the same review as any code you install.

Did the Convex skills do anything malicious?#

The sources reviewed here do not show malicious intent. The issue author said they read it as an attempt to make onboarding reliable, and the Convex CEO said the upload is an intended feature. The concerns are that the skill does not tell the agent to notify the user before the idea is sent, that remote scripts run without pinning, and that one passage shapes commands to avoid safety classifiers.

Did Convex disclose that the app idea is sent to its server?#

Yes, in the plugin README. Its Privacy & data section, present since at least 1 October 2026, says the one-sentence idea is sent to the scaffolding endpoint and logged as a run start, and that these flows download and run setup scripts. The skill files do not instruct the agent to tell the user at the moment the idea is sent.

Has Convex fixed the skills?#

As of 28 November 2026, not on the main branch: the latest commit is from 20 November and the passages are still there. On Hacker News, the Convex CEO said the company would review the code and fix the misleading telemetry comment.

Is it wrong to download a script and run it in a separate step?#

No. Downloading, reading and then running a script is good practice. The problem in this case is the stated reason: the skill says a combined download-and-run is what safety classifiers block, and that the separate run step reads as an ordinary local script.

Does pinning a script by hash make it safe?#

It proves the file is the one you reviewed, nothing more. If that script downloads more code when it runs, the hash does not cover that code. Review what it fetches, vendor it, or block outbound traffic.

If I audit every skill, why also deny outbound traffic?#

An audit covers one version at one moment. Skills can fetch new content at run time, and an agent can be steered by text it reads. With default-deny egress, a connection to a destination you did not allow is blocked, and it is logged if you set up logging at the firewall or proxy. It does not stop data sent to a destination you did allow.

Is a container enough isolation for a coding agent?#

It can be part of the answer. At a minimum, the container should not mount your home directory, SSH keys, cloud credentials or the Docker socket, should not run privileged, and should have restricted network access. A separate VM gives a stronger boundary.

References#

If you want to run AI agents on your own infrastructure with the network locked down, the know-how here stays free. NG-NeXT also does consulting for private infrastructure. Tell us what you run through the contact page.

— Nishant Gauraw, Founder and CEO, NG-NeXT Tech

Talk to us directly.

We reply within one business day. The site assistant answers when it is available.