Remove auto publish and insecure packages.