this post was submitted on 17 May 2026
28 points (100.0% liked)

Security

2098 readers
1 users here now

A community for discussion about cybersecurity, hacking, cybersecurity news, exploits, bounties etc.

Rules :

  1. All instance-wide rules apply.
  2. Keep it totally legal.
  3. Remember the human, be civil.
  4. Be helpful, don't be rude.

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS
top 8 comments
sorted by: hot top controversial new old
[โ€“] ultimate_worrier@lemmy.dbzer0.com 8 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

The solution is simple: stop using Github actions. If you simply must run CI, run it on a local machine or VM that is sandboxed.

[โ€“] Maxxie@piefed.blahaj.zone 5 points 3 weeks ago (1 children)

Running actions on your own machine doesn't solve cache poisoning or supply chain attacks, your VM will download compromised npm package or github actions the same way GH runner does.

Version pinning/script disabling makes a compromise slightly less likely, rolling your own package server helps a lot (but who got time to maintain version whitelist).

Honestly the best solution is to have minimum amount of dependencies. You don't need a GH action to ping indexers or generic foreign key library for your backed, hammer one yourself.

That and scope all your keys so the leak won't be as devastating ๐Ÿคทโ€โ™€๏ธ

[โ€“] lauha@lemmy.world 3 points 3 weeks ago (2 children)

Honestly the best solution is to have minimum amount of dependencies.

Isn't this a sane practice in programming anyway? Just don't go overboard with dependency minimalism.

[โ€“] Piatro@programming.dev 2 points 3 weeks ago (1 children)

Yes but the reality of JavaScript codebases is that you'll typically import hundreds if not thousands of dependencies fairly quickly. Last time I looked at the UI codebase at my job it was sitting at over 40k.

[โ€“] lauha@lemmy.world 2 points 3 weeks ago

That's one of the reasons) why JS development is the shitshow it is.

[โ€“] Maxxie@piefed.blahaj.zone 1 points 3 weeks ago

IDK how other people are, but to me solving a problem with a single #include just feels right. Less code to maintain, responsibility is shifted to a dedicated person, obviously much faster.. But also constant anxiety and daily monitoring of security blogs, so I'm trying to cut back

How do you run it on a local machine?

[โ€“] cockmushroom@reddthat.com 3 points 3 weeks ago

The ๐Ÿ‘ death ๐Ÿ‘ of ๐Ÿ‘ github ๐Ÿ‘ will ๐Ÿ‘ never ๐Ÿ‘ be ๐Ÿ‘ the ๐Ÿ‘ death ๐Ÿ‘ of ๐Ÿ‘ open ๐Ÿ‘ source