"Jyn, my stardust, I have placed a weakness deep within the system. A flaw so small and powerful, they will never find it. I have made the Death Star non-compliant under OSHA 29 CFR 1926.502, incurring a cost of $16,550 per day for failure to abate violations."
No civilizations with technology as advanced as that in Star Wars would have failed to invent something as basic as guard rails around yawning chasms.