The project you mentioned, PentestGPT, is a fantastic example of using Large Language Models (LLMs) to automate the "thinking" process behind a security audit
The HRM is a novel recurrent neural network architecture designed for sequential reasoning tasks. It's inspired by the hierarchical and multi-timescale processing observed in the human brain