The security vulnerabilities were entirely predictable.