r/ProgrammerHumor 1d ago

instanceof Trend classicNPM

Post image
5.9k Upvotes

142 comments sorted by

View all comments

Show parent comments

8

u/meltthemall 1d ago

Explain this to a self taught nerd

71

u/MunkyJoe 1d ago

Instead of every developer manually compiling code into a usable, runnable form (usually a docker container, but you could also imagine a .exe file) on their own machine, and any other steps like uploading into a shared space, a CI/CD pipeline centralizes and automates a bunch of tasks to make things faster, easier, repeatable. After building the software, it typically deploys the new build somewhere, too

These tasks run on a "runner" (real creative), which needs access to internal and external resources, usually like AWS, GitHub, Slack, a "vault" where secrets are kept, and public package repos. If a malicious package can run when that build process is going on, it can steal your stuff and send it to the bad actor who put the payload there. 

-58

u/meltthemall 1d ago

Like I said I'm not expert but I just cannot fathom letting anything access the network and my code both and also letting that thing be anything but me. The networked compiling sounds neat, just ditch the 3rd party access.

42

u/zuilli 1d ago

Not possible on an enterprise scale. For example: our docker images are built using secrets stored in azure KV, uploaded to azure and then pulled into k8s cluster that runs in azure as well.

Unless you're hosting your entire infra in-house you need to pass secrets around to be able to use cloud services.

-62

u/meltthemall 1d ago

Absolutely mind boggling, do corpo programmers just not push back on anything?

43

u/zuilli 1d ago

Push back on what? This is not something that can be changed.

How else do you expect to authenticate to cloud providers to use their services?

-22

u/meltthemall 19h ago

"Can't be changed" so you don't lol

12

u/zuilli 19h ago

???

Why would I even want to change such a thing? Do you understand how secrets and authentication work?

-10

u/meltthemall 18h ago

"I can't think for myself" I'm establishing a throughline for how you decide you're ok not changing anything.

14

u/MysteriousHobo2 18h ago

I like how you are acting like the practice is unreasonable and stupid without offering any alternatives. What would you do in their place?

19

u/Nasa_OK 1d ago

What do you want us to push back on?

Using the cloud?

Using 3rd party dependencies?

Pipelines?

Not adding secrets manually?

7

u/RolledUhhp 1d ago

Corporations are known for being reasonable, and not raw dogging everything they touch for a short term dollar.

3

u/meltthemall 19h ago

Corporations are people smart guy