News for hackers. Stuff that matters.
Re:"Secret" Agent Exposes Azure Customers to Unauthorized Co... by dralley on Tuesday September 14, 2021 @11:36PM (#28534961)
> a standard, absolutely gigantic C/C++ project that re-invents absolutely everything including an event loop, http server, XML parser, a C++ tool to generate C code to create a “str hash” implementation, a custom lexer for WQL and a parser for a “mof” file format.

This is the part that gets missed when people talk about "dependency inflation" re: Rust. Absolutely, it is a problem, but most C codebases of a sufficient size and vintage are vendoring some absolutely insane hidden "dependencies" that, on average, probably get a lot less testing and attention than the average package on crates.io.

There are definitely risks with both approaches.

https://wiki.alopex.li/LetsBeRealAboutDependencies

Re:"Secret" Agent Exposes Azure Customers to Unauthorized Co... by capableweb on Wednesday September 15, 2021 @04:51AM (#28536773)
Not sure why what you're saying would be more true for C/Rust/JavaScript or any other language. The perverse idea of adding dependencies without actually reading through all the code you pull in exists in basically all language ecosystems, Rust included.
Re:"Secret" Agent Exposes Azure Customers to Unauthorized Co... by jstanley on Wednesday September 15, 2021 @05:45AM (#28537131)
In C it is much more inconvenient to include external dependencies, so it's much more common for people to roll their own implementations rather than using a tried-and-tested one.
Re:"Secret" Agent Exposes Azure Customers to Unauthorized Co... by xmaayy on Wednesday September 15, 2021 @09:50AM (#28539007)
Or copy in a .C/.h file that gets forgotten about, and therefore gets no security updates.