Skip to content

Improve shadow CTF and add isolated decoy admin terminals - #19

Merged
modhack2003 merged 1 commit into
mainfrom
feat/shadow-decoy-portals
Oct 8, 2026
Merged

modhack2003 merged 1 commit into
mainfrom
feat/shadow-decoy-portals

Conversation

@modhack2003

Copy link
Copy Markdown
Owner

Replaces the shadow puzzle's repeated answers and real-admin redirect with a terminal-style CTF: three tracks, 11 distinct puzzles, solved-lock progress, optional/automatic hints, retry feedback, fictional completion flags and restart controls. Finishing a game never grants admin access or reveals the real login.

Adds five fake password consoles at /administrator, /wp-admin, /cpanel, /admin/login and /dashboard/login, retaining the /admin PIN decoy. Additional CTF entrances are /admin/access, /admin/backup and /root. Inputs stay local and are immediately discarded on submission; no credentials are sent or stored. Explicit page metadata and headers prevent indexing, without changing the main portfolio UI or real admin authentication.

The public verifier validates tracks, integer levels and bounded answers, caps request payloads, cleans expired throttle entries and bounds its per-instance limiter. The limiter is best-effort on Vercel; these pages are decoys and games, not an authentication boundary.

Validation: 332 tests pass; TypeScript, lint and production build pass. Local HTTP smoke checks passed for all ten decoy routes, noindex headers, game-only completion, real admin API 401 and unchanged unknown-route 404. Local production build uses the existing database fallback because DATABASE_URL is absent. Route inventory and behavior are documented in docs/shadow-decoys.md.

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bikram Ready Ready Preview Oct 8, 2026 12:30pm UTC

@modhack2003
modhack2003 merged commit 50a7d76 into main Oct 8, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview – bikram — 06c7056d Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant