[SecurityBundle] avoid unneeded work