security: Introduce validator

Change-Id: I38dbed9f07abd779ed7666771759d546cbfb0d20