Skip to content

update prompt improvement #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2025
Merged

Conversation

melonattacker
Copy link
Collaborator

  • Updated defense techniques against prompt injection attacks, replacing "Signed Prompt" with "Random Sequence Disclosure" and "Rule Reinforcement" with "Instruction Defense"
  • Enhanced "Spotlighting" technique using Unicode character U+E000 for marking spaces in user inputs to improve input isolation
  • Removed "Structured Output" defense technique and updated all related documentation and code examples

@melonattacker melonattacker merged commit 412b8d0 into main Jun 3, 2025
2 checks passed
@melonattacker melonattacker deleted the feature/fix-hardening-item branch June 3, 2025 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant