Bỏ qua đến nội dung chính
Back to home
AI Tech 2 min read

Professor's 'Invisible Prompt' Trap Catches 32 Students Cheating with AI

A university professor used invisible text to trap AI chatbots, catching 32 out of 35 students who copied their homework answers directly without verification.

Tier 2 · sources 54% confidence Reviewed
Sources techspot.com

Recently, a university professor implemented an 'invisible prompt trap' in a homework assignment, successfully catching 32 out of 35 students who used AI to cheat. By embedding hidden instructions invisible to the human eye but easily detected by Large Language Models (LLMs), the professor highlighted a concerning reality: students are blindly relying on AI without reviewing the generated content before submission.

Background & Context

The issue of students using tools like ChatGPT or Claude to complete homework is not new. However, detecting AI cheating using traditional detection software often lacks accuracy and easily leads to false accusations.

According to a report from TechSpot, this professor decided to design a more definitive verification method. He noticed that students tend to copy the entire assignment prompt and paste it directly into chatbot input fields for a quick answer, rather than solving it themselves or at least editing the response.

Technical Analysis & Technology

Technically, the invisible prompt trap exploits how LLMs read raw data. The professor embedded a short, unusual text instruction in a white font (matching the background color) or set the font size to zero in the digital assignment file.

To the human eye, this text is completely invisible. However, when a student highlights, copies, and pastes the entire assignment into ChatGPT, the hidden text is copied along as plain text.

The hidden text contained a specific instruction, such as forcing the AI to insert a highly out-of-context keyword like 'unicorn' or a bizarre story into the essay. Because LLMs operate by strictly following prompt instructions, they immediately execute the request without 'questioning' it.

Expert Insights & Observations

The test results were shocking, with 32 out of 35 students submitting assignments containing the exact bizarre keyword. This proves that most students did not just use AI for assistance, but completely outsourced their work to the technology, failing to even read their own assignments before hitting submit.

Many educational experts view this as a wake-up call for current assessment methods. As AI tools become increasingly sophisticated, assigning traditional, open-ended online essays is no longer effective in evaluating students' actual knowledge.

Impact & Future Outlook

This incident highlights the thin line between using AI as a learning aid and abusing it to cheat. In the future, educational institutions will likely need to redesign assessment structures, shifting toward oral exams or highly interactive practical assignments.

For the tech community, this 'prompt trapping' method also opens up new ways to protect content copyright and prevent unauthorized data scraping by AI bots from major tech companies on the internet.