Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Merchants that rotate payTo on every 402 (Tavily, Browserbase)

Đang mở
#13 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
blockchain, typescript
Lĩnh vực
security

Hướng nghiên cứu

Begin with the pinned-payTo invariant described in the issue and the existing registry and 402 payment flow; their file paths are not named in the payload. First write a design note in the issue, then assess how the design can be tested with mock merchants that rotate payTo, including a hostile merchant. Done means the owner remains in control of every authorized payee and both test cases are covered.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement help wanted

Why

Agent Safe pins each merchant's payTo in the owner's registry: a 402 asking to pay any other address is refused. That is the core protection against redirected payments.

While testing live x402 merchants on Base (2026-10-07) we found two that return a different payTo on every 402 (five probes, five addresses each): Tavily (x402.tavily.com/search) and Browserbase (x402.browserbase.com). A fixed allowlist can't pay them today.

What

Find a way to authorize a rotating payee without letting the server choose who gets paid. Options to discuss:

  • The merchant publishes its payee set or a signing key at a well-known path on its own domain (e.g. /.well-known/x402.json), fetched by the owner at setup time, not by the agent at pay time.
  • A merchant-signed payTo attestation inside the 402, verified against a key pinned in the registry.
  • Per-merchant deposit/forwarder contracts.

Acceptance

  • A design note in this issue first.
  • Whatever ships keeps the invariant: nothing in a 402 can add a payee the owner didn't approve.
  • Tests with a mock merchant that rotates payTo, plus a hostile one that rotates to an attacker.
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
3 giờ 51 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeepFirstHQ/deepfirstsearch

Tất cả issue của DeepFirstHQ/deepfirstsearch

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.