docs: docs/README.md names competitors and contradicts the code on external services #163
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
docs/README.md(the user guide) violates the repo's own stated policy and isfactually wrong about what the extension does on the network.
1. Competitor names.
README.md:904-905states the policy: "We don'tmention 'the other wallet' by name in code or documentation. We're our own
thing."
RULES.md:121restates it: "No competitor mentioned by name in code ordocumentation."
docs/README.mdbreaks this repeatedly — MetaMask is namedfive times (the opening "Why AutistMask Exists" paragraph, the derivation-path
note under "Importing an Existing Wallet", and twice in the FAQ), and Rabby and
Rainbow are both named in the same opening paragraph.
Note the top-level
README.md:9-12handles the identical point correctlywithout naming anyone ("The most popular browser-based EVM wallet has a cute
mascot, but sucks now"). Use that as the model.
2. Factually wrong: phishing blocklist.
docs/README.mdasserts under"What AutistMask Will Never Do": "No phishing blocklists from third
parties. AutistMask does not phone home to check URLs against a remote
blocklist. It does maintain a local list of known scam addresses, but this is
shipped with the extension, not fetched from a server."
That is false.
src/shared/phishingDomains.js:16-17fetches a remote blocklistover the network, on every background startup (
src/background/index.js:618)and on a timer (
:619). The top-levelREADME.md:816-829documents thiscorrectly, so the two documents directly contradict each other and the user
guide is the wrong one.
3. Undercounts the external services.
docs/README.mdsays "Itcommunicates with three external services" and lists RPC, Blockscout, and
CoinDesk. The top-level
README.md:611-623documents two more: the phishingblocklist fetch and the best-effort Etherscan address-label lookup
(
src/shared/etherscanLabels.js). A privacy-focused user guide that omits twonetwork destinations is the most consequential kind of doc bug this repo can
have.
4. Wrong about when the password is needed.
docs/README.mdsays "Yourpassword is only requested when you send a transaction" and "Your password is
only requested when you send a transaction. Viewing balances, receiving funds,
and browsing transaction history never require your password." Message signing
and typed-data signing also require the password (SignApproval), as does
deleting a wallet (
src/popup/views/deleteWallet.js:52) and exporting aprivate key (
src/popup/views/addressDetail.js:338).5. Documents a control that does not exist.
docs/README.mdtells the userto click a "Have a private key instead?" link on the Add Wallet screen. There
is no such link;
src/popup/index.html:63-84implements three tabs(
tab-mnemonic,tab-privkey,tab-xprv) wired atsrc/popup/views/addWallet.js:280-282.6. Settings section is stale. It omits the network selector, the theme
selector, the UTC-timestamps option, the tracked-token list, "+ Add token", and
the About well — all of which exist and are reachable.
Scope
This is a documentation-only change. Touch
docs/README.mdand nothingelse. Do not change code, and do not change the top-level
README.md— theScreen Map and TODO corrections there are tracked separately.
The
isMetaMask: trueproperty atsrc/content/inpage.js:68is a codeinstance of the same policy problem but is a deliberate dApp-compatibility
shim; it is being raised with the owner separately. Leave it alone here.
Definition of done
docs/README.md. Rewrite theaffected passages in the style of
README.md:9-12— the point surviveswithout the names. The derivation-path compatibility note must still tell
the user what they need to know (that the standard
m/44'/60'/0'/0pathis used, so phrases are portable to and from other wallets) without
naming one.
with an accurate description matching
README.md:816-829and the code.actually contacts, matching
README.md:573-627: RPC, CoinDesk,Blockscout, the phishing blocklist fetch, and the Etherscan label
lookup — each with what data is sent.
message signing, typed-data signing, wallet deletion, and private key
export.
actual tabbed UI, including the xprv tab.
code. State in the PR which claims were verified and how.
make fmthas been run and the formatted result is in the commit(prettier, 4-space,
proseWrap: always).TODO.mdupdated in the same commit.make checkpasses.