Text this: Evaluation of the recorded state mechanism for protecting agent integrity against malicious host