SCRIPTMIND: Crime Script Inference and Cognitive Evaluation for LLM-based Social Engineering Scam Detection System
Heedou Kim, Changsik Kim, Sanghwa Shin, Jaewoo Kang
TL;DR
ScriptMind addresses evolving social engineering scams by fusing crime-script inference with cognitive evaluation of user responses during scam interactions. It introduces CSIT for scam reasoning, CSID for fine-tuning smaller LLMs, and CSED for cognitive impact assessment, using 571 Korean prosecutor-impersonation phone scams to produce 22,712 training instances. Finetuned 11B models achieve up to 0.98 scam detection accuracy and outperform GPT-4o by about 13%, while cognitive simulations show that real-time, script-aware warnings elevate and sustain user suspicion. The framework advances cognitively adaptive, user-centered scam defenses and suggests practical, on-device implementations with ethical safeguards.
Abstract
Social engineering scams increasingly employ personalized, multi-turn deception, exposing the limits of traditional detection methods. While Large Language Models (LLMs) show promise in identifying deception, their cognitive assistance potential remains underexplored. We propose ScriptMind, an integrated framework for LLM-based scam detection that bridges automated reasoning and human cognition. It comprises three components: the Crime Script Inference Task (CSIT) for scam reasoning, the Crime Script-Aware Inference Dataset (CSID) for fine-tuning small LLMs, and the Cognitive Simulation-based Evaluation of Social Engineering Defense (CSED) for assessing real-time cognitive impact. Using 571 Korean phone scam cases, we built 22,712 structured scammer-sequence training instances. Experimental results show that the 11B small LLM fine-tuned with ScriptMind outperformed GPT-4o by 13%, achieving superior performance over commercial models in detection accuracy, false-positive reduction, scammer utterance prediction, and rationale quality. Moreover, in phone scam simulation experiments, it significantly enhanced and sustained users' suspicion levels, improving their cognitive awareness of scams. ScriptMind represents a step toward human-centered, cognitively adaptive LLMs for scam defense.
