Least privilege, research/action split: lessons from a sales agent that faced prompt injection

Adept_Direction2591 · reddit · 2026-10-21

The author of Lunaar's sales agent shares three design principles: least privilege per bot (triage reads mail but can't send; outreach drafts but never sends without approval), separating research from action (the action bot only sees structured summaries, never raw scraped pages — cutting prompt injection risk), and deterministic scheduling in code. The burn: an early version let page content flow straight into the drafting prompt. Lesson: treat all scraped/inbox content as untrusted input.

Original post →

More from coding & agent

coding & agent channel →