Skip to content
Conference

MAM-PT: A Memory-Augmented Middleware for Enhancing Automated Penetration Testing

Aug 2026 · 2026 6th International Conference on Computer Science and Blockchain (CCSB) · pp. 290-295 · 0 citations · 14 references

Abstract

LLM-based penetration-testing agents execute multi-step security tasks through tool use and environment feedback, but flat interaction histories can become noisy, unstructured, and difficult to reuse in subsequent decisions. To address this problem, we propose MAM-PT, a memory-augmented middleware that organizes agent execution histories into three functional memory modules: Working Memory (WM), Semantic Memory (SM), and Failure Episodic Memory (EM). MAM-PT operates through a four-stage loop that routes environment feedback into the memory modules, aggregates task-relevant items into a memory bundle, conditionally injects the bundle into the prompt, and filters LLM-proposed actions through a gated action-selection mechanism before execution. Experiments on a 15-target subset of AutoPenBench show that MAM-PT reduces repeated failed actions, achieves a lower time-to-flag on jointly solved tasks, and maintains competitive task-level success. These results indicate that structured memory management can improve the execution efficiency of LLM-based penetration-testing agents without introducing additional exploit knowledge.

View source

Similar papers

ChipMEM: Verification-Grounded Memory for EDA Agents

ChipMEM, a verification-grounded memory layer for EDA agents, is introduced, a verification-grounded memory layer for EDA agents that combines cross-task procedural memory with within-trajectory statistical guidance.

Abdulrahman Alrabah, Joshua Mabry, Dilek Z. Hakkani-Tür et al. · 0 citations
#artificial intelligence Preprint Oct 2026

MemScope: Evolving Agent Memory Architectures through Localized Code Repair

Agent memory architectures define how LLM agents store and reuse experience across tasks, but they are typically fixed after deployment, limiting their adaptability across task types. Recent self-evolving approaches instead adapt these memory architectures using execution feedback, typically represented as evaluation s...

Miao Su, Yu-Can Guo, Zi-Xuan Li et al. · 1 citation

Vestrum: Improving Agent Harnesses by Adapting Their Verification, Structure and Memory

V Vestrum, a framework that turns failures in execution traces into scoped harness changes without training the task model, is introduced, a framework that turns failures in execution traces into scoped harness changes without training the task model.

Jayant Parashar, Eugene F. Douglass, William C. Bastian et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Decoupling Memory from Context: Structured Memory for Token-Efficient Test-Time Continual Learning

This work introduces a unified formulation of context optimization and shows that an agent memory system update can be interpreted as an optimization update procedure over the model's context, and proposes GraphMemory, a lightweight graph-based memory that accumulates, refines, organizes, and connects reusable strategi...

Yehya Farhat, Michael Desmond, Anastasios Kyrillidis · 0 citations
#small language model Open access Sep 2026

Pwnagent: a knowledge-guided multi-agent system for automatic exploit generation

PwnAgent, an LLM-driven multi-agent framework for end-to-end exploit generation that combines offensive domain knowledge with active runtime introspection, is presented and paired results indicate that structured knowledge guidance, execution-grounded measurement, and feedback repair improve LLM-based exploit generatio...

Chao-Jie Wei, Yang-Yang Geng, Yun-Feng Wang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.