{
  "schema_version": "1.1",
  "id": "auto-29474900b2",
  "slug": "we-let-an-ai-agent-execute-bash-and-lived-to-talk-about--29474900b2",
  "url": "https://feed7.dev/p/we-let-an-ai-agent-execute-bash-and-lived-to-talk-about--29474900b2",
  "title": "We let an AI agent execute Bash and lived to talk about it — Sarah Sanders, PostHog",
  "why_included": "For command-capable agents, deny Bash by default, keep secrets out of context, and scan both incoming context and generated output.",
  "summary": "PostHog treats every context source as part of an agent’s supply chain, scanning at build and use time while reserving blocking decisions for deterministic controls.",
  "practical_implication": "For any agent that can execute commands, make Bash deny by default, keep secrets outside model context, and scan both incoming context and generated output. Enforcement should remain deterministic; an LLM may triage noise only after mechanical rules have decided not to block.",
  "agent_context": "PostHog’s setup agent runs for about **8,000 users per week** and consumes docs, prompts and example apps as skill bundles. Its threat model includes poisoned first-party content, so inputs are scanned when skills are built and again when the agent uses them.\n\nFor any agent that can execute commands, make Bash **deny by default**, keep secrets outside model context, and scan both incoming context and generated output. Enforcement should remain deterministic; an LLM may triage noise only after mechanical rules have decided not to block.\n\nPostHog reports almost no malicious prompt injection found in the wild and many false positives. Rule quality therefore depends on positive and negative tests, impact-based severity, telemetry and layered controls; no individual scanner or sandbox is sufficient.",
  "source": {
    "name": "AI Engineer",
    "url": "https://www.youtube.com/watch?v=4lXks428C9o",
    "published_at": "2026-09-14T00:00:00.000Z"
  },
  "source_class": "video",
  "content_type": "Video",
  "layer": "agent",
  "domains": [
    "coding",
    "security"
  ],
  "topics": [
    "harness-engineering",
    "sandboxing",
    "agent-reliability"
  ],
  "verification": {
    "status": "source_linked",
    "label": "Source Linked",
    "method": "source_feed",
    "verified_at": null
  },
  "uncertainty": [],
  "connected_context": null,
  "lifecycle": "New",
  "published_at": "2026-09-14T00:00:00.000Z",
  "modified_at": "2026-09-14T00:00:00.000Z",
  "supersedes": [],
  "expires_at": null,
  "formats": {
    "html": "https://feed7.dev/p/we-let-an-ai-agent-execute-bash-and-lived-to-talk-about--29474900b2",
    "json": "https://feed7.dev/p/we-let-an-ai-agent-execute-bash-and-lived-to-talk-about--29474900b2.json",
    "markdown": "https://feed7.dev/p/we-let-an-ai-agent-execute-bash-and-lived-to-talk-about--29474900b2.md"
  }
}