Skip to content

Evaluation of small language models for malicious code generation

Save

In brief

  1. Seven small language models (20M to 1.5B parameters) tested on malicious code-generation tasks.
  2. Performance relies more on algorithmic formulation than on model size.
  3. Qwen2.5-Coder 1.5B achieves 100% success on some tasks with tailored prompting.

A study evaluates seven small language models (20M to 1.5B parameters) on two malicious code-generation tasks: directory enumeration and backdoor creation. Results show that performance depends more on algorithmic formulation and prompting strategies than on model size alone.

What it changes for you

  • CybersecurityCybersecurity teams must anticipate the use of small language models for advanced attacks and adapt their countermeasures accordingly.

This summary gives you the essentials. The full article, its figures and quotes are on cs.AI updates on arXiv.org.

Read the original article

AI-generated summary of the source, checked by rules. Report an error

Cookies and privacy

BrefAI only uses strictly necessary storage (language, theme, this choice). With your consent, we also measure traffic anonymously, without cookies, to improve the site. Learn more