security agent code review