this post was submitted on 20 Oct 2023
1553 points (98.9% liked)

Programmer Humor

32464 readers
309 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] residentmarchant 234 points 1 year ago (4 children)

There's no way the model has access to that information, though.

Google's important product must have proper scoped secret management, not just environment variables or similar.

[–] nomecks 111 points 1 year ago (4 children)

There's no root login. It's all containers.

[–] SpaceNoodle 54 points 1 year ago (1 children)

It's containers all the way down!

[–] RealFknNito 33 points 1 year ago (1 children)
[–] [email protected] 14 points 1 year ago (1 children)

I deploy my docker containers in .mkv files.

[–] residentmarchant 13 points 1 year ago (2 children)

The containers still run an OS, have proprietary application code on them, and have memory that probably contains other user's data in it. Not saying it's likely, but containers don't really fix much in the way of gaining privileged access to steal information.

[–] [email protected] 19 points 1 year ago (2 children)

That's why it's containers... in containers

It's like wearing 2 helmets. If 1 helmet is good, imagine the protection of 2 helmets!

[–] [email protected] 9 points 1 year ago (1 children)

So is running it on actual hardware basically rawdoggin?

[–] [email protected] 6 points 1 year ago

Wow what an analogy lol

[–] [email protected] 6 points 1 year ago (1 children)

What if those helmets are watermelon helmets

[–] [email protected] 2 points 1 year ago

Then two would still be better than one 😉

[–] [email protected] 5 points 1 year ago

The OS in a container is usually pretty barebones though. Great containers usually use distroless base images. https://github.com/GoogleContainerTools/distroless

[–] Venat0r 9 points 1 year ago (2 children)

The containers will have a root login, but the ssh port won't be open.

[–] [email protected] 4 points 1 year ago

I doubt they even have a root user. Just whatever system packagea are required baked into the image

[–] [email protected] 2 points 1 year ago

Containers can be entirely without anything. Some containers only contain the binary that gets executed. But many containers do contain pretty much a full distribution, but I have yet to see a container with a password hash in its /etc/shadow file...

So while the container has a root account, it doesn't have any login at all, no password, no ssh key, nothing.

[–] SpaceNoodle 7 points 1 year ago (1 children)

It does if they uploaded it to github

[–] residentmarchant 6 points 1 year ago

In that case, it'll steal someone else's secrets!

[–] [email protected] 4 points 1 year ago

Still, things like content moderation and data analysis, this could totally be a problem.

[–] Ziglin 1 points 1 year ago

But you could get it to convince the admin to give you the password, without you having to do anything yourself.