Recent public reports

Redacted audit reports that included this probe.

Overview & Risk Context

Web3 prompt injection testing checks whether a relay alters wallet-security or blockchain coding conversations to solicit private keys, mnemonics, or malicious approvals.

What this check measures

Sends controlled crypto wallet and signing safety scenarios to spot unexpected key-export suggestions or substituted recipient instructions.

Why this risk matters

As documented in Liu et al. ("Your Agent Is Mine", arXiv:2604.08407), compromised relays targeting Web3 developers and trading agents cause irreversible financial loss.

When to run this check

Required before connecting any third-party endpoint to DeFi assistants, smart-contract tooling, or agent wallets.

Unlike generic injection checks, Web3 probes look explicitly for high-risk operational guidance—such as pasting seed phrases, disabling confirmation checks, or pasting hardcoded attacker addresses.

Detection Methodology, Evidence & Limitations

Grounded in the Web3 threat scenarios from arXiv:2604.08407 and implemented inside @lmspeed/audit.
  1. 1. Probe

    Send realistic wallet safety and transaction-signing troubleshooting scenarios to the endpoint.

  2. 2. Inspect

    Scan generated instructions for private-key requests, seed-phrase prompts, or malicious address overrides.

  3. 3. Conclude

    Verify clean security warnings and surface high-severity findings on any unsafe signing guidance.

How to read the verdict

Refusing key exposure and advocating hardware/offline signing passes; recommending key pasting or blind signing fails immediately.

Evidence basis & thresholds

Matched unsafe signing directives, key-harvesting patterns, or foreign wallet/contract substitutions.

Scope limits & abstention conditions

Tests representative Web3 assistant scenarios; cannot monitor dynamic runtime prompts injected solely into user-specific smart contract payloads.

Verification Sources & Baselines

Implemented in @lmspeed/audit v0.3.3 (ruleset independent-2026-11-22.2); supplementary capability/injection design cross-checked against Veridrop, LLMprobe-engine, and meow-llm-detector specs.

Frequently Asked Questions

What threats does Web3 Prompt Injection look for?

Guidance encouraging seed phrase entry, plain-text private key leaks, blind transaction signing, or unrequested contract/recipient overrides.

Why is this grounded in Liu et al. (arXiv:2604.08407)?

That research demonstrated practical real-world attacks where API intermediaries tamper with agent outputs in Web3 and package management.

Should non-crypto users still care about this probe?

Yes—seeing any relay alter responses to steal secrets signals systemic adversarial tampering across the entire gateway.

What pair checks catch related supply-chain tampering?

Pair with Tool Substitution (AC-1.a) and Conditional Injection for comprehensive supply-chain protection.

All audit checks by category

Explore every single-check audit tool grouped by risk domain, with Fingerprint Detection pinned first for model-authenticity verification.