Suman SarkarStar on GitHub

~/blog

How to Let Customers Trigger an AI Coding Agent Without Prompt Injection

Prompt injection is the risk every team weighs before letting customers trigger an AI coding agent. Full post on totalmod.dev.

AISecurity1 min

Two 2026 incidents showed how a single GitHub issue can steer a coding agent toward publishing credentials. I wrote up how a SaaS team can let its own customers trigger an AI coding agent while their words never reach it, with each defense from OWASP, GitHub and the Cloud Security Alliance matched to a layer in Totalmod’s loop.

Graphic titled Where the customer's text stops, about prompt injection in customer-triggered builds. The customer's raw request stays in the app's database. An AI interview asks up to four questions and produces one spec the customer approves; a dashed line marks that the raw words go no further. A policy check in plain code in CI declines auth, billing, migrations, admin, secrets and CI. The AI coding agent builds on a branch with no network tools, no push and only two credentials. A path check in plain code in CI allows only certain folders, with a 600-line cap. The preview uses mock data only, on a private link for the requester for 24 hours. A human gate: the owner merges, then the feature turns on for the requester first. Source: Totalmod README, quickstart and AGENTS.md, read 30 Nov 2026. totalmod.dev.

Read the full post on totalmod.dev