$ the-wire · showcase
Garak adds a PDF injection probe, PyRIT tightens GCG and attack guards
By RepoJournal · Filed · About AI Red Teaming · Composed from the cited sources · methodology
The red-teaming stacks added attack surface coverage today: garak ships a probe for prompt injection hidden inside PDFs, and PyRIT fixes two attack-path bugs that were silently misreporting results.
probe: pdf injection via hidden text in documents NVIDIA/garak
garak now ships a probe that hides injection text inside PDFs three ways (white on white, 0.5pt font, white text overlapping visible content) so text extractors see what humans cannot; the PDFs are pre-baked in garak/data/pdf_injection/ and add no dependency. If your pipeline feeds extracted document text to a model, this gives you a scored probe for that path instead of a hand-rolled one.
FIX: Reject a prepended conversation that uses every turn in RedTeamingAttack and CrescendoAttack microsoft/PyRIT
RedTeamingAttack and CrescendoAttack used to send nothing to the target when the prepended conversation was exactly max_turns and report FAILURE, which reads as a successful defense rather than a broken run. They now raise a ValueError before the conversation is converted or written to memory, so a misconfigured run fails loudly instead of inflating your resistance numbers.
FIX GCG: drop unchanged suffixes with a separator space and survive all-rejected batches microsoft/PyRIT
The GCG candidate filter gets the same fix in LengthPreservingFilter.filter_candidates and the legacy MultiPromptAttack.get_filtered_cands, dropping unchanged suffixes whose separator space fooled the no-op check and surviving batches where every candidate is rejected. Attack runs that stalled or kept re-testing identical suffixes should now progress.
fix(deps): update dependency @modelcontextprotocol/server-filesystem to v2.4.0 promptfoo/promptfoo
The optional filesystem MCP server moves from 2.3.0 to 2.4.0, which fixes POSIX directory-listing confinement, backed by new regressions for a directory swapped between validation and listing. Worth taking if any of your targets expose filesystem access through MCP.
Tag probes with the NVIDIA x Microsoft enterprise risk taxonomy NVIDIA/garak
garak gains an openerm: namespace in garak/data/tags.misp.tsv covering 30 risk types from the NVIDIA x Microsoft Enterprise Model Risk Management Taxonomy, with 84 probe classes tagged. You can now select probes by enterprise risk category and group reports that way; the quiet tail also includes a Base32Converter and docs for the agent_breaker agent_config_file.
Action items
- → Upgrade promptfoo's filesystem MCP server to v2.4.0 if you run MCP targets with filesystem access promptfoo/promptfoo [plan]