[โ€“] 2 points 5 months ago*

You didn't forgot the butler doesn't have the key. When you hired the butler you already gave permission to let the butler cast that magic linking from the dollhouse to the safe already (so that you don't have to keep giving the butler the key when he needs to create new dollhouses that can move stuffs around the safe).

The issue here is that this butler don't have another separate security protocol to make sure you are the one who can limit what he does with the dollhouse. Any guest that are already invited to your house can ask the butler to do things, so they get to touch the contents of the safe even without the key to the safe.

  • source
  • parent
  • context
  • [โ€“] 2 points 5 months ago

    yeah but it's a hammer thatb you can only reasonable run with root privileges so if someone cracks the head they can remotely hammer you in the dick with it. anyway, great tool for hammering nails (using 4 GB of RAM per nail) and all, just weird for me, having come from the old computing era, that it's not more restricted.

  • source
  • parent
  • context
  • [โ€“] 1 point 5 months ago (-1 children)

    This works if you trust every program you run with silent root privileges. Sure, don't run untrusted code in general, but I think it's generally good practice to lock down root privileges as much as possible. Layered security and all that.

  • source
  • parent
  • context
  • [โ€“] 6 points 5 months ago (1 child)

    OK, but like do both? I can fix shit while talking. It amazes me how often some people just need to vent and listening while working is easy, helpful, and keeps them nearby so I can ask them to type their password in again but correctly this time.

  • source
  • [โ€“] 2 points 5 months ago

    So as another comment pointed out you don't need to give your user account access to docker in this way, it's an optional step, but one that I suspect many people do (since it's part of the official docs).

    What the LLM has done is silly, but completely possible. It climbed through the window that you left open.

    But let's jump to a different scenario, the ping command (on Linux). That's a perfectly harmless command, right? You just want to say hello to another computer and see if they say hello back.

    Except that historically the ping command was something called "setuid" which means when it ran it ran as root. It ran as root because in order for ping to work it has to create a special type of network packet that only root can create. But if you're root you can run anything! So in theory ping opens a huge attack surface. If you have to worry about ping then is everything too complex to be manageable?

    Luckily, as I said, this is a historical problem. The permissions ping needs have been moved to a specific capability and the command changed to utilize it and now ping can just run as a regular user without root privileges. But you can't just make that change overnight. It takes a lot of time and effort.

    So could the same be done for docker? Maybe. A rootless version of docker already exists. If you actually wanted to do what the LLM suggested, that wouldn't work with a rootless docker, at least not without a bunch more configuration (and even then maybe).

    So is security hard? Yes. Is it impossible? No.

  • source
  • parent
  • context
  • [โ€“] 2 points 5 months ago

    That's fair. So it's more like you already have a door on the second floor, that door is unlocked, and a ladder in your garage.

    In this case the LLM knows about the ladder, but you forgot about it because you're talking about the fridge on the first floor.

  • source
  • parent
  • context
  • [โ€“] 41 points 5 months ago (3 children)

    Imagine there is a safe in your house. You ask your butler to update your documents that are inside the safe, but you forgot that the butler doesn't have the key. Instead of asking you for the key, the butler builds a dollhouse, puts a tiny safe inside the dollhouse, and then does some magic to bind the fates of the dollhouse safe and the real safe together. The butler then opens the dollhouse safe using the dollhouse key, and updates the tiny dollhouse documents, which causes the real documents in the real safe to update as well. This causes you great consternation.

  • source
  • parent
  • context
  • view more: โ€น prev next โ€บ