Skip to content

Security review: content workers HITL - #7

Merged
cursor[bot] merged 7 commits into
mainfrom
cursor/security-content-audit-b2ac
Nov 24, 2026
Merged

cursor[bot] merged 7 commits into
mainfrom
cursor/security-content-audit-b2ac

Conversation

@m-qm

@m-qm m-qm commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Security & HITL content workers

  • SECURITY-REVIEW.md with H-01–H-12, test matrix, operator checklist
  • Worker prompts in examples/content-ads-brain/brain/agents/
  • Mitigations: blog-search-gap glob, Telegram copy, .gitignore for agents

Remote MCP auth (H-11)

  • POST /mcp requires Authorization: Bearer <MCP_API_KEY> (fail closed)
  • Auth in apps/web/lib/mcp-auth.ts; route exports only Next handlers
  • scan_business_website: readOnlyHint: false
  • Tests: apps/web/app/mcp/route.test.ts (T11)
  • Docs: learn/14, .env.example, hero copy + MCP link

Web copy

  • Simplified home hero (EN/ES): wizard + check CTAs, three pillars

Operator (after merge)

  1. MCP_API_KEY in Vercel (done by owner) → redeploy production from main
  2. Clients: claude mcp add … --header "Authorization: Bearer $MCP_API_KEY"

Open

  • H-11c rate limits (infra decision, brain/open-questions.md)
Open in Web Open in Cursor 

Document article/LinkedIn worker permissions, injection surface, and test
matrix. Version worker prompts under examples/content-ads-brain/brain/agents.
Remove production blog paths from blog-search-gap globs; clarify Telegram
approval does not publish.

Co-authored-by: m-qm <m-qm@users.noreply.github.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
agentkbase Ready Ready Preview Nov 24, 2026 10:57am UTC
agentkbasre Ready Ready Preview Nov 24, 2026 10:57am UTC

cursoragent and others added 6 commits November 24, 2026 10:15
Gate remote MCP with constant-time Bearer check (fail closed when
MCP_API_KEY is unset). Correct scan_business_website readOnly hint.
Add route auth tests and update SECURITY-REVIEW for H-11/H-02.

Co-authored-by: m-qm <m-qm@users.noreply.github.com>
Add apps/web/.env.example, update learn/14 (EN+ES), distribution
facts, open questions (H-11c), wizard snippets, and SECURITY-REVIEW
operator checklist for Vercel + Claude --header.

Co-authored-by: m-qm <m-qm@users.noreply.github.com>
Co-authored-by: m-qm <m-qm@users.noreply.github.com>
Next.js route files may only export handlers. Auth helpers live in
lib/mcp-auth.ts; tests import that module directly.

Co-authored-by: m-qm <m-qm@users.noreply.github.com>
Owner-focused headline, wizard + check CTAs, and security-aware pillars.

Co-authored-by: m-qm <m-qm@users.noreply.github.com>
Co-authored-by: m-qm <m-qm@users.noreply.github.com>
@cursor
cursor Bot merged commit 87d948d into main Nov 24, 2026
4 checks passed
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.

2 participants