Skip to content

v0.6.0

Choose a tag to compare

@nkratk nkratk released this 04 Apr 17:44
· 51 commits to main since this release

Close Detection Gaps — Prompt Leakage + Secret Detection

PromptLeakageGuard (+10 patterns)

  • Semantic extraction: "instructions you followed", "constraints given", "how you work"
  • Direct extraction: "extract/reveal system prompt", "trained instructions"
  • Academic framing: "for research purposes, demonstrate extraction"

OutputFilter (+7 secret patterns)

  • OpenAI project key (sk-proj-), Stripe (sk_live_), GitHub fine-grained PAT (github_pat_)
  • XML password tags, Basic auth header, npm registry tokens

Stats

  • 34 guards, 677 tests, zero dependencies