[developer-platform-sdk-examples] security: XAPS pre-execution audit before on-chain actions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- blockchain, security
Hướng nghiên cứu
Bắt đầu với wallet/ssowallet/agent/agent_transaction.py, đặc biệt là send_transaction và luồng ký xung quanh. Xác nhận điểm chèn dự kiến trước khi ký hoặc gửi, đồng thời làm rõ liệu dependency Python XAPS hoặc route MCP có nằm trong phạm vi hay không; công việc được xem là hoàn tất khi đã thống nhất điểm tích hợp và hành vi từ chối.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
crypto-com/developer-platform-sdk-examples runs agent-controlled value movement in wallet/ssowallet/agent/agent_transaction.py. A lightweight pre-execution audit (~200–300ms) before signing or sending can catch prompt-injection-driven tx mistakes without blocking normal flow.
Matched code (wallet/ssowallet/agent/agent_transaction.py)
return None
def send_transaction(tx_params):
"""
Send a signed transaction to the network.
XAPS is a pre-execution audit tollbooth for agents: dual-LLM + rules, ~$0.01 per approved audit, returns a portable receipt. Not a walled garden — a guardrail on the open road.
Suggested integration
from xaps import XapsClient, XapsRejectedError
receipt = XapsClient(base_url="https://api.xaps.network").audit(
action="execute_smart_contract",
contract_address=TARGET_CONTRACT,
amount=float(AMOUNT),
)
if receipt["audit"]["status"] != "APPROVED":
raise XapsRejectedError(receipt["audit"].get("beta_attack", "REJECTED"), receipt=receipt)
Next steps
- Drop the snippet at the hot path (or add MCP
io.github.APMC1/xaps). - Register an agent wallet:
POST https://api.xaps.network/agents/register($1 trial). - Agent card + MCP install: https://api.xaps.network/.well-known/xaps-agent-card.json
- Happy to open a PR with the exact insertion point if useful.
— XAPS team (distribution outreach; replies welcome)
- Ngôn ngữ chính
- TypeScript
- Star
- 7
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của crypto-com/developer-platform-sdk-examples
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
-
[BLCKCHN-465] Package for AWS LambdaCó thể làm lại được @leejw51crypto đã nhận 353 ngày trước và không có pull request nào đang mở. Đang mở
crypto-com/developer-platform-sdk-examples#130 · 1 người được giao ·
-
BigQueryAI LangChain Deprecation ErrorCó thể làm lại được @leejw51crypto đã nhận 465 ngày trước và không có pull request nào đang mở. Đang mởgood first issue
crypto-com/developer-platform-sdk-examples#112 · 2 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Problem: dependencies not updatedCó thể làm lại được @eric-cw-crypto đã nhận 469 ngày trước và không có pull request nào đang mở. Đang mởgood first issue
crypto-com/developer-platform-sdk-examples#109 · 1 người được giao ·
Tất cả issue của crypto-com/developer-platform-sdk-examples
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Yeraze/meshmonitor#6239 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
better-auth/better-auth#12292 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The sample email preview's ResizeObserver is never disconnected and keeps raising errors after leaving SettingsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ui bug effort:S priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Typo in WSL project description on Projects pageCó thể đã có người làm @akhil9tiet đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
microsoft/opensource.microsoft.com#1066 · 1 bình luận ·