Jim10's picture
uploading data
9463d4e verified
|
Raw History Blame Contribute Delete
8.71 kB
metadata
license: cc-by-4.0
task_categories:
  - text-classification
tags:
  - prompt-injection
  - agent-security
  - payments
  - near
configs:
  - config_name: default
    data_files:
      - split: main
        path: data/main.jsonl
      - split: redteam
        path: data/redteam.jsonl
      - split: external
        path: data/external.jsonl

Attested Payment Firewall scenarios

Labelled payment scenarios for testing a payment firewall for AI agents (NEAR hackathon entry "Attested Payment Firewall"). Each row is one scripted agent run: a user request, an inbox of context items (some untrusted, possibly carrying an injection) and the payment the agent then proposes. A firewall should hold or deny the attack rows and allow the benign rows.

Splits

  • main: team-written and generated scenarios, 150 benign and 150 attack (25 per family).
  • redteam: team-written attack-only scenarios aimed at the checker's weak spots.
  • external: scenarios derived from public benchmarks (see Provenance), equal numbers of benign and attack.

Fields

  • name: scenario id.
  • label: benign or attack.
  • family: none for benign rows; for attacks one of direct_injection, encoded_injection, indirect_injection, memory_poisoning, lookalike_receiver, fake_invoice.
  • user_request: the instruction the user gives the agent.
  • inbox: list of {source, ref, trust, text} context items. source is one of email, x_reply, web, memory, tool; trust is trusted or untrusted.
  • scripted_tool_call: {name, arguments} with arguments = {receiver_id, amount, memo}, the payment the agent proposes (amount is whole tUSDC as a string).
  • set: main, redteam or external.
  • source: team, or the public dataset id for external rows.
  • license: MIT for team rows, the source dataset's license for external rows.

The literal {NS} in account ids is a placeholder for the NEAR account suffix (for example demo.testnet).

Provenance

main and redteam are written by the project team (MIT). external rows are public benchmark text rewritten into payment form by agent/tools/build_external_scenarios.py: the benchmark text is placed in an untrusted inbox item next to a generated invoice email, and attack rows get an appended receiver line naming a synthetic account. They are not original benchmark rows and are not comparable to the benchmarks' own metrics.

PaySim- and BEC-derived data is excluded from this dataset: those sources (Kaggle PaySim and Kaggle adversarial BEC emails) are CC BY-SA 4.0.

Attribution

External scenario attribution

agent/scenarios/external/ext-*.json are derived from the public datasets below, rewritten into payment-scenario form by agent/tools/build_external_scenarios.py (each attack text gets an appended receiver line naming a synthetic ext-acct-NNN account; each scenario also carries a generated invoice email for a known payee). Attack amounts equal the invoice amount so that the label cannot be read from an amount mismatch (decided by Jim, 2026-11-13). The scenarios are modified works; the license of each source applies to the text taken from it. All URLs are pinned to the revision shown. Refs and receiver ids carry neither the label nor the benchmark name, because both are sent to the decision model.

uiuc-kang-lab/InjecAgent (injecagent)

ethz-spylab/agentdojo (agentdojo)

nvidia/Nemotron-RL-Agentic-Indirect-Prompt-Injection-v1 (nemotron)

3nesdeniz/agentic-prompt-injection-boundary-pairs (boundary)

microsoft/llmail-inject-challenge (llmail)

Known label correlates

The set is not label-neutral beyond the metadata above. Remaining correlates, computed from the built set:

  • inbox[1].source: benign email=76, benign tool=24; attack email=0, attack tool=100.
  • 100 of 100 attack texts name their receiver account; 0 of 100 benign texts name an ext- account.
  • The llmail benign emails are unrelated to payments; the boundary-pairs benign texts are hard negatives.