Files
shockbot/utils
Colin McDonnell 6f108237d4 Deployment protection bypass (#298)
* test preview bypass 2

Co-authored-by: Cursor <cursoragent@cursor.com>

* add apiFetch wrapper with Vercel bypass via query param + header

the template workflow was missing VERCEL_AUTOMATION_BYPASS_SECRET,
so all action API calls to preview deployments hit Vercel's
deployment protection without bypass. this also consolidates the
bypass logic into a single fetch wrapper that applies the secret
as both a query parameter (matching server-side forwarding) and
a header for belt-and-suspenders reliability.

Co-authored-by: Cursor <cursoragent@cursor.com>

* security hardening for Vercel bypass

- redact bypass token from webhook forwarder logs and response body
- remove dead x-preview-api-forward header
- refactor getAllSecrets() to use SENSITIVE_PATTERNS instead of hardcoded list
- enforce https:// on API_URL (localhost exempt for local dev)

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 20:01:48 +00:00
..
2026-02-13 14:24:46 +00:00
2026-02-13 20:01:48 +00:00
2026-01-15 22:06:53 +00:00
2026-02-13 20:01:48 +00:00
2026-01-28 07:47:52 +00:00
2026-02-06 07:16:14 +00:00
2026-02-13 14:24:46 +00:00
2025-12-27 16:28:41 -08:00
2026-01-29 22:49:00 +00:00
2026-02-13 20:01:48 +00:00
2026-02-13 14:24:46 +00:00
2026-02-10 05:04:46 +00:00