Yep, that's a brass canister extinguisher, filled with Carbon Tet. It'd carcinogenic, but it also makes some if the best thread tapping lubricant that's ever been invented. Drain the canister and store the liquid in a tightly capped mason jar. Just have plenty of ventilation if you use it as a thread tapping lube.
Jerry