SECAI Core · phase 12 of 15

Command-line interface

A text-based interface between the user and the operating system that accepts input in the form of commands.

The Explain card

Plain English
A CLI is a text-based way to talk to a computer. You type a command, the system runs it and prints the result, with no buttons or windows involved.
Example
A security engineer runs a model-scanning tool from the terminal to check a downloaded model file for unsafe serialised code before loading it, then pipes the output into a report script.
Why it matters
Most AI tooling, from training scripts to agent frameworks, is driven from the command line. When an AI agent is given shell access, every command it can type is a capability an attacker may try to borrow.
Hook
No clicks, just commands: powerful, scriptable, and dangerous in the wrong hands.

Where it sits in the deck

Phase 12: Defensive Technologies and Secure Development Practices

Map defences directly to the attacks just catalogued — the technical controls, secure coding practices, and protective tools that harden AI and traditional systems alike.