Index of every page on this site: llms.txt
All skills
stealth-factory avatar

/vercel-deployment-password-gate

@802887c
Run it yourself

A free DIY reimplementation of Vercel's $150/mo Advanced Deployment Protection add-on — all three features (Password Protection, private/prod deployments, Deployment Protection Exceptions) plus named automation bypass tokens — a middleware gate for ANY framework on Vercel (Next.js proxy, or SvelteKit/Nuxt/Astro/Remix/static via Routing Middleware). Gates previews by default, production opt-in; fully branded unlock page; zero prod cost. Use when asked to password-protect or basic-auth a preview/staging URL, avoid or cancel that add-on, password-protect on a Hobby plan, brand/white-label a password wall, add a login that "shows once and stays unlocked", set or ROTATE the password, add/remove bypass tokens for CI or automation (Lighthouse, uptime), make one preview domain public, protect previews on an app with NO existing middleware, gate a production or pre-launch site with a shared password (coming-soon, client demo, internal tool), remove/uninstall/revert this password gate or make a gated site public again, or choose between a DIY gate and Vercel Authentication (free team SSO).

Use this Skill: https://skilld.dev/gh/stealth-factory/skills/vercel-deployment-password-gate

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

templatesdeploy-gate-installation.md

≈449 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Deployment password gate installation record

Fill in every field; write none when not applicable. Keep this record free of credential values (including password hashes), cookies, and bypass URLs.

  • Skill version:
  • Mode: A (integrated into existing middleware) / B (standalone middleware)
  • Framework, app directory, and gate/helper paths:
  • Existing host middleware/proxy path and responsibilities to preserve:
  • Gate-only files added (including scripts, tests, and assets):
  • Shared files modified and gate-specific changes (including matcher changes):
  • Build command before / after (include Vercel dashboard overrides):
  • Dependencies added and package manager / lockfile:
  • Vercel project/team, environments, and branch-specific variable overrides:
  • Environment variable names and scopes added (NO values):
  • CI/monitoring secret names, consumers, headers/query parameters added:
  • Platform settings changed, previous state, and reason (NO secrets):
  • Gate-only installation/follow-up commit SHAs, oldest first:
    • Pending: fill in after committing, in a separate documentation commit.
  • Installation PR and final squash/rebased SHA(s):
  • Separate prerequisite commit SHAs to KEEP by default:
  • Verification performed and relevant deployment URLs (NO bypass parameters):
  • Removal guide: skills/vercel-deployment-password-gate/reference/uninstall.md in stealth-factory/skills.

Revert verified gate-only commits newest first, then complete external cleanup and redeployment using the guide. Git reverts do not change Vercel variables or existing deployments. Update this record after gate changes and mark it removed after uninstall; keep it as an audit trail.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    This skill provides a secure, DIY implementation for password-protecting Vercel deployments. It follows security best practices by using scrypt hashing for passwords, implementing revocable automation tokens, and providing a build script to remove the protection from production builds to save costs. The code includes robust protections against common web vulnerabilities like open redirects and timing attacks.

  • Socket7d

    No alerts

  • Snyk2d

    Risk: MEDIUM · 1 issue

Signed by skilld at 802887c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 6 days ago.

Activeupdated last week
Other metadata
metadata
{
  "author": "stealth-factory",
  "co-author": "wiiiimm",
  "version": "1.12.1"
}

README badge

README badge for stealth-factory/skills/vercel-deployment-password-gate