top | item 46268679

(no title)

hurturue | 2 months ago

there's an infinite amount of ways to delete a file. deny listing commands doesnt work.

python3 -c "import os; os.unlink('~/.bashrc')"

discuss

order

skeledrew|2 months ago

Choose whitelisting over blacklisting, like making your own tools that you give to it, and allow nothing else.

simlevesque|2 months ago

Let us know when your allowlist is done.

alexfoo|2 months ago

Choose racially neutral terminology…

allowlist and denylist (or blocklist)

sunaookami|2 months ago

Of course there are many ways but LLM don't use them. They use standard commands and you will get a confirmation prompt in the terminal where you can deny and you are thrown back into prompting.

nicolaslem|2 months ago

They do get really creative to achieve their goals. Claude Code routinely uses these kind of one liners.