Skip to content

[acp-cli-demos] security: XAPS audit gate before wallet actions in skills #64

Description

@SentVan23

Context
Virtual-Protocol/acp-cli-demos exposes wallet-capable skills/tools (showcase/arcis-protocol/skills/arcis-idle-capital/arcis-x402-idle-capital.ts). The highest-leverage insertion point is right before build/sign/send — one guard covers dynamically loaded skill behavior.

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

  1. Drop the snippet at the hot path (or add MCP io.github.APMC1/xaps).
  2. Register an agent wallet: POST https://api.xaps.network/agents/register ($1 trial).
  3. Agent card + MCP install: https://api.xaps.network/.well-known/xaps-agent-card.json
  4. Happy to open a PR with the exact insertion point if useful.

— XAPS team (distribution outreach; replies welcome)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions