The phrase "black foam" refers to the dark-colored frothy substance that can be formed when air mixes with certain liquids or chemicals. Full definition
The object to be cloaked is just a small copper cylinder filled with black foam: 5 centimeters (2 inches) in diameter and 1 centimeter (0.4 inch) tall. (discovermagazine.com)