FEAT: Cross-principal memory leakage scenario for agents with shared long-term memory
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The payload names the existing Leakage scenario and the substring/regex scorers as reference points, but no file paths. Start by reading how Leakage and those scorers are built, and ask the maintainers how multi-principal targets should be modelled before writing code. Done means a two-phase scenario that seeds canaries as one identity, probes as another, and reports leak rate per probe strategy.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
The Leakage scenario tests whether a model discloses training data, PII or confidential
information. It doesn't cover a growing agent-specific path: data that one user was entitled
to see is written into a shared long-term memory (e.g. a workspace-level store), and later
retrieved for a different user who is not entitled to it.
In this pattern, each individual check passes. The source query is authorized for user A,
the memory read is authorized by namespace or workspace membership for user B, and keyword
input/output filters pass because the second user's questions don't use restricted terms.
The leak exists only across sessions and principals, so single-conversation probing doesn't
surface it.
Two public descriptions of the pattern are in the OWASP GenAI Data Security Initiative's
trace dataset (memory_read_write category): an unintentional variant
(GenAI-Security-Project/GenAI-Data-Security-Initiative#102) and an adversarial variant where
a member deliberately words queries to extract restricted derived items (#104). Related
published work on query-only extraction from agent memory: Wang et al., "Unveiling Privacy
Risks in LLM Agent Memory" (arXiv:2502.13172).
Describe the solution you'd like
A scenario that runs in two phases against an agent target that supports per-user identity:
- Seed: as principal A, send prompts that cause the agent to read restricted data and
persist something derived from it. Restricted values are unique canary tokens, so leakage
can be detected deterministically. - Probe: as principal B, who lacks the entitlement, send benign and adversarial
(paraphrased, keyword-free, verbatim-recall) prompts drawn from a seed dataset. - Score: a true/false scorer that flags any of A's canaries in B's responses. This could
build on the existing substring/regex scorers, with no LLM judge needed.
Output: leak rate per probe strategy, which shows whether keyword filtering vs.
entitlement-aware memory reads actually stops the path.
Describe alternatives you've considered, if relevant
- Extending
Leakagedirectly. It's model-focused and single-principal, so a separate
scenario (or a clearly separate technique set) seems cleaner, but I'm happy to follow your
preference. - Shipping it as an external example notebook rather than a built-in scenario.
Additional context
I'd like to implement this if it fits PyRIT's direction, starting with the seed dataset and
the canary scorer, then the scenario. Guidance on how you'd want multi-principal targets
modelled would be very helpful before I start.
Disclosure: I contributed the two OWASP traces referenced above and have published on
lineage-aware access control for agent memory.
- 主要言語
- Python
- スター
- 4.6k
- フォーク
- 962
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 354
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/PyRIT のほかの issue
-
BUG: label queries only return the final conversation of an attack対応中かも @u7k4rs6 が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
microsoft/PyRIT#3095 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
microsoft/PyRIT#3325 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Detection coverage gaps: 47 missed payload classes across 9 output scorers対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 53/100
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
メンテナーはふだん 2 日以内に返信
-
BUG: Tone, Tense, Translation, Noise, ScientificTranslation and Variation converter identifiers ignore a custom prompt_template対応中かも @ShivamSharma43 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
メンテナーはふだん 2 日以内に返信
microsoft/PyRIT の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
SublimeText/AdvancedNewFile#211 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Imbad0202/academic-research-skills#987 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Pull-through from gcr.io returns 500 when pulling using podman/buildah対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンIssue Triage-Needed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pulp/pulp_container#2581 ·
メンテナーはふだん 1 日以内に返信