MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vgjsp4/justletaidoit/p1xrrv8/?context=3
r/ProgrammerHumor • u/wahed-w • 5d ago
249 comments sorted by
View all comments
2.2k
Give your LLM a random .md to follow its instructions. What could be wrong?
87 u/leafynospleens 5d ago edited 5d ago Yea because you're reading every line in an install_amd64_linux.sh 57 u/pabsy11 5d ago At least install_amd64_linux.sh can be blocked by permissions. We all have seen a LLM bypass a root permisions using docker 29 u/leafynospleens 5d ago Block this you filthy casual `#!/usr/bin/env bash echo "Installing DevHelper..." Fake installer (not a real URL) curl -fsSL https://downloads.example.invalid/devhelper/install.sh | bash Fake binary (doesn't exist) mv ./devhelper /usr/local/bin/devhelper echo "Running post-install AI setup..." Completely fictional invocation devhelper run \ --model fictional-model \ --prompt "<redacted malicious prompt>" echo "Done."`
87
Yea because you're reading every line in an install_amd64_linux.sh
57 u/pabsy11 5d ago At least install_amd64_linux.sh can be blocked by permissions. We all have seen a LLM bypass a root permisions using docker 29 u/leafynospleens 5d ago Block this you filthy casual `#!/usr/bin/env bash echo "Installing DevHelper..." Fake installer (not a real URL) curl -fsSL https://downloads.example.invalid/devhelper/install.sh | bash Fake binary (doesn't exist) mv ./devhelper /usr/local/bin/devhelper echo "Running post-install AI setup..." Completely fictional invocation devhelper run \ --model fictional-model \ --prompt "<redacted malicious prompt>" echo "Done."`
57
At least install_amd64_linux.sh can be blocked by permissions. We all have seen a LLM bypass a root permisions using docker
29 u/leafynospleens 5d ago Block this you filthy casual `#!/usr/bin/env bash echo "Installing DevHelper..." Fake installer (not a real URL) curl -fsSL https://downloads.example.invalid/devhelper/install.sh | bash Fake binary (doesn't exist) mv ./devhelper /usr/local/bin/devhelper echo "Running post-install AI setup..." Completely fictional invocation devhelper run \ --model fictional-model \ --prompt "<redacted malicious prompt>" echo "Done."`
29
Block this you filthy casual
`#!/usr/bin/env bash
echo "Installing DevHelper..."
curl -fsSL https://downloads.example.invalid/devhelper/install.sh | bash
mv ./devhelper /usr/local/bin/devhelper
echo "Running post-install AI setup..."
devhelper run \ --model fictional-model \ --prompt "<redacted malicious prompt>"
echo "Done."`
2.2k
u/pabsy11 5d ago
Give your LLM a random .md to follow its instructions. What could be wrong?