On Chain Security Analysis