| Post Reply | RetroFed Forum Forum Index » Security |
| Author | Message | ||
|---|---|---|---|
codeinabox
programming.dev
codeinabox@programming.devJoined: 2025-09-29 |
|
||
| 30 Original | |||
|
ultimate_worrier
lemmy.dbzer0.com
ultimate_worrier@lemmy.dbzer0.com Joined: 2025-05-06 |
[deleted]
|
||
| 10 | |||
|
onlinepersona
programming.dev
onlinepersona@programming.dev Joined: 2023-09-01 |
[deleted]
How do you run it on a local machine? |
||
| 1 | |||
Maxxie
piefed.blahaj.zone
Maxxie@piefed.blahaj.zoneJoined: 2025-06-08 |
[deleted]
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 🤷♀️ |
||
| 6 | |||
|
lauha
lemmy.world
lauha@lemmy.world Joined: 2025-06-29 |
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...
Isn't this a sane practice in programming anyway? Just don't go overboard with dependency minimalism. |
||
| 3 | |||
Maxxie
piefed.blahaj.zone
Maxxie@piefed.blahaj.zoneJoined: 2025-06-08 |
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.
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 |
||
| 1 | |||
|
cockmushroom
reddthat.com
cockmushroom@reddthat.com Joined: 2025-08-31 |
The 👏 death 👏 of 👏 github 👏 will 👏 never 👏 be 👏 the 👏 death 👏 of 👏 open 👏 source |
||
| 5 | |||
|
Piatro
programming.dev
Piatro@programming.dev Joined: 2023-06-09 |
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.
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. |
||
| 2 | |||
|
lauha
lemmy.world
lauha@lemmy.world Joined: 2025-06-29 |
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.
That's one of the reasons) why JS development is the shitshow it is. |
||
| 2 | |||
| Post Reply |
Back to top |