this post was submitted on 16 Jul 2025
279 points (99.6% liked)

Saturday Morning Breakfast Cereal

848 readers
74 users here now

Posts and discussion about the webcomic Saturday Morning Breakfast Cereal by Hugo Award-winning author Zach Weinersmith (and related works)

https://www.smbc-comics.com/

https://www.patreon.com/ZachWeinersmith

@ZachWeinersmith@mastodon.social

New comics posted whenever they get posted on the site, and old comics posted every day until we catch up in a decade or so

founded 9 months ago
MODERATORS
 

http://www.smbc-comics.com/comic/prompt

Alt textSuddenly wondering if someone has already done this.

Bonus panelBonus panel

you are viewing a single comment's thread
view the rest of the comments
[–] ech@lemmy.ca 22 points 1 week ago* (last edited 1 week ago) (5 children)

Wouldn't the students just copy-paste the bit they can see? How does the hidden part get included?

[–] djsoren19@lemmy.blahaj.zone 28 points 1 week ago

The funny thing about students who use AI to cheat on their papers is that they aren't very smart and are prone to making stupid mistakes.

[–] BradleyUffner@lemmy.world 15 points 1 week ago (1 children)

The hidden part is in the middle somewhere. Most likely hidden in a paragraph break. That way they include it when selecting all the visible text.

[–] BananaIsABerry@lemmy.zip 1 points 1 week ago (2 children)

Why would an essay assignment have multiple paragraphs of instructions?

[–] BradleyUffner@lemmy.world 9 points 1 week ago

To make it easy to hide the prompt injection between the paragraphs 😁

[–] tmyakal@infosec.pub 2 points 1 week ago

I've definitely had English essays that were like, "read the short story presented below and then explain how the author used literary devices to express their purpose."

[–] kokope11i@lemmy.world 9 points 1 week ago (3 children)

Control-a, control-c, control-p

Select all, copy, paste

[–] USSMojave@startrek.website 20 points 1 week ago (1 children)
[–] Hawke@lemmy.world 10 points 1 week ago* (last edited 1 week ago) (1 children)
[–] tomenzgg@midwest.social 1 points 1 week ago (1 children)
[–] Rekorse@sh.itjust.works 4 points 1 week ago (1 children)

I use it in command line where control v won't work.

[–] tomenzgg@midwest.social 1 points 1 week ago (1 children)

Ahh; 🧠. I usually just use ctrl + shift + v but that could come in handy where the other binding isn't available.

[–] Rekorse@sh.itjust.works 3 points 1 week ago (1 children)

Well now I have another way to paste, thanks!

[–] Nalivai@discuss.tchncs.de 2 points 1 week ago

ctrl + shift + v is usually "paste as a plain text", if your setup supports copy-paste the text attribtutes

[–] atlas@sh.itjust.works 10 points 1 week ago

but ctrl + p prints

[–] ech@lemmy.ca 4 points 1 week ago* (last edited 1 week ago) (1 children)

Then paste would reveal all the copied text though, including the previously hidden instruction.

[–] 0k_@lemmy.world 10 points 1 week ago

Yeah, if they even bother to read it.

[–] Forester@pawb.social 3 points 1 week ago* (last edited 1 week ago)

Easiest method would be to just make the instructions as two paragraphs and type the prompt in size 1 white font between the paragraphs. As far as the document is concerned it would read as one paragraph. Set the font to white size 1.
(InjectionPrompt goes here) Now that you have read the above instructions, please write your full report below of how you implement this new technology. Lorm ipsum yada yada yada

If you wanted to be very devious you could probably write, write the entire prompt in whitespace. But I kind of wonder if the ai would be able to notice it

https://en.m.wikipedia.org/wiki/Whitespace_(programming_language)

[–] Buddahriffic@lemmy.world 2 points 1 week ago

Could even just ask the AI to describe what they need to do if they are just giving it the file link. At this point, you could probably even just tell it to be aware of AI traps in the prompt (though an experiment with gpt 4-o mini just ignored the prompt to ignore anything out of context).