Chinese audio noise filters?

I bought one of these filters from Amazon to quieten an annoying hum on my workshop system (which has 2 sound sources, one a PC, plugged into one switch box). It works remarkably well, but how? I can't find any info on the contents of the sealed shell, and I don't really want to break it to find out... does anyone know what's inside?
 
That's just what I thought too. But in that case I would have expected the thing below to have worked also, but it didn't. Maybe it's faulty? Though there doesn't seem to be much to go wrong.
IMG_20230330_185218.jpg