mlsanityData to 24 Nov 2026

From Billion-Scale to Million-Scale Language Models: Operational Capabilities for Embedded Post-Exploitation

arXiv 2610.23534 ↗Submitted 16 Oct 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

Small Language Models (SLMs) are increasingly attractive for resource-constrained environments due to their low computational footprint. These characteristics also make them candidates for future autonomous malware, where connectivity, latency, privacy, or operational constraints may preclude cloud-based inference. Yet the ability of ultra-compact models to support malware during post-exploitation remains poorly understood. We systematically evaluate seven open-source SLMs (20M-1.5B parameters) on two post-exploitation code-generation tasks: Directory Enumeration and Backdoor Generation. We compare Python (high-resource) and Lua (low-resource) across prompting strategies, task formulations, iterative reasoning, grammar-constrained decoding, and execution-feedback loops. Results show that offensive code-generation capabilities do not increase linearly with model size. Successful execution depends on the interaction of model capacity, task formulation, and prompting strategy, with task formulation exerting a greater influence than prompt engineering alone. Algorithmic formulation combined with few-shot prompting enables Qwen2.5-Coder 1.5B to reach Pass@5 of 100% in both Python and Lua for Directory Enumeration, 100% in Python for Backdoor Generation, and 99.2% in Lua. Although the evaluated models remain too computationally demanding for widespread deployment in contemporary malware, rapid progress in compact models may reduce this barrier. These findings help anticipate AI-assisted malware and inform future countermeasures.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 36 of its 56 references that are in the map. Submitted 16 Oct 2026.

Builds on

36 of 56 references.

References · 36

  1. 2017Attention Is All You Needcited by 62,125
  2. 2022Training language models to follow instructions with human feedbackcited by 16,493
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,507
  7. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  8. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,329
  10. 2023A Survey of Large Language Modelscited by 2,758
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,575
  12. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,262
24 more
  1. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,891
  2. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,454
  3. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 916
  4. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 675
  5. 2023Instruction Tuning for Large Language Models: A Surveycited by 672
  6. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 644
  7. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 423
  8. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 416
  9. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 304
  10. 2023A Survey on Model Compression for Large Language Modelscited by 289
  11. 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 246
  12. 2023Large Language Models in Law: A Surveycited by 134
  13. 2024A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthinesscited by 134
  14. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 119
  15. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 76
  16. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 74
  17. 2024Malla: Demystifying Real-world Large Language Model Integrated Malicious Servicescited by 35
  18. 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 29
  19. 2023RatGPT: Turning online LLMs into Proxies for Malware Attackscited by 20
  20. 2025Assessing Small Language Models for Code Generation: An Empirical Study with Benchmarkscited by 9
  21. 2025Living Off the LLM: How LLMs Will Change Adversary Tacticscited by 2
  22. 2026The CTI Echo Chamber: Fragmentation, Overlap, and Vendor Specificity in Twenty Years of Cyber Threat Reportingcited by 2
  23. 2025LLMalMorph: On The Feasibility of Generating Variant Malware using Large-Language-Modelscited by 1
  24. 2026The Infinite Mutation Engine? Measuring Polymorphism in LLM-Generated Offensive Codecited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Enhancing Linux Privilege Escalation Attack Capabilities of Local LLM Agents
  2. 2026A Lifecycle and Application-Stack Survey of Large Language Model Vulnerabilities: Attacks, Risks, Defenses, and Open Problems
  3. 2026PrivEscalate: Measuring and Augmenting the Threat of LLM-Automated Linux Privilege Escalation ↗
  4. 2024Automatic and Universal Prompt Injection Attacks against Large Language Models
  5. 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models
  6. 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
  7. 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions
  8. 2026CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts