user19936: I can across this trap playing a bullet game and I wonder if it has a name: 
    [FEN ""]

1.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6 4.Nc3 Bc5 5.Nd5 Nxd5 6.Bxd5 Nd4 7. Ng5 O-O 8.Qh5 Nxc2+ 9.Kf1 h6 10.Nxf7 Kh7 11.Nxd8 Rxf2+ 

And now black has a checkmate in 3.

user3594: The pattern starting from Nxf7 does not correspond to any known (opening) trap. It's to be expected as this does not really qualify as a trap for the following reasons:

The path up to the critical position 10.Nxf7 has major flaws, e.g. white is hanging a full knight on move 7.Ng5 (7...Qxg5), so objectively, white is already lost before any trap setup is reached. Therefore, this move order does not really belong to a branch of a known opening (here the Four Knights game: Italian var).
Opening traps usually occur when one side is baited/tempted towards a known losing variation, such as the Légal Trap. Sometimes the side attempting to set up a trap might have to make a non-optimal, nearly dubious move to force the desired variation, but (at least for most known traps) if the opponent spots the trap and plays a refutation the game remains about equal. 

However, in your example, assuming black is indeed setting up a trap, white can [*] simply play 11.d4 instead of falling for 11.Nxd8, and white's completely winning as both dxc5 and Bxh6 are threatened and they cannot be simultaneously parried, therefore, black is lost and if anything, all this has been nothing but a last attempted tactical bait in an otherwise completely lost position.
[*]: other than the fact that white can simply play 9.Kd1 instead of Kf1 and be completely winning having also side-stepped black's combination along the f-file.

19936: <p>I can across this trap playing a bullet game and I wonder if it has a name: </p>

<pre><code>    [FEN ""]

1.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6 4.Nc3 Bc5 5.Nd5 Nxd5 6.Bxd5 Nd4 7. Ng5 O-O 8.Qh5 Nxc2+ 9.Kf1 h6 10.Nxf7 Kh7 11.Nxd8 Rxf2+ 
</code></pre>

<p>And now black has a checkmate in 3.</p>
 3594: <p>The pattern starting from <code>Nxf7</code> does not correspond to any known (opening) trap. It's to be expected as this does not really qualify as a trap for the following reasons:</p>

<ol>
<li><p>The path up to the critical position <code>10.Nxf7</code> has major flaws, e.g. white is hanging a full knight on move <code>7.Ng5</code> (<code>7...Qxg5</code>), so objectively, white is already lost before any trap setup is reached. Therefore, this move order does not really belong to a branch of a known opening (here the Four Knights game: Italian var).</p></li>
<li><p>Opening traps usually occur when one side is baited/tempted towards a known losing variation, such as the <a href="https://en.wikipedia.org/wiki/L%C3%A9gal_Trap" rel="noreferrer">Légal Trap</a>. Sometimes the side attempting to set up a trap might have to make a non-optimal, nearly dubious move to force the desired variation, but (at least for most known traps) if the opponent spots the trap and plays a refutation the game remains about equal. </p></li>
</ol>

<p>However, in your example, assuming black is indeed setting up a trap, white can [*] simply play <code>11.d4</code> instead of falling for <code>11.Nxd8,</code> and white's completely winning as both <code>dxc5</code> and <code>Bxh6</code> are threatened and they cannot be simultaneously parried, therefore, black is lost and if anything, all this has been nothing but a last attempted tactical bait in an otherwise completely lost position.</p>

<p>[*]: other than the fact that white can simply play <code>9.Kd1</code> instead of <code>Kf1</code> and be completely winning having also side-stepped black's combination along the <code>f</code>-file.</p>
