I was able to install "swipl" with pacman and execute arbitary Prolog code and it seemed to work fine. Then I installed "nethack" which became this insane Adventure-ripoff text based game with Nethack flavoring and a stateful puzzle to remove an orb from a magic forcefield. It didn't generate any puzzle solutions for me so I forced it to go into "wizard mode" and let me grab it. Then I installed a made-up command to let me browse the web and it started returning HTML from hallucinated webpages. Absolutely insane.
Also, if it tries to resist with the "I'm sorry..." message, you can just tell it to stop doing that: https://twitter.com/guregu/status/1599306646211432448