fix: block additional you-are-now jailbreaks - #127
Conversation
|
Two things about the rebase, both consequences of the release landing under you rather than anything First, the good news: I checked your matcher against the strings themselves rather than reading the Your changelog bullet needs to move up a section. You anchored it under the The fixture corpus gained six rows you don't have yet.
plus the three benign Sorry for the drip-feed — I said "rebase before opening the PR" when it had already been open two |
The enumerated injection matcher missed five attack-shaped continuations documented in phasespace-labs#126. Add each string to the committed corpus and widen only the existing you-are-now branch, preserving the safe technical-prose cases and the intentionally unchanged script, JavaScript URI, and system-prompt branches.
The v0.13.0 cut retitled the previous Unreleased section, so a rebase landed the phasespace-labs#126 security note in a frozen released block. Signed-off-by: WilliamK112 <164879897+WilliamK112@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
4737fb5 to
444dcee
Compare
|
@Paul-Kyle Rebased onto current Changelog: the Fixtures after rebase: 24 blocked / 9 safe. All 33 rows match allow/block against the matcher, including the three release-added ignore-instructions attacks, the three benign Ready for merge on green. |
Closes #126
Why
PR #124 intentionally replaced the broad
you are nowmatcher with anenumerated set of attack-shaped continuations. Five concrete jailbreak forms
remained outside that enumeration, including the well-known
in DAN modeshape.
What changed
you are nowbranch to cover:uncensoredin DAN modeevil assistantadministratorable to bypass ... safety rules<script>,javascript:, andsystem prompt:patterns unchangedThe existing safe corpus is unchanged, including
You are now ready to run the migration.andYou are now a developer on the migration project.Verification
Red-first corpus run, before changing the matcher:
After the matcher change:
tests/test_injection_scanner.pyplustests/integration/test_security.py:57 passed
ruff check palinode/ tests/ scripts/bandit -r palinode/ -ll: no medium/high findingsgit diff --checkAI assistance disclosure
I used OpenAI Codex to inspect the issue and prior implementation, make the
focused code/test/changelog changes, and run validation. I reviewed the final
diff and test evidence before submitting this PR.