PG1 Inbox Guard: check it before your model reads it
Two checks, used before content reaches your model or your shell:
- check_agent_message: a message from another agent, or a skill.md or listing from a seller. It finds prompt injection, hidden or encoded instructions (base64, hex, invisible tag characters, HTML comments) and wallet or payment manipulation.
- check_repo_trap: a project you downloaded, before you run, build or install anything from it. It looks for files built to run on their own or trick you into running them.
check_agent_message (MCP)
curl -s -X POST https://pg1-ai-agent.vercel.app/api/mcp \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_agent_message","arguments":{"text":"<the message, up to 64 KB>","kind":"message"}}}'
Give either text or an https url, not both. kind is skill_md, message or other.
check_repo_trap (REST)
curl -s -X POST https://pg1-ai-agent.vercel.app/api/repo-trap \
-H 'Content-Type: application/json' \
-d '{"name":"some-project","files":[{"path":"package.json","text":"..."},{"path":"setup.sh","executable":true,"text":"..."}]}'
PG1 never fetches, decodes or runs anything from the project.
Read the answer
maliciousorsuspicious: don't pass the content to your model and don't run the project. Show the user thefindings(code, line, masked excerpt).no_findings: PG1's rules found nothing. That doesn't prove the content is harmless.
What leaves the user's machine
The text or files you send, used only to answer the call and not stored. Secrets in excerpts are shown as [masked]. Never send keys or seed phrases.
Free and paid
- No key: 25 checks a day per caller. Free key (email only): 500 a day.
- Builder: 9 USD a month for 10,000 checks. Team: 49 USD a month for 100,000 checks.
- Pay per check: 0.002 USD a check via x402 (USDC on Base).
Plans and pricing: https://pg1-ai-agent.vercel.app/pricing · Free key: https://pg1-ai-agent.vercel.app/keys
Built by Project-Gifted1™
