This is a good reminder for why to not download random PDFs. One of the mechanisms of the Pegasus spyware was emulating a computer inside a PDF. https://en.wikipedia.org/wiki/Pegasus_(spyware)#Vulnerabilit...
The vulnerability was in images parsing, and exploit was distributed by sending an imessage to the target. So don't open any images, and don't read imessages. They are also known to use browser exploits, so don't visit random websites. That was sarcasm, in case it's not clear over the internet. Telling people to avoid "suspicious" pdfs/websites is common but ultimately not very useful advice. The real takeaway is: do…
Show HN: Tetris in a PDF
191–200 of 238 posts
Re: Show HN: Tetris in a PDF
#192Re: Show HN: Tetris in a PDF
#193Re: Show HN: Tetris in a PDF
#194Re: Show HN: Tetris in a PDF
#195Re: Show HN: Tetris in a PDF
#196You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…
You need to upgrade your paper that supports a minimum FR of 60hz.
Re: Show HN: Tetris in a PDF
#197Earlier quoted context omitted.
But can your PDF run an AI agent?
> But can your PDF run an AI agent? Oh it's so much worse than that. Your font can run an AI agent. Llama.ttf: A font which is also an LLM -- https://news.ycombinator.com/item?id=40766791
(disclaimer: own work)
Re: Show HN: Tetris in a PDF
#198Despite what people say in the comments here, both browsers really do not let you execute PDF JavaScript willy nilly. Outside of browser environments you are mostly safe anyway because JavaScript is rarely supported, with the big exception being Acrobat. The cleverness of pdftris is not so much Tetris in PDF but how it found its way around the restrictions that browser environments have put up to protect us.
From what I understand pdftris also only works because of user interaction. I think there is no way to run JavaScript in a PDF without user interaction.
Re: Show HN: Tetris in a PDF
#199Re: Show HN: Tetris in a PDF
#200You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…
"The Javascript stops working when printed to physical paper." You need to upgrade your paper that supports a minimum FR of 60hz.