Learning Puppet Security