fix: Critical auth + ownership + container bugs from audit 76b46a3 Hetansh Waghela commited on May 31