This feels like it started out being written by a human

but around the point "2. Security, authentication, and robustness" the LLM took over and finished it...