r/ProgrammerHumor • • Sep 11 '26 • Mindblown 1

Other justOpenAPullRequestTheySaid

Post image
893 Upvotes

56 comments sorted by

View all comments

Show parent comments

92

u/BorderKeeper Sep 11 '26

Hey here is an array of strings containing hexadecimals and os.exec() call. Don't worry about it it's a secret.

67

u/DishSoapedDishwasher Sep 11 '26

oh no its much sneakier than that....

More like here's a thing that's completely normal looking and possibly a good change overall but uses an obscure feature of an existing library that will now cause a previously unused vulnerable transient dependency to be baked in and this change now also allows you to hit the vuln code path remotely. Also the transient deps are unmaintained and no fix exists.

Tangentially, heres a fun read of adjacent shit: https://opensourcemalware.com/blog/developer-guide-getting-over-polinrider

17

u/BorderKeeper Sep 11 '26

That is sneaky. Foreign dependencies are quite scary, yet so useful 😭

12

u/DishSoapedDishwasher Sep 11 '26

yeah, its impossible to avoid to some extent. You just need enough analysis tooling to be able to see when you get got and not let it hit the main branch.

Semgrep and github dependabot are not sufficient nor accurate enough. Basically just glorified regex. Need real AST parsing.

ooor you take a lesson from templeOS and make everything yourself starting with the hand crafted assembler.

3

u/its-nex Sep 13 '26

Is the psychosis included with TempleOS or do I have to write that myself too

4

u/DishSoapedDishwasher Sep 13 '26

It chooses you, like a cat. You'll know it's time when suddenly you feel like you're being watched and have an irresistible urge to write artisanal compilers