Skip to content

Docs have no guidance on what to review before signing or how to treat unsolicited assets #3146

Open

Description

@kalepail

Note

Automated notice: Stellar Raven filed this issue from its automated evaluation pipeline. The issue includes evidence and a public source record. Please verify the live surface before you act.

Finding

Stellar Docs explain how an application asks a wallet to sign. They do not explain what a person
or a wallet must review before approval.

The docs hold the wallet tutorial, the SEP-7 guide, and the Varial signing guides. The only review
guidance is "Inspection before signing" in the agent CLI guide, which addresses agents. No page
lists the checks for a signing request from a website. No page explains why unknown tokens and
claimable balances appear in an account, or how to treat them.

Both topics are frequent user questions. A wrong answer can cost the user the account.

Evidence

Read-only reproduction against the docs repository:

gh search code "blind signing" --repo stellar/stellar-docs
gh search code "unsolicited" --repo stellar/stellar-docs

Neither search returns a documentation page. The docs search returns developer signing guides and
API reference pages for both questions.

Additional recorded evidence:

  • 2026-11-14T05:04:48Z Raven execute, signing: stellarDocs.search_docs('what to check before signing a transaction requested by a website') returned the agent CLI section 'Inspection before signing', 'Signing Soroban contract invocations', two x402 pages, and the Lab section 'Transaction Validation'. stellarDocs.search_wallet_dapp_docs('phishing blind signing verify domain before signing') returned the wallet SEP-7 and SEP-10 pages and two Varial developer guides. None lists what a person checks before approval.
  • 2026-11-14T05:04:48Z same run: scout.searchResearch (8 rows) returned Signatures and Multisig, SEP-0007, SEP-0008, CAP-0002, and build guides. lumenloop.search_content_semantic returned the SDF scam guide of July 2022 and two third-party wallet-security articles.
  • 2026-11-14T05:06:50Z Raven execute, unsolicited assets: stellarDocs.search_docs('unknown tokens appear in wallet unsolicited claimable balance safe to claim') returned the claimable balances guide and three Horizon reference pages. No returned text mentions unsolicited, spam, or airdropped assets. scout.searchResearch (6 rows) and lumenloop.search_content_semantic (6 rows) returned no guidance.
  • 2026-11-14 gh search code in stellar/stellar-docs, outside meetings: "blind signing" 0 results, "unsolicited" 0 results.
  • Closest SDF source: https://stellar.org/blog/foundation-news/how-to-protect-yourself-from-scammers (updated July 2022). The round's verify lane quoted its advice on fake websites and secret keys (.agents/rounds/2026-11-14-golden-coverage-audit/gap/verify-gap.json, q-signing-safety-website-request). SEP-0007 requires a wallet to verify origin_domain, which covers the domain check only.
  • The round's gap and verify lanes reached the same result on 2026-11-14 (gap/gap-1.json and gap/verify-gap.json). The taxonomy mapper found no canonical page for unsolicited assets (map/taxonomy.json, wallets.unsolicited-assets).
  • Classification: docs-content, missing guidance. Placement is a judgment: Stellar Docs already host the wallet tutorial, the SEP-7 guide, and the Varial signing guides, so signing review fits there. No canonical page exists elsewhere.
  • Affected golden cases: eval/qa/corpus/battery/retail-consumer/q-signing-safety-website-request.json and eval/qa/corpus/battery/retail-consumer/q-raph-unsolicited-airdrop.json. Ledger: .agents/rounds/2026-11-14-golden-coverage-audit/gaps/GAPS.md.

Recommendation

Add one page under Build > Apps > Wallet, for wallet developers and their users. Suggested outline:

  1. Before you sign. Confirm the site domain and the selected network.
  2. Read every operation. Check the destination, the asset code and issuer, and the amount.
  3. Operations that take control. Explain set_options signer, weight, and threshold changes,
    and account_merge. State that these can hand over or close the account.
  4. Contract calls. Check the contract, the function, and each authorized sub-invocation.
  5. Hash signing. Do not sign a hash or any content that the wallet cannot display.
  6. Scan warnings. A wallet warning helps. A missing warning does not prove safety.
  7. Unsolicited assets. Anyone can create an asset or a claimable balance for any account.
    Receipt proves nothing about the sender. Verify the issuer through an independent source. A
    non-XLM asset needs a trustline, which adds a reserve.
  8. Never enter a secret key or recovery phrase on a website.

