Professor's invisible prompt trap catches 32/35 students cheating with AI
Summarized by AI from reporting by Hacker News AI, published under our editorial policy.
A professor at a university embedded an invisible, obscure question in an assignment to catch 32 out of 35 students using AI to cheat. The trap exploited AI's tendency to produce generic or incorrect answers to unusual prompts, revealing a simple but effective detection method for educators.

Key takeaways
- A professor caught 32 out of 35 students cheating with AI using an invisible prompt trap.
- The trap involved an obscure question designed to reveal AI-generated answers.
- The professor identified AI-generated work by looking for specific patterns and inconsistencies.
A professor at a university has successfully caught 32 out of 35 students cheating with AI by using an invisible prompt trap. The professor embedded a specific, unusual question in an assignment that was designed to reveal AI-generated answers. When students submitted their work, the professor could easily identify those who had used AI tools to complete their assignments.
How the Invisible Prompt Trap Worked
The professor included a question in the assignment that was intentionally obscure and not something that could be easily found online. The question was designed to be something that a human would know how to approach but that an AI would struggle with or answer in a way that was clearly not human-like. When the submissions came in, the professor could quickly spot the AI-generated answers because they followed a pattern that was different from the human answers.
Results: 32 Out of 35 Students Caught
Out of 35 students, 32 were caught using AI to complete their assignments. The professor was able to identify the AI-generated work by looking for specific patterns and inconsistencies that are common in AI-generated text. The remaining three students submitted work that was either entirely human-written or did not trigger the trap.
Why This Detection Method Matters for Academic Integrity
This incident highlights the growing challenge of detecting AI-generated content in academic settings. As AI tools become more sophisticated, it is becoming increasingly difficult for educators to distinguish between human and AI-generated work. This professor's method shows that even as AI improves, there are still ways to catch those who use it dishonestly.
Practical Advice for Students and Educators
If you are a student, be aware that professors are developing new methods to detect AI-generated work. Always do your own work and understand the material. If you are an educator, consider using similar techniques to ensure the integrity of your assignments. You can start by making your assignments more personalized and less reliant on generic information that AI tools can easily generate.
Frequently asked
- How did the professor catch the students?
- The professor included an obscure question in the assignment that AI tools would struggle with, making it easy to spot AI-generated answers.
- What can students do to avoid being caught?
- Students should always do their own work and understand the material to avoid detection.