ISO 1174-1 and ASME B107.4 cover this. Interestingly, they have slightly different tolerances ranges for the detent.Which standard specifies that dimension?
It does not appear to be ISO 2725-1 Assembly tools for screws and nuts — Square drive sockets — Part 1: Hand-operated sockets
It doesn't appear to be DIN 3124 Hand-operated socket wrenches, square drive for hexagon screws either, as that is equivalent to the ISO standard
Thanks
Jack
Also interestingly ASME B107.4 does not require retention features on 1/4" drive sockets, see Note 1:



