After No Way Home, fans made a theory to explain the plot hole of Electro's appearance in the movie (since it wasn't established in Tasm 2 that he knew about the identity of Spider-Man). Basically since Max was obsessed with him, he would have seen Peter Parker's name credited on the newspaper photos, so when Gwen called him Peter, he probably connected the dots. I made this as a way to visualize this theory, and I think it's a good explanation, so I'll consider it canon for now.
![](https://i.ytimg.com/vi/y3-PDrAkvhI/maxresdefault.jpg)