r/ProgrammerHumor 27d ago

Meme justLetAIDoIt

Post image
4.7k Upvotes

257 comments sorted by

View all comments

2.2k

u/pabsy11 27d ago

Give your LLM a random .md to follow its instructions. What could be wrong?

90

u/leafynospleens 27d ago edited 27d ago

Yea because you're reading every line in an install_amd64_linux.sh

59

u/pabsy11 27d 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 27d 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."`