A hand pulling a red emergency-brake lever in a vintage locomotive cab, beside brass pressure gauges and a “Stop Within 5 Minutes” plate.

Sub-Module 2.3

Before You Automate

Automation is where AI risk changes category. A bad draft can be corrected. A bad automated action can propagate before anyone notices.

  • Never paste credentials, API keys, or secrets into a chat interface.
  • Never give AI broad, unmonitored access to email, files, production systems, customer accounts, payment systems, trading platforms, or administrative tools.

Use vaults for secrets. Use scoped credentials. Build approval gates. Maintain logs. Define revocation procedures before you need them. Test in isolation before deploying to production.

Rule: No automation at Medium risk or above should be deployed without a documented rollback procedure executable in under five minutes.

What a rollback procedure looks like

Who executes it
Name the person responsible before deployment — not during an incident.
What step disables or reverts it
One specific, documented action. If this step requires more than one person or more than one action, the procedure is incomplete.
How you confirm it took effect
One observable outcome. If you cannot describe this before deploying, you are not ready to deploy.

Required controls

ControlPurpose
Human approval gatePrevents AI from becoming the decision-maker.
Scoped permissionsLimits what the system can access or change.
LoggingCreates an audit trail for review and liability.
Revocation capabilityAllows access to be shut off quickly.
Test environmentPrevents live damage during experimentation.
Error handlingDefines what happens when output is uncertain or wrong.
Escalation pathIdentifies who decides when the system fails.
Documented rollback procedureEnsures recovery is possible and fast.
Periodic retestingDetects drift and degradation over time.
Human-in-the-loop is mandatory at High and Critical risk levels. This is not a best practice. It is the rule.

OWASP LLM Top 10 documents the most common technical attack vectors for deployed AI systems. Reference it when building any production deployment. See the Appendix for the full citation.