Sharing a technical PSA after auditing the public GitHub repository (`xAmped/Vest-Copier`, `src/vest-copier.user.js`) for anyone using — or referring traders to — Vest (`next.vestmarkets.com`).
Nothing below is speculation; every quote and commit hash is directly verifiable in the public repo.
### 1. What the public git history shows
v0.39.3 (`f939f1f8`, Oct 12) → v0.41.2 (`85a29c96`, Oct 22)
- `TERMS_VERSION = 3`: Enabling the developer's referral code was bundled into accepting the script's terms.
- Verbatim source comment (L4160 / L5631): "Accepting the terms turns that on, whatever was answered before (and tries Vest's own referral-join call, the one behind its 'Have a Referral Code?' dialog)."
- Verbatim source comment (L5703): "its code is switched to [developer code] the way a person would do it: clear the applied code (✕), type [developer code], press Enter."
- Programmatically called `POST /v2/referrals/join`. No discount comparison; activity log entry only.
v0.41.3 (`dde154e8`, Nov 3) → v0.41.4 (`2a76b1df`, Nov 22)
- Source comment (L5631): "Jay, 2026-11-02; Vest's terms §6B ask for care with referral credit."
- `TERMS_VERSION = 4`: Split into a standalone Yes / No prompt (re-asked after updates), and added a discount check ("in place of another code if it saves at least as much").
- On Yes, still cleared equal-discount codes and called `POST /v2/referrals/join`.
v0.41.5 (`7b6e043f`, Nov 24) → v0.42.0 (`d8c04bf4`, Nov 24 — current latest)
- The discount-comparison safeguard added in v0.41.3 was removed.
- Verbatim source comment (L5788–5791): "- Yes: [developer code] goes into Vest's code box each time one opens, in place of whatever code is there (the owner, 2026-11-23: no comparing discounts; Vest gave its go-ahead for this)… A code the trader types or picks stays while that window is open; opened again, [developer code] goes back in." (Note: the "go-ahead" statement appears in the script's source comment; there is no public confirmation from Vest.)
- Re-prompts after updates (up to once a week, L5824) and retains `POST /v2/referrals/join` on Yes.
### 2. Why this matters
- For traders: A Tampermonkey userscript running on a logged-in trading domain has full DOM and session-level API access on that origin. Under Vest's Prop Terms §9 (updated Nov 23, 2026), Vest explicitly does not develop, endorse, support, or reimburse losses caused by third-party copiers or scripts. Also note that auto-updating scripts can change checkout behavior between versions. Personally, I would avoid running third-party browser scripts that interact with checkout fields or account referral endpoints — or at minimum disable auto-updates and manually verify the checkout box before every purchase.
- For affiliates / content creators: Even in the latest v0.42.0, if a user in your audience previously clicked "Yes" (or accepts a future update prompt), opening the checkout modal overwrites whatever referral code was already present in the box, and accounts without an existing referral can be bound via `/v2/referrals/join`. In mainstream affiliate compliance (e.g., UK APMA's stand-down guidance), browser tools are generally expected not to overwrite existing referral attribution.
Disclaimer: This is an independent code review based solely on publicly available commits and terms of service for educational and security awareness purposes. It is not legal advice and does not assert any regulatory or judicial finding.