hack/validate/vendor: add more checks Upstream-commit: 6e04fbf748a138419d28a85a4544379e8ae64310 Component: engine