jepeta.
security

Before a Base Swap: Check the Token and the Spender Separately

A token scan identifies the asset contract. A spending approval also identifies the address allowed to spend that token. Before a swap, identify the asset you intend to trade and the spender requesting access, then inspect the allowance and requested action. A favorable token-screening result does not establish that a router, website or approval request is trustworthy.

Concept illustration of a permission gate between two tokens before a swap.
Jepeta · Original AI concept illustration; not a product photo or evidence

Key takeaways

  • A token scan identifies the asset contract.
  • A spending approval also identifies the address allowed to spend that token.
  • Before a swap, identify the asset you intend to trade and the spender requesting access, then inspect the allowance and requested action.
  • A favorable token-screening result does not establish that a router, website or approval request is trustworthy.
In this article

Record two identities before opening the wallet prompt

Start with a small decision record: the Base network, token contract, intended application, expected spender and action. Treat these as separate fields. A token symbol or familiar logo is not an exact identity. For example, a scan may describe the asset while the wallet prompt grants permission to a router. Matching only the token leaves the spender question unanswered. This example is a reasoning exercise, not a report of a real attack or a tested application.

What the approval actually authorizes

MetaMask explains that a token approval permits a spender to move a specified token under an allowance. Inspect the spender address and spending cap in the wallet. A broad cap can persist beyond the intended transaction; it is not limited to the amount currently held. This discussion concerns ordinary ERC-20 allowances. Other authorization mechanisms require their own review.

A decision table for mismatched evidence

Use this editorial checklist to decide what still needs an answer before signing.

ObservationUnresolved questionNext verification
Token scan is usable; spender differs from the expected routerIs the approval for the intended application?Compare the exact spender against independently obtained application documentation
Spender matches; cap is much larger than the intended amountIs this standing permission needed?Inspect whether the supported workflow allows a smaller cap
Wallet describes a different action from the websiteWhat will the request actually authorize?Stop until the discrepancy is explained
Scan is old or lacks required evidenceWhat is known about the token now?Refresh the exact-contract evidence

The table is a set of stop-and-check prompts, not a scoring algorithm. Passing one row does not settle the others.

Keep application review outside the token verdict

Base’s application guidance calls for publicly verified contract code, minimizing exposed funds and onchain actions that match the interface. Those checks concern application behavior. A token scanner does not certify that a website button calls the contract you expect. Keep a record of the documentation used to identify that contract, and reopen the question if the requested address changes.

After the attempted swap

Record whether the approval and intended action actually confirmed. An approved allowance and a completed swap are different events; a failed or abandoned interaction should not be treated as proof that permission disappeared. Ethereum.org’s revocation guide explains network-specific allowance review. Disconnecting a site is a separate action from changing onchain authorization. For cleanup, use the permission review guide and verify the resulting chain state.

Scope and evidence

This framework was prepared from linked wallet, Base and Ethereum documentation. It does not inspect a reader’s wallet, endorse a spender, simulate a swap or change Jepeta’s risk policy. Keep sensitive wallet credentials outside any review record. A useful record explains the exact identities, unresolved questions and observations used for a decision; it cannot guarantee an outcome.

Evidence and source-review method

  • source audit — Source audit of Base, MetaMask and Ethereum.org separates token-contract screening from the spender permissions granted by an approval. · observed Oct 5, 2026
  • source audit — Documentation-based decision framework separating token identity, spender identity, allowance scope and transaction confirmation. Examples are hypothetical; no wallet or swap was tested. · observed Oct 17, 2026

Editorial transparency

This article was prepared with AI-assisted tools and an evidence-oriented source review. Citations and limitations are provided below. Documentation comparison is not a hands-on test; historical content is not automatically certified under the later independent editorial review process. Editorial standards and corrections.

Sources

Continue reading

Browse all articles