Skip to main content

byoa-unlink

Facilitates the release of a Gradient Bang corp ship from BYOA, ensuring proper configuration and access management.

Install this skill

or
0/100

Security score

The byoa-unlink skill was audited on May 20, 2026 and we found 25 security issues across 5 threat categories, including 2 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 43

Template literal with variable interpolation in command context

SourceSKILL.md
43```bash
medium line 63

Template literal with variable interpolation in command context

SourceSKILL.md
63```bash
medium line 76

Template literal with variable interpolation in command context

SourceSKILL.md
76```bash
medium line 97

Template literal with variable interpolation in command context

SourceSKILL.md
97```bash
high line 144

Ngrok tunnel reference

SourceSKILL.md
144- Tear down operator-owned infrastructure (Vercel deployment, local `byoa --serve` daemon, ngrok tunnel, etc.). The skill releases the database link and wipes the server-side wake config; the operator
medium line 15

Access to .env file

SourceSKILL.md
15This skill does **not** delete `.env.byoa`, tear down the operator's local daemon, or unprovision the Vercel deployment — those are the operator's own infrastructure to keep or discard. Pass `--clear-
medium line 25

Access to .env file

SourceSKILL.md
25- `local` → sources `SUPABASE_URL` from `.env.supabase`
medium line 26

Access to .env file

SourceSKILL.md
26- **--ship-id**: ship UUID to release. Defaults to `BYOA_SHIP_ID` in `.env.byoa`.
medium line 27

Access to .env file

SourceSKILL.md
27- **--character-id**: caller's character UUID. Defaults to `BYOA_CHARACTER_ID` in `.env.byoa`. Must be the current BYOA owner (server returns 403 otherwise).
medium line 29

Access to .env file

SourceSKILL.md
29- **--clear-env**: after a successful unlink, delete `.env.byoa`. Off by default — keep the file if you intend to re-`/byoa-link` the same ship soon (you'll just need a fresh wake secret on re-link an
medium line 35

Access to .env file

SourceSKILL.md
35- Both `.env.byoa` is missing AND `--ship-id` was not provided. There's nothing to unlink.
medium line 36

Access to .env file

SourceSKILL.md
36- `--ship-id` provided but no `--character-id` AND `.env.byoa` doesn't have one — the server needs to know which character is making the call.
medium line 37

Access to .env file

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

Access to .env file

SourceSKILL.md
44# Load .env.byoa if present
low line 45

Access to .env file

SourceSKILL.md
45[ -f .env.byoa ] && set -a && source .env.byoa && set +a
low line 50

Access to .env file

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

Access to .env file

SourceSKILL.md
110### 4. (Optional) Remove `.env.byoa`
low line 115

Access to .env file

SourceSKILL.md
115[ -f .env.byoa ] && rm -f .env.byoa && echo "removed .env.byoa"
medium line 118

Access to .env file

SourceSKILL.md
118Don't touch other operator-owned state (`.env.supabase`, the Vercel project, the local wake daemon, etc.) — out of scope.
medium line 128

Access to .env file

SourceSKILL.md
128- `.env.byoa`: kept / removed (per `--clear-env`)
medium line 133

Access to .env file

SourceSKILL.md
133- **`.env.byoa` missing AND no `--ship-id`**: nothing to unlink — point operator at `/byoa-link` to claim a ship first, or supply `--ship-id`.
medium line 145

Access to .env file

SourceSKILL.md
145- Touch `.env.bot`, `.env.supabase`, or any other env file. Only `.env.byoa` is in scope, and only when `--clear-env` is passed.
high line 61

Prompting for API key/token input

SourceSKILL.md
61If `--access-token` was passed, use it directly. Otherwise prompt for email + password:
low line 24

External URL reference

SourceSKILL.md
24- `prod` → `https://api.gradient-bang.com`
low line 49

External URL reference

SourceSKILL.md
49prod) SUPABASE_URL=https://api.gradient-bang.com ;;
Scanned on May 20, 2026
View Security Dashboard
Installation guide →