Shift right click the Cardboard Box onto any tile entity, such as Chests, Furnaces and Spawners
Break the box using an Axe or your hand fingers. Shift right click to remove the box
Of course there is a blacklist, its done via Tags. You'll have to learn data packs...