Link the page from the Varial signing guides and from the SEP-7 guide.

Source Record

Raven recorded this finding as sd-108 (stellar-docs, discovered 2026-11-14).

Public source record: improvements/stellar-docs/sd-108-wallet-user-signing-safety-guidance-missing.md

Immutable source snapshot: 5e6496cec9de

Resolution Handoff

When you deploy a fix, link the resolving issue or pull request to the source record.
Then notify Raven through:

https://github.com/stellar-experimental/stellar-raven/issues/new?template=upstream-improvement-ready.yml&title=%5Bupstream-ready%5D%20sd-108%3A%20

Include the finding ID and the resolving issue or pull request.
Include the deployed version or timestamp. Include the smallest live recheck.
Raven verifies the live surface before it sets the finding to fixed-upstream.
An issue closure or merged pull request does not prove the fix.
A separate reviewer repeats the live check before Raven retires the active finding.
Raven keeps a commit-pinned snapshot when one is available.

Activity

  1. added
    raven
    on Nov 14, 2026
  2. stellar-doxie commented on Nov 14, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because it is a Raven-filed issue (raven label).

    I will check the current docs for signing-review and unsolicited-asset guidance. Next update follows.

  3. stellar-doxie commented on Nov 14, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because it is a Raven-filed issue (raven label).

    Decision needed: should the developer docs carry signing-safety and unsolicited-asset guidance, and for which reader?

    @kaankacar @ElliotFriend

    What I checked on main:

    • The gap is real. No page lists what to check before approving a signing request. No page explains unsolicited assets or claimable balances.
    • The closest content is "Inspection before signing" in the agent CLI guide, which is written for agents.
    • "Application security" in docs/build/apps/application-design-considerations.mdx covers TLS only. Its guide link uses an old stellar.org URL that redirects to /docs/build/security-docs/securing-web-based-projects.
    • Build > Security Docs has a user-facing monitoring template, so the docs already address end users in one place.
    • I found no open PR on this topic.

    Options:

    1. Wallet developer page under Build > Apps > Wallet. It covers what a signing screen must show and warn about (each operation, set_options signer and threshold changes, account_merge, contract auth sub-invocations, hash signing, the SEP-7 origin_domain check). It also covers how to present unsolicited assets. I can draft it.
    2. End-user page in Build > Security Docs, next to the user monitoring template. It has the same checklist, written for the person who signs.
    3. Out of scope for the developer docs. End-user safety stays on stellar.org. A maintainer closes this issue.

    This is security advice, where a wrong line can cost a user the account. So I do not write it until you pick the reader and the place.

  4. added
    bot:needs-decision
    on Nov 14, 2026
  5. KHADEVS commented on Nov 14, 2026

    @KHADEVS

    Hi, adding a data point for the decision, since I work on wallet signing screens.

    I'd lean toward option 1, with a short user checklist at the end (or option 2 linking to it). Users can only check what their wallet shows them, so the developer page is where this guidance has the most effect.

    Three things I'd add to the list, in case they help:

    • Authorization entries signed on their own (a dapp asking the wallet to sign only an auth entry): the user never sees the transaction the entry ends up in, and until the signature's expiration ledger, whoever holds the entry can use it. The screen should show the whole invocation tree and that expiration ledger.
    • Operations whose source account differs from the transaction source: the user's signature can authorize operations on their account inside a transaction someone else builds and pays for.
    • Time bounds: without a max time, a signed transaction stays valid until the account's sequence number moves on, so it can be submitted long after the user signed it.

    Happy to draft whichever option you pick, or to review the draft.

  6. stellar-doxie commented on Nov 14, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Back on this because @KHADEVS replied.

    Thanks. I checked your three points against the docs. All three hold:

    1. Auth entries signed alone. The signature covers the invocation tree, nonce, and expiration ledger, not the transaction. Anyone who holds the signed entry can submit it once, until signatureExpirationLedger. See Auth entry structure.
    2. Operation source accounts. Each operation can name its own source account, and that account's signers must authorize it. Another party can build and pay for the transaction. See Operations and transactions.
    3. Time bounds. With maxTime 0, a signed transaction stays valid until the source account's sequence number moves past it. The same page already advises time bounds on every transaction.

    If a maintainer picks option 1 or 2, these three go into the checklist.

    The decision stays with the maintainers. Your vote for option 1 is noted. Who drafts the page is also their call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisionraven

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions