Skills/Glama/tas-guard

tas-guard@0.5.1

CAUTION· startup only

Publisher claims: "Order limits, human approval (terminal or Telegram), a kill switch and a hash-chained audit log in front of any broker or exchange MCP server. Verified profiles for Alpaca MCP and CCXT MCP." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry GlamaPublisher intoapex · publishing for 9 daysInstalls 0Last detonated 9d ago

Coverage

Startup only; authenticated tool behavior not tested.
Tested
server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-16, [email protected] read no files and called no hosts, and its code names 10 environment variables. Coverage: startup only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

ALPACA_API_KEY, ALPACA_SECRET_KEY, HELIUS_API_KEY, HL_ACCOUNT, HL_API_PRIVATE_KEY, HL_MAIN_PRIVATE_KEY, TAS_GUARD_BASE_BUILDER_CODE, TAS_GUARD_HL_BUILDER_FEE, TAS_GUARD_HOME, TAS_TELEGRAM_BOT_TOKEN

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • the tool list (the server exited before answering)
  • what the tools do when called with real credentials
Run date2026-11-16
Coveragestartup only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try tas-guard
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
ALPACA_API_KEYALPACA_SECRET_KEYHELIUS_API_KEYHL_API_PRIVATE_KEYHL_MAIN_PRIVATE_KEYTAS_TELEGRAM_BOT_TOKENConfiguration, not credentials: HL_ACCOUNT, TAS_GUARD_BASE_BUILDER_CODE, TAS_GUARD_HL_BUILDER_FEE, TAS_GUARD_HOME
Where it talks to
no vendor host named in the codeAlso hyperliquid.xyz, telegram.org, base.org, helius-rpc.com, hyperliquid-testnet.xyz — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names hyperliquid.xyz, telegram.org, base.org, helius-rpc.com, hyperliquid-testnet.xyz as well as its own vendor. The guard injects ALPACA_API_KEY, ALPACA_SECRET_KEY, HELIUS_API_KEY, HL_API_PRIVATE_KEY, HL_MAIN_PRIVATE_KEY, TAS_TELEGRAM_BOT_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-16 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Host or code assembled from base64 fragments; Host or code assembled from base64 fragments; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 20 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
20sclaimedstartup only: exited (0) before answering · Setup: tas-guard profiles list built-in connector profiles tas-guard init <profile> print a starter guard.json for a profile State lives in /tmp/ks-detonate-5LODAK/task/home/.tas-guard (override with TAS_GUARD_HOME).
20sprocessscript backend runs setup only
20sprocessno install scripts to re-run

Static findings

