尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Self-hardening prompt-security game: break the AI piggy bank. Next.js + Supabase + OpenAI.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Prompt Piggy is a self-hardening prompt-security game. Players sign in with Google and try to talk an AI piggy bank into paying out its treasury. Every successful break hardens the pig for the next player.
[!WARNING] This repository is public. Never commit a secret (API keys, the Supabase service-role key, the database password,
CRON_SECRET) or a real breach prompt. Only.env.example, which holds variable names with empty values, may be committed; every other.env*file is gitignored. Real breach prompts live only in the database, and committed test fixtures are synthetic. CI runs a gitleaks scan over the full git history on every pull request and fails on any finding.
/health page, and CI. There is no game logic yet.docs/ARCHITECTURE.md and docs/orchestrator-tasks.json) lands through its own pull request.@openai/agentsbase-nova, Base UI)Requirements: Node 22 (see .nvmrc) and pnpm 10.
pnpm install --frozen-lockfile
cp .env.example .env.local # then fill in values locally; never commit them
pnpm dev # http://localhost:3000, deploy check at /health
| Command | What it does |
|---|---|
pnpm dev | Start the Next.js dev server. |
pnpm test | Run the Vitest server and ui projects. |
pnpm build | Production build. It needs no environment variables. |
pnpm lint | ESLint. |
pnpm typecheck | tsc --noEmit. |
pnpm test:e2e | Playwright end-to-end tests against pnpm dev. |
The /health page reports ok, the commit, the environment, and whether the public Supabase settings are present (yes or no, never the value). It makes no database or network call.
docs/ARCHITECTURE.md: the architecture blueprint (directory tree, data model, API routes, threat model, environment variable names).docs/BRIEF.md: the original mission brief.docs/HARDENING_CONSTRAINTS.md: mandatory design rules for the Attack-to-Rule hardening loop.docs/SETUP.md: Supabase and Vercel setup notes.Licensed under the GNU General Public License v3.0. See LICENSE.