Upptäckten av över 800 kg fyrverkeri i ett bostadshus belyser betydande säkerhetsrisker för boende och personal.