News for hackers. Stuff that matters.
Re:The .a File Is a Relic: Why Static Archives Were a Bad Id... by l72 on Tuesday July 22, 2025 @08:35AM (#44646103)
I think from a security point of view, if a program is linked to its library dynamically, a malicious actor could replace the original library without the user noticing, by just setting the LD_LIBRARY_PATH to point to the malicious library. That wouldn't be possible with a program that is statically linked.
Re:The .a File Is a Relic: Why Static Archives Were a Bad Id... by benreesman on Tuesday July 22, 2025 @08:41AM (#44646165)
And unless you're in one of those happy jurisdictions where digital rights are respected, that malicious threat actor could range from a mundane cyber criminal to and advanced persistent threat, and that advanced persistent threat could trivially be your own government. Witness, the only part of `glibc` that really throws a fit if you yank it's ability to get silently replaced via `soname` is DNS resolution.