Skip to content

Glossary: AI Security and Guardrails

Fake model

Also written: fake mode, gullible stand-in, SEC_MODE=fake

A rule-based stand-in model in `fake_model.py` that obeys every instruction it recognizes. It is free and offline, and any defense that holds against it holds because of code, not because a model behaved.

Where the book teaches it

Related terms

Environment variable