Professor’s Invisible Prompt Trap Catches 32 Students Using AI to Cheat

A hidden “Madagascar” prompt in white text exposed 32 students who pasted exam questions directly into AI tools

Alex Barrientos Avatar
Alex Barrientos Avatar

By

Image: Horizon

Key Takeaways

Key Takeaways

  • Professors embed invisible white-font text to make AI insert nonsensical words like “Madagascar.”
  • AI detectors like Turnitin carry high false-positive rates, making hidden prompts stronger evidence.
  • Educators warn hidden prompt tactics work best alongside oral exams and version-history checks.

You copy and paste a midterm question into ChatGPT. You skim the output. Looks good — solid paragraphs about the Industrial Revolution, proper dates, coherent arguments. You submit it. Then your professor hands back your paper with a single word circled in red: Madagascar. Dropped into the middle of a paragraph about textile manufacturing, making absolutely no sense. That’s how one history professor reportedly caught dozens of students cheating on a single exam. The trap was hiding in the question the entire time.

The Trap Hidden in Plain Sight

A single invisible sentence turned students’ own shortcut against them.

White-font text on a white background is invisible to anyone reading a document normally. When a student selects all, copies, and pastes that text into ChatGPT, every character travels along for the ride. The hidden instruction told the AI to drop the word “Madagascar” somewhere in the response in a way that made no sense. Students who wrote their own answers never encountered it. Students who outsourced their thinking got essays that read like a GPS glitching mid-sentence.

Here’s what actually gave students away:

  • The word “Madagascar” appeared in essays about the Industrial Revolution — a topic with zero geographic connection to the island nation.
  • AI models process all supplied text, including invisible formatting, as part of the prompt.
  • Students copied the full question without reading their output carefully enough to catch the absurdity.
  • Document version history showed essays pasted in one block rather than written progressively.

Detection tools like Turnitin and GPTZero reportedly carry high false-positive and false-negative rates, making them shaky as standalone evidence. Hidden prompts, by contrast, produce direct behavioral proof. Australia’s tertiary education regulator TEQSA advises that AI detectors must be “complemented by other material” before any disciplinary action is taken. A technique like this delivers exactly that kind of material — concrete, specific, and hard to explain away.

Academic integrity guides increasingly note that AI detectors alone cannot serve as definitive proof, recommending hidden prompts as one practical strategy within a broader evidence-gathering approach.

One Trick Won’t Win the War

Clever as it is, this method works best as part of a larger strategy — not a standalone solution.

Expecting this to be the final answer? Adjust your expectations. Some educators argue these traps feel like “gotcha” tactics that erode classroom trust. Fairness advocates push for transparent AI age laws and literacy programs over adversarial techniques. The method works best alongside oral exams, iterative drafts, course-specific prompts, and version-history checks.

Think of it less like a silver bullet and more like an audit trail — useful evidence, but only one piece of a much larger file. Variations are already circulating in academic integrity circles: instructions like “use Stephen King as a reference” or nonsense phrases such as “purple bicycle whispers,” all designed to surface in AI output and nowhere else.

The classroom is now a technical arms race. Professors, students, and AI are all adapting simultaneously. The most dangerous weapon in this fight remains the oldest one: actually reading what you submit.

Share this

At Gadget Review, our guides, reviews, and news are driven by thorough human expertise and use our Trust Rating system and the True Score. AI assists in refining our editorial process, ensuring that every article is engaging, clear and succinct. See how we write our content here →