this post was submitted on 05 Nov 2024
232 points (99.2% liked)

Technology

59119 readers
2835 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 1 day ago (3 children)

I mean programming language package managers are just begging to be used as an attack vector. This is why package management should be an OS responsibility across the board and only trusted package sources and publishers should ever be allowed.

[–] [email protected] 1 points 7 hours ago (1 children)

I'm not sure I understand what you are saying. What part of the OS should managed the packages? The creators aka. Microsoft/Linux foundation/Apple/Google, the distributor, or a kernel module? What about cross platform package managers like Nuget, gradle, npm?

[–] [email protected] 1 points 6 hours ago

What part of the OS should managed the packages?

The OS package manager. This is already a thing with Python in apt and pacman, where it will give you a fat warning if you try to install a package through pip instead of the actual OS package manager (i.e. pacman -Syu python-numpy instead of pip install numpy)

[–] [email protected] 7 points 1 day ago (1 children)

Or at the very fucking least require specific versions with checksums, like golang.

[–] [email protected] 2 points 13 hours ago

I really think every package repository should be opt in and every publisher should be required to verify their identity and along with checksum verification for the downloaded files.

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago)

There's also the alternatives of making your own library. I'm happy to use minimal amount of 3rd parties and just make my own instead.