Quote:
And then... Ned Leeds, Master of the Mystic Arts (^_^')
Also, only the Green Goblin & Doctor Octopus actually met all the criteria of the plot:
-Neither Electro nor Venom 2.0 knew that Peter Parker is Spider-Man (contrary to Harry Osborn 1.0, Venom 1.0 & Harry Osborn 2.0).
-Neither Sandman nor the Lizard died while fighting Spider-Man (contrary to Venom 1.0 & Harry Osborn 1.0).
In regard to the second of your two bullet points, I don't recall Strange saying that a person had to've died in battle with Spider-Man in order to be transported by the spell.
In regard to your first bullet point, it's not explicit, but there are
implied explanations for both of those (though in the case of Venom 2.0, it involves spoilers for
Venom: Let There Be Carnage).
Eddie's initial transportation to the MCU seemingly occurred in a mid-credits scene in Venom: Let There Be Carnage.
In that scene, we see Eddie lying on a bed watching TV, when the symbiote mentions that it has "80 billion light-years of hive knowledge across universes" which it's never shared with Eddie up 'til now.
The symbiote decides to share "a taste" of this knowledge with Eddie, and as it does so, there's a distortion effect around the room, and Eddie suddenly finds himself lying on a bed in a different room, where the MCU version of Triple J is on TV, reporting on the reveal of Spider-Man's secret identity.
The fact that Eddie was transported right after the symbiote shared some of its "hive knowledge" with him suggests that him receiving this knowledge was a catalyst in that event. (Either that, or it was an almighty coincidence.)
My guess is that a symbiote in another universe -- perhaps the universe the Raimi Spider-Man trilogy is set in? -- must have known of Spider-Man and his secret identity, and Eddie's symbiote was able to share this knowledge with him via some type of interdimensional hive mind which the symbiotes apparently possess. This in turn made the both of them unwittingly subject to Dr. Strange's spell.
In the case of Electro, he mentioned that the last thing he recalled before he was transported to the MCU was "being stuck in the grid, absorbing data".
It does seem like a stretch that the "data" he absorbed would tell him Spider-Man's real name, without him also learning of Spidey's ethnicity (he later seemed surprised to see that Andrew Garfield's Spider-Man was a white guy under the mask). But the phrasing they used there certainly allows for that interpretation.