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

Saturday Morning Breakfast Cereal [Moved to discuss.online]

962 readers
1 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 2 years 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 21 points 11 months ago* (last edited 11 months 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 27 points 11 months 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 14 points 11 months 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 11 months ago (2 children)

Why would an essay assignment have multiple paragraphs of instructions?

[–] BradleyUffner@lemmy.world 10 points 11 months ago

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

[–] tmyakal@infosec.pub 2 points 11 months 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 11 months ago (3 children)

Control-a, control-c, control-p

Select all, copy, paste

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

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

[–] tomenzgg@midwest.social 2 points 11 months 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 11 months ago (1 children)

Well now I have another way to paste, thanks!

[–] Nalivai@discuss.tchncs.de 2 points 11 months 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 11 months ago

but ctrl + p prints

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

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

[–] 0k_@lemmy.world 10 points 11 months ago

Yeah, if they even bother to read it.

[–] Forester@pawb.social 3 points 11 months ago* (last edited 11 months 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 11 months 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).