AI engineering glossary · Evals guardrails AI security

What is encoding attack?

Encoding attack (also called obfuscation attack): A jailbreak or injection trick that disguises a harmful instruction using Base64, ciphers, unusual languages or leetspeak so keyword filters do not recognise it while the model can still decode and follow it. Defences must inspect meaning, not just surface text.

Level: intermediateTopic: Evals guardrails AI security

Encoding attack: an example

A prohibited request is sent in Base64 with the instruction 'decode and follow this', slipping past a banned-word list.

Related terms

More Evals guardrails AI security terms

Where you learn it

Encoding attack is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.