The government is gambling away national security and finances by appointing 1Malaysia Development Berhad (1MDB) to handle billions of ringgit worth of development projects, said opposition leader Anwar Ibrahim.