Fired at the muzzle, a representative .223 Remington load (3.6 g, FMJ, 990 m/s) reaches roughly 285 mm (11.2 inches) into pine wood. That is enough to defeat a typical barrier of this material — treat anything behind it as exposed.
Construction pine — a 2x4 stud is ~38 mm thick.