Extract security from agdroid

as above, let's use 0.2.4