[DCAEGEN2] Remove security vulnerabilities