InfoResearchPeer-reviewedLLM-specific
Function Calling as a Flexible LLM Defense Add-On: Capability and Application Exploration
- Published
- Record updated
Summary
This paper proposes function calling (FC), a built-in LLM mechanism for invoking custom tools, as a lightweight defense add-on against adversarial prompts. By defining functions that represent malicious actions, FC-equipped LLMs intercept harmful prompts by triggering those calls instead of generating unsafe content. The authors also introduce the DSPEC dataset, on which FC reportedly outperforms existing defenses.
Related items
- InfoThinking fast about prompt injection: New System 1 models in ElasticSimilar attack · Elastic Security Labs
- InfoTracing Attacker Diversity Reduction in Adaptive LLM Red TeamingSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- LowParseGap: Testing What Coding Agents Authorize and What Shells ExecuteSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoAdaptation or Poisoning? Security Risks of Conversational Test-Time Learning in Large Language ModelsSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoPersistent Jailbreak Backdoor AttackSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)