• 0 Posts
  • 47 Comments
Joined 28 days ago
cake
Cake day: October 26th, 2025

help-circle

  • Again we’re talking past each other. I’m sure those results are available and I’m aware docker doesn’t verify signatures automatically, but I’m asking how that necessarily makes docker insecure in spite of best practices being implemented. It’s about pinning yourself to trusted digests and having a verification process (like time) before updates. Why would you need authorship verification in that case? If there’s a good answer to that, I’d consider alternatives too. I’m just saying I don’t think it’s inherently insecure over this, and at face value It boils back down to the classic: don’t download untrusted software.


  • You’re making big claims on security here, like “cannot be done,” and each time you do I feel like we’re talking past each other a bit. I never claimed you can verify that the person who pushed the container had access to a private key file. I claimed you can verify the security of a container, specifically by auditing it and reviewing the publisher’s online presence. Best practices. Don’t upgrade right away, and pin digests to those which can be trusted.

    When you pin a digest, you’re not going to get a container some malicious agent force pushed after the fact. You pinned the download to an immutable digest, so hot-swapping the container is out the window. What, as I understand, you’re concerned with is the scenario that a malicious actor (1) compromised the registry login beforehand, (2) you pinned the digest after hand, and (3) the attack is unnoticed by you and everyone else.

    I’m trying to figure out under what conditions this would actually occur, and thus justifies the claim that docker pull is insecure. In a work setting, I only see this being an issue if the process to test/upgrade existing ones is already an insecure process. Can you help me understand why I should believe that, even with best practices in place, Dockers own insecurities are unacceptable? Docker is used everywhere and I’m reluctant to believe everyone just doesn’t care about an unmanageable attack vector.



  • What are you talking about, “yeah that’s the insecurity I’m talking about.”

    I didn’t mention an insecurity and neither have you. Would you mind being a little more clear than “Docker pull is insecure?”

    Frankly, I was expressing confidence in dockers security. It goes without saying though, any user can do insecure things like download from untrusted sources. That’s not dockers problem though, it’s the users.

    Edit: I see now that you added “it’s the download that’s not verified.” Integrity is verified, so I assume you mean authorship (via signing)? I guess you’re saying that, if admin credentials are stolen from a container publisher and the thief force pushes malicious code into the registry under a pre-existing tag—then you would be exposed to that?

    Even in that case, though, a digest cannot be overwritten. Tags can. So you’d just pin the digest to avoid this one attack vector?


  • You can verify the checksum to ensure the contents pulled are exactly the same as what was published. You can also use a private container registry.

    How exactly would docker pull be any more insecure than something like pip install? Or, really anything… Let’s go with your preferred alternative, how are you going to get it on your machine in a more secure way than docker provides?

    Docker uses TLS with registries, layers and manifests have cryptographic digests, checksums, and you can verify the publisher yourself. Push it into your own registry if you want, or just don’t use latest.






  • It’s interesting how the tone of innovation changes. It starts out like “hey, I can do that better than my competitors!” and that’s all fine, doing something better creating market demand and cash influx. But eventually, the innovation looks for shortcuts… enshitification is the word. Cheaper parts, smaller quantities, subscriptions to hardware you buy but never own… There’s a shift from product/service innovation as means to financial growth to purely financially incentivized innovation.

    It reminds me of Marx’s idea that concentration of capital naturally leads to the prominence of financial markets, an indicator of a capitalist economy reaching its “advanced” / crisis-prone phase. The similarity being: there’s an economic shift from industrial investment as means to financial growth to purely financial investment.










  • I’m autistic, my dad was autistic, and my son is autistic. If I may speak, yeah we’re all “smart.” My dad won a state wide chess championship at 14 years old. I build data platforms on small teams where I’m usually the only engineer servicing a handful of analysts. My son has been hyperlexic since he was two years old. Although my son is diagnosed level II autistic, meaning he needs more support in a few places.

    The gotcha in our case is that we’ve got pretty poor social ability, and even worse emotional regulation. We get distracted easily when bored, but we can hyperfocus on one thing for 16 hours while forgetting to eat, sleep, and piss. Also, empathy is difficult/unnatural when we’re frustrated. Self awareness is more a learned skill than a natural one, and we can be egotistical at times.

    My dad was your classic absent dad, unless you count when I had met him at 11yo and we went out drinking/fishing together. Or again when I was 14 and he felt compelled enough to reach out and insult me. Him being “smart” is probably a narrow way of viewing things. We’re really not the life of the party… but “smart?” Sure, I guess, by some basic measures.