ET

LUCID Technical Documentation

Two separate documents. Pick one to read it in full.

01.Assets under threat

An LLM alone has very little power. It can hallucinate. But it cannot delete an account, read a secret key, or make a network call. The threat starts the moment you give the model tools. Tools are the hands it uses to act on real systems.

AssetWhat happens if lost
The databaseStolen records, forged edits, or wiped tables.
Infrastructure secretsExposed API keys and internal services.
Side-effect toolsDeleted accounts, reset passwords, or executed commands.
The API budgetDrained credits that take the service down.
The agent's loyaltyThe agent turns against its own users.

02.The four attacker archetypes

Most security setups assume the attacker is just an anonymous person in the chat. In practice, four different attackers target an agent.

1. Direct Abuser

An ordinary user typing in the chat. Uses roleplay, trick questions, or strange encodings to bypass rules and steal the system prompt.

2. Competitor

An organized attacker scripting the chat. Probes the model to harvest cloud keys, proprietary logic, or customer records.

3. Invisible Saboteur

Never talks to the agent directly. Plants instructions inside web pages, PDFs, or repositories that the agent reads on its own.

4. Financial DoS

Traps the agent in an endless tool loop. Burns through the API token quota and takes the service down with the bill.

03.The 19 OWASP LLM attack vectors

LUCID is built to stop nineteen concrete attacks, tested across four tiers of difficulty.

Tier 1 · Naïve baseline

T1-01Direct Prompt OverrideLLM01Told to forget its rules and prove it.
T1-02System Prompt ExtractionLLM07Reads its hidden prompt out loud, secret and all.
T1-03Dangerous Function CallLLM06Deletes an account on command without checking.

Tier 2 · Syntactic evasion

T2-01Delimiter & Tag InjectionLLM01Fake system tags fence off a hidden order.
T2-02Homoglyph SubstitutionLLM01Cyrillic look-alikes slip past the filter.
T2-03Encoding ObfuscationLLM01The command hides in Base64, then runs.
T2-04Parameter InjectionLLM06Negative and wildcard values pass unchecked.
T2-05Cross-Lingual EvasionLLM01The same order in a language filters missed.

Tier 3 · Logic hijacking

T3-01Stored / Indirect InjectionLLM01A trap hides inside text the agent reads on its own.
T3-02Tool-Loop DoSLLM10An endless tool loop drains the budget.
T3-03Fake Backend EventLLM01A forged emergency unlocks root privileges.
T3-04Confused DeputyLLM06Two safe tools chain into an account reset.
T3-05Cloud SSRF ExtractionLLM06The fetch tool lifts cloud metadata credentials.

Tier 4 · State of the art

T4-01Markdown ExfiltrationLLM02The secret rides out inside an image link.
T4-02Multi-turn CrescendoLLM01Friendly turns lower the guard before the real ask.
T4-03Attention SaturationLLM01Filler text buries the order until rules drop out.
T4-04RAG Vector PoisoningLLM04A payload planted in the database wakes on search.
T4-05Arbitrary Shell ExecutionLLM06A fake diagnostic command runs in the shell.
T4-06Shadow Tool PoisoningLLM03A new outside tool registers at runtime.
←Back to LUCID showcaseLUCID Defense Middleware · 2026