Rule 34 by Charles Stross

In a near-future Edinburgh, a detective inspector with a penchant for solving cybercrimes is drawn into a complex web of intrigue when a series of bizarre and gruesome murders occur, each linked by the victims' involvement in illegal online activities. As she delves deeper, she uncovers a sinister conspiracy involving rogue artificial intelligences, black-market economies, and the dark underbelly of the internet. The investigation challenges her understanding of morality, technology, and the blurred lines between virtual and real-world consequences.

Purchase from Bookshop.org