LegitPepCheck guided chat: the full flow map

Every question, every answer, every path, and where it ends in the staff form. No AI: every reply below is fixed text taken from a live legitpepcheck.com page, and status answers come from the same public data the badge uses.

Click any box to open it: you see its answer and everything it leads to.
LegitPepCheck helpAnswers from our site. No AI.
Try these
What the engine did
Nothing yet.
Status checks here are LIVE: they read legitpepcheck.com's public search index and badge status, the same files the site already serves to every visitor. The form at the end is a mock here; on legitpepcheck.com it sends to staff.

Why it can't be abused

  1. No AI, nothing to jailbreak. Every reply is pre-written text in one file (chat/flow.js). "Ignore your instructions" has no instructions to ignore.
  2. No new server code for answers. The chat runs in the visitor's browser and only READS files the site already publishes to everyone (search-index.json, badge-status.json, /api/live-status). It has no key, no session, no access to accounts, sign-in links, codes, documents, the CRM or Stripe. There is nothing for it to leak.
  3. Typed text is never run. It is capped at 400 characters, lowercased and compared as words. It is never executed, never inserted as HTML, never sent to a database. Replies are written with textContent, so even a message full of script tags shows as plain text.
  4. Links are allowlisted. Only legitpepcheck.com paths can appear in an answer. Any other link is dropped.
  5. Code, prompts and injection attempts (script tags, SQL, "system prompt", "act as", shell commands) go straight to the off-topic reply.
  6. Sign-in codes, 2FA, SSO, passwords, admin access: a fixed refusal that says staff never ask for them, plus a link to the real sign-in page.
  7. Dosing, medical, legal, "best vendor", "is it safe": fixed refusals that match the disclaimer and the no-ranking rule.
  8. The only thing that writes anywhere is the staff form, and it posts to the existing /api/submit path (form "chat"): same-origin only, a honeypot, size limits, the same staff email and confirmation email as the contact form, plus a Slack alert. Rate limits: 8 form sends an hour per visitor; logged questions 20 an hour and 60 a day per visitor and 500 a day site wide; Slack theme alerts at most 10 a day.
  9. Cost is $0. Static files on Pages. Lookups hit cached JSON at the edge.
  10. Attack test suite (418 checks, 53 hostile messages) runs before every nightly build (tests/chat/chat.test.cjs); a single hostile message that reaches a normal answer, or any non-allowlisted link, stops the deploy.

How a typed question is routed

  1. Blocked patterns first (code, injection) to the off-topic reply.
  2. Guard topics next (codes, dosing, legal, best vendor). These outrank normal answers, so "what dose of BPC-157" never lands on the COA answer.
  3. A website address in the message runs the status lookup.
  4. Otherwise the closest phrase match wins (yellow phrases on each card in tab 2).
  5. No confident match: "I can only answer questions about LegitPepCheck", the topic buttons, and the staff form.

The chat repeats the site, so the site has to agree with itself first. While writing every answer I found these pages contradicting each other or describing checks that aren't running. The chat currently uses the safest true wording; each needs your call.