Apple ID password not being requested before installing an app from the App Store
Go to Settings → General → Restrictions and set Require Password to Immediately to always be required to enter your password for purchases.