fix(hook): correct code
feat(security): add security initialize