Skip to content
MoorAI
02 — attack concepts

Living off the AI

An intruder who already runs code on a machine uses the AI tooling installed there — the coding agents, their API keys, local model servers — instead of bringing tools of its own. Its work then looks like ordinary activity from trusted programs, for the same reason living-off-the-land attacks use built-in system utilities. Detecting it means asking who started the agent and who is using its keys, not only what the agent did.

How MoorAI handles it: Four detectors: an AI coding CLI started by an unexpected parent program (alert, or block by policy), a decoy AI key being used (Critical), a local model server reachable without MoorAI, and an unknown program calling an AI provider API.

Related terms

  • Decoy credential Defence & response

    A credential that looks real but is never used by any legitimate process — a fake API key, cloud key or token placed where an intruder or a misled agent…

  • Shadow AI Attack concepts

    AI tools, agents, models and MCP servers in use without the security team's knowledge or approval: a developer's own coding agent, a chatbot fed…

  • Non-human identity Agents & architecture

    An identity used by software rather than a person — a service account, API key, OAuth token, certificate or workload identity — usually backed by a secret…

Attack concepts

The mechanisms the families above exploit, plus the agent-specific ones that have no chatbot equivalent. If you only read one entry on this page, read indirect prompt injection.

Living off the AI is term 15 of 17 in this part of the glossary.

Get started free Full glossary → How we test → Community agent on GitHub ↗

This page is one entry from the agentic AI security glossary, which defines 82 terms in the same style. Where a term belongs to a published taxonomy or standard — the HackAgent attack families, the OWASP lists, AMTSO's guidelines, MITRE ATLAS, ISO/IEC 42001, the NIST AI RMF, the EU AI Act, W3C Trace Context, the MCP specification — the authoritative wording is the source document's, not ours, and specifics should be verified there. "Lethal trifecta" is Simon Willison's term. OWASP® is a trademark of the OWASP Foundation; ATT&CK® and ATLAS™ are trademarks of The MITRE Corporation. Naming a framework here is description, not a claim of certification or endorsement.