HIGH
Host or code assembled from base64 fragmentssrc/solana.js:340 · Host or code assembled from base64 fragmentsreturn { lamports: Number(acc.lamports), owner: acc.owner, data: [Buffer.from(acc.data).toString("base64"), "base64"], executable: !!acc.executable, rentEpoch: 0, space: acc.data.length };Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
npx invocation of non-well-known packagesrc/hyperliquid.js:347 · npx invocation of non-well-known package — may execute untrusted code`Approve it once with: npx tas-guard hl approve-fee${this.testnet ? " --testnet" : ""} (signs with your main wallet; run it yourself, not the agent). ` +Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/hyperliquid.js:123 · npx invocation of non-well-known package — may execute untrusted code… for this account yet, so Hyperliquid will reject orders. Approve it once with: npx tas-guard hl approve-fee${this.testnet ? " --testnet" : ""} (or set TAS_GUARD_HL_BUILDER_…Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/cli.js:222 · npx invocation of non-well-known package — may execute untrusted code2. Held for you: send 30 USDC to a new address (then run: npx tas-guard approve <id>)Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Process kill commandsrc/hyperliquid.js:3 · Process kill command — agent can terminate processes// in-process, and GuardProxy runs every call through the same policy, approvals, kill switch and audit logFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/proxy.js:348 · npx invocation of non-well-known package — may execute untrusted code`Ask the user to approve it themselves by running: npx tas-guard approve ${item.id}\n` +Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Process kill commandsrc/proxy.js:289 · Process kill command — agent can terminate processes// call is blocked anyway (kill switch, blocked class), so those answers don't depend on the network.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandserver.json:5 · Process kill command — agent can terminate processes"description": "Order limits, phone approvals and a kill switch in front of any broker or exchange MCP server.",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/telegram.js:157 · Process kill command — agent can terminate processesawait this.notify("TAS Guard controls:\n/status: limits and today's usage\n/pending: actions waiting for you\n/kill: stop all new orders\n/resume: turn the kill switch off");Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packageserver.json:31 · npx invocation of non-well-known package — may execute untrusted code"description": "Path to your guard config: the broker or exchange MCP server to wrap, plus your limits. Create one with: npx tas-guard init alpaca-mcp-server"Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/telegram.js:18 · npx invocation of non-well-known package — may execute untrusted codeif (!cfg?.bot_token || !cfg?.chat_id) throw new Error("approvals.telegram needs bot_token and chat_id (run: npx tas-guard telegram-setup)");Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Process kill commandsrc/cli.js:53 · Process kill command — agent can terminate processestas-guard kill [reason] kill switch: block all new orders on every guardFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/rpc.js:318 · Process kill command — agent can terminate processes// so parallel requests (or a long approval wait) can't slip past the daily caps or the kill switch.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionsrc/rpc.js:68 · File type combined with upload action — agent may exfiltrate local data filesthis.log(`Base Builder Code ${this.builderCode} is added to eth_sendTransaction calls (attribution only, no fee). Turn it off with TAS_GUARD_BASE_BUILDER_CODE=0.`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Process kill commandsrc/proxy.js:356 · Process kill command — agent can terminate processes// so parallel calls (or a long approval wait) can't slip past the daily caps or the kill switch.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/telegram.js:2 · Process kill command — agent can terminate processes// Approve / Deny buttons for held actions, alerts, and /kill /resume /status /pending from your phone.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/state.js:1 · Process kill command — agent can terminate processes// On-disk state: daily usage, pending approvals, the kill switch and the audit log.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/policy.js:39 · Process kill command — agent can terminate processes// Risk-reducing classes stay available while the kill switch is on.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionsrc/rpc.js:86 · File type combined with upload action — agent may exfiltrate local data files…this.policy.chains_allow.length && !this.policy.chains_allow.includes(cid)) this.log(`warning: upstream chain ${cid} is not on chains_allow: every send and signature will be blocked`); } /** Remove the upstream URL (and its AP…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Process kill commandsrc/cli.js:40 · Process kill command — agent can terminate processesHyperliquid mode: trade Hyperliquid directly through the same limits, approvals and kill switch:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Host or code assembled from base64 fragmentssrc/demo-sol.js:42 · Host or code assembled from base64 fragmentsset(a, v) { this.accts.set(a, { lamports: BigInt(v.lamports ?? 0), owner: v.owner ?? SYSTEM, data: Buffer.from(v.data ?? []), executable: !!v.executable }); }Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
File type combined with upload actionsrc/cli.js:300 · File type combined with upload action — agent may exfiltrate local data filesconsole.log("1. In Telegram, open @BotFather, send /newbot and follow the steps.\n2. Copy the token it gives you (looks like 123456789:ABC...).");Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Process kill commandsrc/proxy.js:214 · Process kill command — agent can terminate processesdescription: "TAS Guard: show the trading limits that apply to this connection, today's usage, the kill switch and pending approvals. Read-only.",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionsrc/cli.js:306 · File type combined with upload action — agent may exfiltrate local data filesconsole.log("3. Now open your bot in Telegram and press Start (or send it any message). Waiting up to 2 minutes...");Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
npx invocation of non-well-known packagesrc/proxy.js:338 · npx invocation of non-well-known package — may execute untrusted code…son}\n\n` + `Ask the user to tap Approve in Telegram (or run: npx tas-guard approve ${item.id}), then repeat exactly the same call within ${this.policy.app…Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Process kill commandsrc/cli.js:54 · Process kill command — agent can terminate processestas-guard resume turn the kill switch offFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandpackage.json:4 · Process kill command — agent can terminate processes…AI agents: puts per-order and daily caps, symbol allowlists, human approvals, a kill switch and a tamper-evident audit log in front of any broker or exchange MCP ser…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/state.js:55 · Process kill command — agent can terminate processes// --- kill switch (global across guards) ---Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/proxy.js:93 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif (!(k in (upstream.env || {})) && !(profile?.mode?.env && k.startsWith(profile.mode.env.split("_")[0]))) continue;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandsrc/cli.js:62 · Process kill command — agent can terminate processesalerts, and /kill /resume /status /pendingFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedsrc/solana.js:1 · Destructive file system command detected// Solana helpers for the Solana guard, with no dependencies: base58, the transaction wire formatFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/sol.test.js:323 · Process kill command — agent can terminate processestest("phone approvals (Telegram) work for Solana: the phone sees the decoded summary; /kill and /status work", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Hidden zero-width characters detectedtest/unit.test.js:146 · Hidden zero-width characters detected — may conceal contentwriteFileSync(f, "" + JSON.stringify({ a: 1 }));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
npx invocation of non-well-known packagetest/hl.test.js:443 · npx invocation of non-well-known package — may execute untrusted codeassert.match(txt(r), /npx tas-guard hl approve-fee/);Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Access to sensitive file pathstest/e2e.test.js:19 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst childEnv = { ...process.env, TAS_GUARD_HOME: home, MOCK_LOG: mockLog, ...env };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstest/rpc.test.js:216 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst p = spawn(process.execPath, [CLI, ...args], { env: { ...process.env, ...env }, stdio: ["ignore", "ignore", "pipe"] });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Stripe-like API key pattern detectedtest/rpc.test.js:238 · Stripe-like API key pattern detected — possible hardcoded or harvested keyassert.ok(!g.stderr().includes("sk-live-abcdef123456"), "key not in the log");Fix: Never read or enumerate credential locations; accept a documented environment variable instead.
AST03
MEDIUM
Process kill commandtest/rpc.test.js:113 · Process kill command — agent can terminate processestest("kill switch: every send and signature is blocked, reads still pass", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/sol.test.js:99 · Process kill command — agent can terminate processestest("policy: kill switch, wrong signer, cluster and block list", () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/evm.test.js:187 · Process kill command — agent can terminate processestest("chains, wallets, kill switch, signing classes and unsupported methods", () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstest/hl.test.js:529 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filestry { execFileSync(process.execPath, [CLI, ...args], { env: { ...process.env, TAS_GUARD_HOME: home, HL_ACCOUNT: "", HL_API_PRIVATE_KEY: "", ...env }, encoding: "utf8", stdio: "pipe" }); return ""; }Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandtest/e2e.test.js:148 · Process kill command — agent can terminate processestest("kill switch stops new orders on a running guard; cancels still work", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/hl.test.js:384 · Process kill command — agent can terminate processestest("kill switch: orders blocked without touching the network; cancel and close still work (close carries the builder code)", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/telegram.test.js:127 · Process kill command — agent can terminate processestest("phone kill switch, blocked-order alert, resume and status", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/sol.test.js:228 · Process kill command — agent can terminate processestest("kill switch blocks sends but not reads; base58 encoding and v0 lookup tables work", async () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtest/unit.test.js:104 · Process kill command — agent can terminate processestest("kill switch blocks new risk but allows reads, cancels and closes", () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Stripe-like API key pattern detectedtest/rpc.test.js:231 · Stripe-like API key pattern detected — possible hardcoded or harvested keyconst g = startCli(["rpc", "--config", cfg], { TAS_GUARD_HOME: home, TEST_RPC_KEY: "sk-live-abcdef123456" });Fix: Never read or enumerate credential locations; accept a documented environment variable instead.
AST03
MEDIUM
Hidden zero-width characters detectedtest/telegram.test.js:162 · Hidden zero-width characters detected — may conceal contentwriteFileSync(cfg, "" + JSON.stringify({ name: "x", profile: "alpaca-mcp-server", upstream: { command: "x" }, policy: { max_order_value: 50 } }));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07

Cost to the agent

Instructions loaded
≈33 tok
1 file · 48 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim intoapex: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Obfuscated code≈ +5 on the totalRemove base64-assembled strings, eval of decoded text and minified blobs. Reviewers and scanners both treat unreadable code as hostile.
  3. Host or code assembled from base64 fragments≈ +4 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
  4. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim intoapexPropose a patch to the maintainer