Dennis E. Taylor
Destroying Worlds Since 2015
This was a pretty recent book - last couple of years or so.
Humanity has found an alien base on the Moon. While exploring it, one of the investigators seemingly gets taken apart and put back together. He's taken back to Earth, where he eventually reveals himself to be acting as an agent for the remote descendants of humanity, who want people to stop using wormholes, which remove free will because they connect different times (it's a bit vague on this point).
In the process of sabotaging the wormholes, this agent also manages to land some future tech on Earth, which proceeds to depopulate the planet.
Humanity has found an alien base on the Moon. While exploring it, one of the investigators seemingly gets taken apart and put back together. He's taken back to Earth, where he eventually reveals himself to be acting as an agent for the remote descendants of humanity, who want people to stop using wormholes, which remove free will because they connect different times (it's a bit vague on this point).
In the process of sabotaging the wormholes, this agent also manages to land some future tech on Earth, which proceeds to depopulate the planet.