logoalt Hacker News

grey-areatoday at 5:26 AM2 repliesview on HN

Thanks, I’ve seen scripted attacks bypass this sort of hidden input unfortunately (perhaps human assisted or perhaps just ignoring hidden fields).


Replies

jaggederesttoday at 6:39 AM

They often do actually ignore truly hidden fields (input type=hidden) but if you put them "behind" an element with css, or extremely small but still rendered, many get caught. It's similar to the cheeky prompt injection attacks people did/do against LLMs.

show 1 reply
mads_quisttoday at 5:32 AM

Sure, it's really basic of course.