Skip to content

add Indonesian prompt-injection phrases - #10

Merged
incr3d1ble merged 1 commit into
pennacle-security:mainfrom
laozhej:feat/3-indonesian-injection-phrases
Oct 28, 2026
Merged

incr3d1ble merged 1 commit into
pennacle-security:mainfrom
laozhej:feat/3-indonesian-injection-phrases

Conversation

@laozhej

@laozhej laozhej commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #3.

Summary

Implement Indonesian phrase detection for PIN001. Add a separate, case-insensitive phrase list for overriding previous instructions, revealing the system prompt, sending all data, concealing actions from the user, and acting without restrictions.

Descriptions in JSON and SKILL.md frontmatter remain the scope. The broad phrase tanpa batasan is restricted to bertindak tanpa batasan, so ordinary text about unlimited document size stays clean. Existing English matching and one finding per description remain in place.

Changes

  • Add bad_id/opencode.json with five triggering descriptions and good_id/opencode.json with ordinary Indonesian descriptions.
  • Cover both description formats, uppercase input, the optional semua, both system prompt and prompt sistem, and text outside description fields.
  • Update the README limitation, rule reference and Unreleased changelog. These are selected phrases, with the same false-positive/false-negative limits as other phrase matching.

Checklist

  • Tests written first: 15 positive cases failed before the patterns were added; both negative controls passed.
  • pytest -q -o addopts=: 123 passed.
  • ruff check . and git diff --check pass.
  • New patterns ship with a bad/good fixture pair.
  • README and CHANGELOG updated for the behavior change.
  • No network calls or scanned-content execution added.

AI assistance: implemented and reviewed with OpenAI Codex.

@incr3d1ble incr3d1ble left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed as maintainer. PR #9: all six SHAs verified against upstream tags via ls-remote before merge. PR #10: phrase precision checked against the good fixtures (no cross-fires), full fixture pair included, docs and changelog updated. Thank you for clean, complete work.

@incr3d1ble
incr3d1ble force-pushed the feat/3-indonesian-injection-phrases branch from 1f88329 to a14cbec Compare October 28, 2026 01:00
@incr3d1ble
incr3d1ble merged commit 9fff70b into pennacle-security:main Oct 28, 2026
2 checks passed
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.

Add Indonesian prompt-injection phrases to PIN001

2 participants