Hacker News new | ask | show | jobs
by jszymborski 1160 days ago
It's all fun and games until you get a subprocess.run(["rm", "/", "-rf"]) snuck in there that you fail to notice.
3 comments

1. Definitely don't run it as root.

2. Obv run in sandbox/container.

haha yes it did feel a bit wild just letting this run on my machine!

I wouldn't recommend running it on a script that's supposed to delete files

Hallucinate your data into the AI void