Things will get more interesting as the author of the malicious code has even more suspicious PRs for libarchive:
https://github.com/libarchive/libarchive/pull/1609
He replaced safe printf calls with unsafe versions. We as devs must be more vigilant when we accept PRs and add new dependencies.