Skip to main content

byoa-deploy-vercel

Facilitates the deployment of BYOA wake-receiver functions on Vercel, managing environment variables and health checks seamlessly.

Install this skill

or
0/100

Security score

The byoa-deploy-vercel skill was audited on Jun 1, 2026 and we found 36 security issues across 5 threat categories, including 8 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 68

Template literal with variable interpolation in command context

SourceSKILL.md
68```bash
high line 134

Template literal with variable interpolation in command context

SourceSKILL.md
134First resolve the LLM-provider API key name + value from `TASK_LLM_PROVIDER` in one shot (resolving both here avoids `${!VAR}` indirect expansion, which works in bash but not zsh — and zsh is the defa
medium line 194

Template literal with variable interpolation in command context

SourceSKILL.md
194# Use `cut`, not awk's positional-field operator — the loader rewrites literal
medium line 216

Template literal with variable interpolation in command context

SourceSKILL.md
216```bash
medium line 232

Template literal with variable interpolation in command context

SourceSKILL.md
232```bash
medium line 257

Template literal with variable interpolation in command context

SourceSKILL.md
257```bash
medium line 277

Template literal with variable interpolation in command context

SourceSKILL.md
277```bash
medium line 298

Template literal with variable interpolation in command context

SourceSKILL.md
298```bash
high line 318

Template literal with variable interpolation in command context

SourceSKILL.md
318- Canonical alias (`${ALIAS_URL}`) — what's registered as `source_url`
high line 319

Template literal with variable interpolation in command context

SourceSKILL.md
319- Per-deploy URL (`${DEPLOY_URL}`) — for `vercel inspect` / dashboard only; SSO-gated
high line 320

Template literal with variable interpolation in command context

SourceSKILL.md
320- Wake endpoint (`${ALIAS_URL}/api/wake`)
high line 323

Template literal with variable interpolation in command context

SourceSKILL.md
323- Next step: start a task on the ship from the bot. Tail Vercel logs with `npx vercel logs ${ALIAS_URL}` and watch for the first wake — the initial clone + `uv sync` takes 30–60s on cold sandbox.
high line 35

Ngrok tunnel reference

SourceSKILL.md
35**Game tool calls route through the bus, not direct HTTP.** The BYOA harness running in the Vercel sandbox never calls the game server directly — it publishes `BusGameToolCallRequest` messages onto th
medium line 3

Access to .env file

SourceSKILL.md
3description: Deploy the BYOA wake-receiver Vercel Function from `deployment/vercel/`. Reads `.env.byoa`, pushes the operator's required env to the Vercel project, deploys via `npx vercel`, health-chec
medium line 10

Access to .env file

SourceSKILL.md
10Picks up where `/byoa-link` finishes. The operator's ship is already claimed as BYOA, `.env.byoa` is populated with `BYOA_CHARACTER_ID` / `BYOA_SHIP_ID` / `BYOA_WAKE_SECRET`, and the per-ship wake sec
medium line 22

Access to .env file

SourceSKILL.md
22- `local` → sources `SUPABASE_URL` from `.env.supabase` (e.g. `http://127.0.0.1:54321` when `npx supabase start` is running)
medium line 35

Access to .env file

SourceSKILL.md
35**Game tool calls route through the bus, not direct HTTP.** The BYOA harness running in the Vercel sandbox never calls the game server directly — it publishes `BusGameToolCallRequest` messages onto th
medium line 41

Access to .env file

SourceSKILL.md
41- `.env.byoa` does not exist in cwd → direct the operator to run `/byoa-link` first.
medium line 42

Access to .env file

SourceSKILL.md
42- `.env.byoa` is missing any required key: `BYOA_WAKE_SECRET`, `BYOA_SHIP_ID`, `BYOA_CHARACTER_ID`, `TASK_LLM_PROVIDER`, `TASK_LLM_MODEL`, and the API key matching the provider (one of `ANTHROPIC_API_
medium line 45

Access to .env file

SourceSKILL.md
45- For `env=local`: `.env.supabase` is missing or `SUPABASE_URL` is unset inside it.
low line 63

Access to .env file

SourceSKILL.md
63set -a && source .env.byoa && set +a
low line 71

Access to .env file

SourceSKILL.md
71local) set -a && source .env.supabase && set +a ;;
medium line 130

Access to .env file

SourceSKILL.md
130Push the values from `.env.byoa` to the **production** Vercel environment only. The wake function is invoked through the production alias (`<projectName>.vercel.app`) and preview/development environme
medium line 132

Access to .env file

SourceSKILL.md
132All `vercel` invocations use `--cwd deployment/vercel` instead of `cd deployment/vercel && ...` — that way the snippet runs the same whether or not the caller wraps it in a subshell, and accidental cw
medium line 328

Access to .env file

SourceSKILL.md
328- **Missing `.env.byoa`**: run `/byoa-link` first.
high line 28

Prompting for password/secret input

SourceSKILL.md
28- **--access-token <jwt>**: skip the email+password prompt in step 8 by reusing an existing user JWT (e.g. one just minted by `/byoa-link`). Token must be valid for the same operator who owns the ship
high line 28

Prompting for API key/token input

SourceSKILL.md
28- **--access-token <jwt>**: skip the email+password prompt in step 8 by reusing an existing user JWT (e.g. one just minted by `/byoa-link`). Token must be valid for the same operator who owns the ship
low line 12

External URL reference

SourceSKILL.md
12End state: a Vercel deployment at `https://<their-project>.vercel.app/api/wake` that auths inbound wakes against `BYOA_WAKE_SECRET` and spawns a persistent `@vercel/sandbox` running `uv run byoa` per
low line 21

External URL reference

SourceSKILL.md
21- `prod` / `live` → `https://api.gradient-bang.com` (hardcoded; operator never types it; no env file needed). If the operator types nothing, this is what they get.
low line 22

External URL reference

SourceSKILL.md
22- `local` → sources `SUPABASE_URL` from `.env.supabase` (e.g. `http://127.0.0.1:54321` when `npx supabase start` is running)
low line 70

External URL reference

SourceSKILL.md
70prod|live) SUPABASE_URL=https://api.gradient-bang.com ;;
low line 74

External URL reference

SourceSKILL.md
74# SUPABASE_URL now points at api.gradient-bang.com (prod/live) or http://127.0.0.1:54321 (local)
low line 191

External URL reference

SourceSKILL.md
191DEPLOY_URL=$(grep -oE 'https://[a-z0-9-]+\.vercel\.app' /tmp/byoa-deploy.log | head -1)
low line 197

External URL reference

SourceSKILL.md
197ALIAS_URL=$(grep -oE 'Aliased: https://[^ ]+' /tmp/byoa-deploy.log | head -1 | cut -d' ' -f2)
low line 202

External URL reference

SourceSKILL.md
202ALIAS_URL="https://${PROJECT_NAME}.vercel.app"
low line 335

External URL reference

SourceSKILL.md
335- **`Aliased:` line missing from `vercel deploy` output**: happens on preview deploys (no automatic alias) and on first-ever production deploy for some projects. The step-5 snippet falls back to const
Scanned on Jun 1, 2026
View Security Dashboard
Installation guide →