| Post Reply | RetroFed Forum Forum Index
» linuxmemes
Page 1 of 2 Goto page 1, 2 Next Last » |
| Author | Message | ||
|---|---|---|---|
|
deathmetal27
lemmy.world
deathmetal27@lemmy.world Joined: 2023-10-04 |
|
||
| 390 Original | |||
|
call_me_xale
lemmy.zip
call_me_xale@lemmy.zip Joined: 2023-07-23 |
I usually do, but I don't really know what I should be looking for. What are some red flags? |
||
| 36 | |||
First_Thunder
lemmy.zip
First_Thunder@lemmy.zipJoined: 2025-06-26 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
Suddenly an npm command to some random package appearing in an update |
||
| 13 | |||
Malix
sopuli.xyz
Malix@sopuli.xyzJoined: 2023-07-24 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
as the other commenter said, but worth echoing:
Generally you should be aware of who'se software you're installing -> check if it's downloading the stuff from right place, and nothing extra. The PKGBUILD changes in the aur website are pretty good indicator if something has changed and how. edit: npm itself, or it's usage isn't bad - but it is quite suspicious if the AUR package isn't for some webapp or so. |
||
| 26 | |||
printf("%s", name);
piefed.blahaj.zone
akunohana@piefed.blahaj.zoneJoined: 2026-03-30 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
Check the list of dependencies. If you really want to vet the package, look through all of the dependencies listed and read their package descriptions on their source page (github, gitlab, codeberg, whathaveyou). Check also the URL, from which PKGBUILD of *localsend*
|
||
| 46 | |||
|
NaibofTabr
infosec.pub
NaibofTabr@infosec.pub Joined: 2023-06-18 |
|
||
| 133 | |||
RustyNova
lemmy.world
RustyNova@lemmy.worldJoined: 2023-11-24 |
I don't even read the nix files I install from lol |
||
| 6 | |||
Lung
lemmy.world
lung@lemmy.worldJoined: 2023-06-21 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
Get AI to read it, it'll be 90% good enough |
||
| -3 | |||
houndeyes
toast.ooo
houndeyes@toast.oooJoined: 2024-07-29 |
|
||
| 38 | |||
|
dwt
feddit.org
dwt@feddit.org Joined: 2024-06-22 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
I think that the whole concept of sharing user repos to install packages is sadly not really good anymore. Because now it suddenly exposes that there is usually neither a trust anchor to that repo, nor an established review and fix process for such things. I‘d say, just use the community maintained official package sources for now. |
||
| 12 | |||
|
Azzu
leminal.space
Azzu@leminal.space Joined: 2026-05-10 |
I mean how often do you install AUR packages? Usually takes like a minute or so to skim through PKGbuild and the pkg comments and look for obvious issues. And most updates are just a sha hash and version change, taking like 5s to check. |
||
| 17 | |||
MalReynolds
slrpnk.net
MalReynolds@slrpnk.netJoined: 2023-06-25 |
If possible do it in a distrobox and down networking before running, yes that won't stop the curl | sh in the install, but at least you can blow it away without hurting your main install and it will likely infect only the distrobox. Bonus points for an immutable main OS. As the whole supply chain attack vector gets more sophisticated, and probably subtler in effect, these are going to be harder and harder to spot and likely start making it into main repos. Keep sharp people. Not real fun for a linuxmemes post, but I think it needs saying. |
||
| 8 | |||
massive_bereavement
fedia.io
massive_bereavement@fedia.ioJoined: 2024-06-14 |
Get AI to read it, it'll be 90% good enough
That might work until they realize people are doing it and then just add the right circumventions. After all I can test my exploit and see if Claude or Gemini can find it, and polish it until they don't. |
||
| 6 | |||
|
Nalivai
lemmy.world
Nalivai@lemmy.world Joined: 2023-06-30 |
I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it. |
||
| 13 | |||
|
Jesus_666
lemmy.world
Jesus_666@lemmy.world Joined: 2024-04-03 |
If you want a bunch of stuff that's not in core or extra and you don't want to intensely babysit the AUR, you could try Chaotic-AUR. It hosts prebuilt packages for a bunch of AUR packages which are actively maintained by the Chaotic team. I consider it to be more secure than the AUR proper since they actually care for their packages and review nontrivial changes. For instance, the recent takeover attacks didn't hit Chaotic-AUR builds since the changed packages didn't make it past the review. It's still an unofficial third-party repository and closer to the AUR than to extra but I consider it a major step up. |
||
| 29 | |||
Zachariah
lemmy.world
Zachariah@lemmy.worldJoined: 2023-06-13 |
If you want a bunch of stuff that's not in core or extra and you don't want to intensely babysit the AUR, you could try Chaotic-AUR. It hosts prebuilt packages for a bunch of AUR packages which are actively maintained by the Chaotic team. I consider it to be more secure than the AUR proper since they actually care for their packages and review nontrivial changes. For instance, the recent takeov...
Yes, but is it good, neutral, or evil? |
||
| 16 | |||
Baŝto
discuss.tchncs.de
basxto@discuss.tchncs.deJoined: 2023-07-22 |
I mean how often do you install AUR packages? Usually takes like a minute or so to skim through PKGbuild and the pkg comments and look for obvious issues. And most updates are just a sha hash and version change, taking like 5s to check.
I need a better wrapper that shows me diffs since last build. I’m too lazy for this Also pulling in release messages from git etc would be nice |
||
| 6 | |||
Baŝto
discuss.tchncs.de
basxto@discuss.tchncs.deJoined: 2023-07-22 |
Yes, but is it good, neutral, or evil?
it is arch |
||
| 9 | |||
Baŝto
discuss.tchncs.de
basxto@discuss.tchncs.deJoined: 2023-07-22 |
I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it. Not endorsing this apparently dangerous lifestyle, but also a little bit maybe
Not updating AUR packages saved me from the last incedent 🙃I had 6 or sth packages installed who were in the list |
||
| 3 | |||
|
deathmetal27
lemmy.world
deathmetal27@lemmy.world Joined: 2023-10-04 |
Yes, but is it good, neutral, or evil?
Yes |
||
| 3 | |||
|
HereIAm
lemmy.world
HereIAm@lemmy.world Joined: 2024-02-19 |
I mean how often do you install AUR packages? Usually takes like a minute or so to skim through PKGbuild and the pkg comments and look for obvious issues. And most updates are just a sha hash and version change, taking like 5s to check.
But wasn't the latest AUR attack from a dependancy in the pkgbuild? Going out of your way to review all the dependencies as well is not really possible by just skimming through the script. |
||
| 12 | |||
|
deathmetal27
lemmy.world
deathmetal27@lemmy.world Joined: 2023-10-04 |
I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it. Not endorsing this apparently dangerous lifestyle, but also a little bit maybe
This is more important after the recent news of malware on AUR |
||
| 4 | |||
N.E.P.T.R
lemmy.blahaj.zone
Neptr@lemmy.blahaj.zoneJoined: 2024-11-20 |
If possible do it in a distrobox and down networking before running, yes that won't stop the curl | sh in the install, but at least you can blow it away without hurting your main install and it will likely infect only the distrobox. Bonus points for an immutable main OS. As the whole supply chain attack vector gets more sophisticated, and probably subtler in effect, these are going to be harder...
Distrobox is not an isolated environment, it is quite the opposite. They say so themselves on their page:
I would argue that Docker isn't a good way to stop malware either, since it is highly vulnerable to sandbox escape leveraging the shared host-guest kernel, like the many of LPEs that have been found in the last few months (example using copy-fail). Docker is not a secure sandbox, Podman is not a secure sandbox, Flatpak is not a secure sandbox. Use a VM, or better yet, don't use the AUR. |
||
| 8 | |||
|
Sivecano
lemmy.dbzer0.com
Sivecano@lemmy.dbzer0.com Joined: 2023-08-11 |
Someone put my WM on the AUR. I am thus proud to be authoring malware :) |
||
| 7 | |||
zitrone 🍋
europe.pub
zitrone@europe.pubJoined: 2026-03-10 |
just use nix instead we have super secure mechanisms in place to prevent supply chain attacks /s (nix just hasn't been targeted yet (as far as we know 💀💀)) |
||
| 10 | |||
|
Funkt4st1c
lemmy.world
Funkt4st1c@lemmy.world Joined: 2026-07-30 |
I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it. Not endorsing this apparently dangerous lifestyle, but also a little bit maybe
Yeah same. Aur has been significantly less virus prone than the windows norm (inb4 wut abut winget >;ppp) of "Googling some shit you want and clicking the first website to roll the dice on predatory ads or malware or maybe the thing you wanted" ...not to mention if you have btrfs you can just rollback a month or two and call it a day. |
||
| 5 | |||
|
xylol
leminal.space
xylol@leminal.space Joined: 2025-05-20 |
That might work until they realize people are doing it and then just add the right circumventions. After all I can test my exploit and see if Claude or Gemini can find it, and polish it until they don't.
Ask ai how to hide it from ai |
||
| 4 | |||
|
yeehaw
lemmy.ca
cyberpunk007@lemmy.ca Joined: 2023-08-09 |
I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it. Not endorsing this apparently dangerous lifestyle, but also a little bit maybe
I get why we need to do this but most people are not programmers either and probably don't understand wtf they're looking at. While I understand some of what um looking at, when in just trying to get the updates over with its super annoying to review each aur pkgbuild. |
||
| 2 | |||
|
ElectroLisa
piefed.blahaj.zone
ElectroLisa@piefed.blahaj.zone Joined: 2025-06-07 |
STABLE IS FOR HORSES I LOVE GAMBLING /s |
||
| 79 | |||
xthexder
l.sw0.com
xthexder@l.sw0.comJoined: 2023-07-09 |
STABLE IS FOR HORSES I LOVE GAMBLING /s
I wish I could give you a second upvote, that's hilarious 😂 |
||
| 10 | |||
|
deathmetal27
lemmy.world
deathmetal27@lemmy.world Joined: 2023-10-04 |
STABLE IS FOR HORSES I LOVE GAMBLING /s
Well earned upvote, sir/ma'am. |
||
| 4 | |||
|
OR3X
lemmy.world
OR3X@lemmy.world Joined: 2025-06-16 |
AUR |
||
| 6 | |||
|
corsicanguppy
lemmy.ca
corsicanguppy@lemmy.ca Joined: 2023-06-12 |
I didn't know it was. |
||
| 3 | |||
|
corsicanguppy
lemmy.ca
corsicanguppy@lemmy.ca Joined: 2023-06-12 |
just use nix instead we have super secure mechanisms in place to prevent supply chain attacks /s (nix just hasn't been targeted yet (as far as we know 💀💀))
Maslow, is this your hammer? |
||
| 5 | |||
muusemuuse
sh.itjust.works
muusemuuse@sh.itjust.worksJoined: 2025-06-25 |
Yes, but is it good, neutral, or evil?
It is colorful socks |
||
| 5 | |||
devfuuu
lemmy.world
devfuuu@lemmy.worldJoined: 2023-06-17 |
I need a better wrapper that shows me diffs since last build. I’m too lazy for this Also pulling in release messages from git etc would be nice
paru |
||
| 6 | |||
|
bennypr0fane
discuss.tchncs.de
bennypr0fane@discuss.tchncs.de Joined: 2023-06-16 |
|
||
| -1 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
Update your desktop only all one or two weeks, get basic protection (adblocker, hosts file), read the news. It's a peaceful life. |
||
| 2 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
If possible do it in a distrobox and down networking before running, yes that won't stop the curl | sh in the install, but at least you can blow it away without hurting your main install and it will likely infect only the distrobox. Bonus points for an immutable main OS. As the whole supply chain attack vector gets more sophisticated, and probably subtler in effect, these are going to be harder...
Btw, login uses /bin/sh (or respective), script headers also, all fixed paths; would anything break, if you do |
||
| 2 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
Yes, but is it good, neutral, or evil?
I don't think Arch is right for you. |
||
| 1 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
All pointing with fingers to AUR, but the issue was (yet again) with NPM. |
||
| 9 | |||
|
Euphoma
lemmy.ml
Euphoma@lemmy.ml Joined: 2023-04-27 |
just use nix instead we have super secure mechanisms in place to prevent supply chain attacks /s (nix just hasn't been targeted yet (as far as we know 💀💀))
Yeah, I just update all 20 flakes that I sourced from github and pray that none of them were hacked |
||
| 5 | |||
|
chortle_tortle
mander.xyz
chortle_tortle@mander.xyz Joined: 2025-06-04 |
All pointing with fingers to AUR, but the issue was (yet again) with NPM.
Sorry I missed something, how so? |
||
| 4 | |||
|
chortle_tortle
mander.xyz
chortle_tortle@mander.xyz Joined: 2025-06-04 |
just use nix instead we have super secure mechanisms in place to prevent supply chain attacks /s (nix just hasn't been targeted yet (as far as we know 💀💀))
Isn't the real security through obscurity just being such a fringe market no one bothers? 🤔 |
||
| 3 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
Sorry I missed something, how so?
The compromised packages load a script from thr net that runs a compromised npm package ("atomic-lockfile" 1.4.2). Ok, also a AUR issue. But more so a NPM one, since they have all full moon two supply-chain attacks. |
||
| 6 | |||
|
realitaetsverlust
piefed.zip
realitaetsverlust@piefed.zip Joined: 2025-12-04 |
I usually do, but I don't really know what I should be looking for. What are some red flags?
I don't mean this in any mean way, but if you don't know what you should be looking for, you probably shouldn't install AUR packages. Just as I wouldn't recommend someone who has never climbed a mountain to try mt everest. You need to be able to understand the build process before you install anything from the AUR. Everything else is the equivalent of installing random exe's you found on a forum on windows. Luckily, there's a lot of different videos online regarding the AUR build process, and the archwiki has an excellent article aswell. |
||
| 2 | |||
Richard
lemmy.world
richardisaguy@lemmy.worldJoined: 2023-08-13 |
Nah, if you really want to live on the bleeding edge you gotta make blindly installing vibecoded junk from shady parts of the AUR part of your workflow |
||
| 11 | |||
MalReynolds
slrpnk.net
MalReynolds@slrpnk.netJoined: 2023-06-25 |
Distrobox is not an isolated environment, it is quite the opposite. They say so themselves on their page: Security implications Isolation and sandboxing are not the main aims of the project, on the contrary it aims to tightly integrate the container with the host. The container will have complete access to your home, pen drive, and so on, so do not expect it to be highly sandboxed like a plain ...
True, you'll note I didn't say it is sandboxed or isolated, but it is a different environment. Paths that point to normal things like /usr etc. will be in the distrobox environment. That said, unless you use a custom home for the distrobox (you should anyway), your home directory is hosed. At this point I expect the malware to not be distrobox aware and use things like distrobox-host-exec, that may change. A VM is absolutely a better approach, if significantly more frictional. |
||
| 1 | |||
Kangae_Hishiryo
scribe.disroot.org
Kangae_Hishiryo@scribe.disroot.orgJoined: 2026-04-13 |
I once found a Rust program that streamlined the PKGBUILD reviewing process a lot by, first of all, giving you a really neat list of patterns and behaviours that would make a PKGBUILD suspicios or even plain dangerous, then having a scriptable rule-based engine that would either abort that operation, or show warns and workarounds to you. I forgot its name, unfortunately, and I installed it on my previous installation (Garuda, now I'm on CachyOS). Very dumb of my part not to try to write that down before the OS change lol. |
||
| 3 | |||
Kangae_Hishiryo
scribe.disroot.org
Kangae_Hishiryo@scribe.disroot.orgJoined: 2026-04-13 |
This video taught me a lot. Check the list of dependencies. If you really want to vet the package, look through all of the dependencies listed and read their package descriptions on their source page (github, gitlab, codeberg, whathaveyou). Check also the URL, from which makepkg (or yay or whatever) is going to pull some of the data. Is the URL legit? ::: spoiler PKGBUILD of localsend # Maintai...
Yeah. There's also some others behaviours to look at. Like, does the PKGBUILD install the package on some non-standard location? Does it execute arbitrary code or any external script (worse if it's Python, Lua or JS)? Does it (ab)uses of AWK, sed and the like? That's also suspicious in a variety of cases. |
||
| 3 | |||
merc
sh.itjust.works
merc@sh.itjust.worksJoined: 2023-06-09 |
its |
||
| 21 | |||
| Post Reply |
Page 1 of 2
Goto page
1, 2
Next
Last »
Back to top |