PromptGrenade: A Safe, Automated Pipeline for Exposing Linguistic Bug-Like Behaviors in LLMs

Since exploring Large Language Models (LLMs) at age 9, I have been fascinated by their emergent behaviors, particularly how innocuous inputs induce hallucination, self contradiction, or refusals. This work introduces PromptGrenade, a reproducible, opensource pipeline to systematically expose these linguistic “bug-like” behaviors. Prompt Grenade generates adversarial, policy-compliant prompts using open-source models (e.g., Ollama’s CodeLlama/OpenHermes), feeds them to a commercial LLM (Gemini 2.5 Flash via API), and tags failures (contradiction, incoherence, refusal) with comprehensive logging. This approach surfaces LLM failure modes safely, identifying consistent failure categories and proposing robustness testing avenues. PromptGrenade is a practical toolkit and a demonstration of LLM fragility under safe, creative challenges.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-07-19
DOI
https://doi.org/10.5281/zenodo.16171437
Primary Topic
Dental Research and COVID-19
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PromptGrenade: A Safe, Automated Pipeline for Exposing Linguistic Bug-Like Behaviors in LLMs

Zenodo (CERN European Organization for Nuclear Research)
Dental Research and COVID-19
article

PromptGrenade: A Safe, Automated Pipeline for Exposing Linguistic Bug-Like Behaviors in LLMs

article en

Abstract

Since exploring Large Language Models (LLMs) at age 9, I have been fascinated by their emergent behaviors, particularly how innocuous inputs induce hallucination, self contradiction, or refusals. This work introduces PromptGrenade, a reproducible, opensource pipeline to systematically expose these linguistic “bug-like” behaviors. Prompt Grenade generates adversarial, policy-compliant prompts using open-source models (e.g., Ollama’s CodeLlama/OpenHermes), feeds them to a commercial LLM (Gemini 2.5 Flash via API), and tags failures (contradiction, incoherence, refusal) with comprehensive logging. This approach surfaces LLM failure modes safely, identifying consistent failure categories and proposing robustness testing avenues. PromptGrenade is a practical toolkit and a demonstration of LLM fragility under safe, creative challenges.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 34%
Dental Research and COVID-19
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.