Scan your whole stack
Are you using @lumenwipe/verify?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.8.0
@lumenwipe/verify was last scanned on 24 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.0 LATEST | 24 Nov 2026 | No rules fired |
| 0.7.0 | 24 Nov 2026 | No rules fired |
| 0.6.0 | 19 Nov 2026 | No rules fired |
| 0.5.0 | 17 Nov 2026 | Not shown |
| 0.4.0 | 10 Nov 2026 | Not shown |
Findings for v0.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.8.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The verifier the LumenWipe web app runs before every signature, as a package. It decodes an
API-built, unsigned close transaction and asserts it does exactly what the user asked; it throws
VerificationError on any mismatch, and you sign only after it returns.
It is not a port. The bundle is compiled from the web's own
apps/web/lib/stellar/verify.ts,
exit-expectations.ts and verification-error.ts, so there is one implementation. A shared
conformance vector set (vectors/close-v1.json) runs against this package and against the web
verifier in CI.
It also ships the web's trust anchor for an allowance revocation,
verifyRevokeAllowanceTransaction, compiled from
verify-revoke-allowance.ts
with its own vector set (vectors/revoke-allowance-v1.json).
npm install @lumenwipe/verify @stellar/stellar-sdk@17.4.0
@stellar/stellar-sdk is a peer dependency and is never bundled. The peer is pinned to the exact
version the web verifier is tested with.
runCloseimport { LumenWipeClient, runClose } from "@lumenwipe/sdk";
import { exitExpectations, verifyCloseTransaction } from "@lumenwipe/verify";
const account = await client.getAccount(source); // the read the user reviewed
const servedRegistry = await client.getExchangeRegistry(); // optional, see below
await runClose({
// ...getTransactions, requiredWeight, sign, submit
verify: (tx) =>
verifyCloseTransaction({
unsignedXdr: tx.xdr,
network: "testnet",
expected: {
source,
destination, // typed by the user
nativeBalance: account.nativeBalanceLumens,
memo: null, // the memo the user confirmed
memoType: null,
claimTrustlineAssets: [],
accountSigners: account.signers,
accountThresholds: account.thresholds,
transfers: {}, // per-asset choices the user made
tokenTransfers: {},
classicConversions: {},
tokenConversions: {},
sponsoredEntries: account.sponsoredEntries,
...exitExpectations(account, "testnet"),
},
servedRegistry,
}),
});
Never from the transaction under verification, and never from the API's intent summary.
| Input | Source |
|---|---|
destination, memo, memoType |
What the user typed and confirmed. |
transfers, tokenTransfers, classicConversions, tokenConversions |
The user's per-asset choices, with the balances and quotes they were shown as floors. Pass {} for none. |
claimTrustlineAssets |
The CODE:ISSUER of each claimable balance the user chose to claim. |
source, nativeBalance, accountSigners, accountThresholds |
The account read the user reviewed (client.getAccount, or a round's sourceAccount). Empty signers fail closed. |
The DeFi fields (exitContracts and the rest) |
exitExpectations(account, network): the same read plus the contract registry bundled here. |
sponsoredEntries |
The same read's sponsoredEntries, as is. Omitted, every sponsorship revoke is refused. |
Whether a destination is a listed exchange, whether it needs a memo and of which type, and
whether the merge must go through the shared intermediary are not inputs. The verifier derives
them from the exchange registry bundled in this package, tightened by servedRegistry when you
pass one.
requiresMediator(address, network) exposes that same decision. An exchange close is one
transaction holding the merge into the intermediary and the intermediary's forward, which the API
co-signs (mediatorSign). Decide whether to ask for that co-signature with
requiresMediator(destination, network) on the address the user typed and the network the close
runs on, never from the API's response.
A registry entry may carry "network": "testnet". Such an entry applies on testnet only: on
mainnet its address is not listed, so requiresMediator answers false there and the verifier
checks a close to it as a close to a plain wallet. An entry without the field applies on every
network.
This package bundles the exchange and contract registries as of its release, and it reads no network at all. A new version is released on every registry change.
verifyCloseTransaction takes an optional servedRegistry: the body of
GET /v1/config/exchange-registry (client.getExchangeRegistry()), fetched by you and passed
as is. It is merged over the bundled exchange registry with the same stricter-only rule the web
app applies to the copy it is served. The snapshot is not authenticated; it is safe to pass
because it can only make verification stricter:
A bundled exchange is never removed, and its memo requirement and its refusal of a direct merge are never turned off.
An address the snapshot adds is checked as an exchange: a direct merge into it is refused if it needs the intermediary, a memo is required if it needs one, and a transfer to it is refused.
It never enables the mediated hand-off: that stays limited to the exchanges bundled here
(requiresMediator, which takes no snapshot). An address only the snapshot lists as needing the
intermediary refuses both a direct merge and the hand-off until you upgrade. Accepting the
hand-off on served data would let the API, which also builds the transaction and reports the
balance the forward is checked against, choose which closes go through an intermediary.
It never changes the network a bundled exchange applies on: a testnet-only entry stays
unlisted on mainnet, and an entry listed on every network stays listed on both. An address it
adds with "network": "testnet" applies on testnet only.
Its validUntil may move the bundled expiry later, by at most 120 days, and never earlier.
An entry that is not well formed (a network other than "testnet" included) is dropped. A snapshot that is not a registry at all (no
entries list, or no lastVerified or validUntil string) is refused with
registry_snapshot_invalid rather than ignored.
It never decides a memo type, because a memo sent under the wrong type reaches the exchange
and is credited to nobody. A bundled exchange it lists with a different memoType refuses the
close with registry_memo_type_conflict until you upgrade. For an address only the snapshot
lists, the type the user confirmed is the one checked, and a snapshot type that differs from
it refuses the close with registry_memo_type_unconfirmed.
An entry's name is taken from it, as in the web app, and used only in refusal messages.
Without a snapshot:
validUntil passes, every close to a listed exchange is
refused until you upgrade.verifyCloseTransaction also reads the system clock for the transaction's expiry: a transaction
valid for more than 900 seconds from now is refused.
verifyRevokeAllowanceTransaction checks an API-built revocation before the signature: exactly
one approve(owner, spender, 0, expiration) on the token, sourced from the owner, with no memo,
a fee of at most 10,000,000 stroops, valid for at most 900 seconds, authorized only by the
owner's own source account and naming no other account or contract. Pass the allowance your
screen showed, never values read from the transaction:
import {
RevokeAllowanceVerificationError,
verifyRevokeAllowanceTransaction,
} from "@lumenwipe/verify";
import { Networks } from "@stellar/stellar-sdk";
try {
verifyRevokeAllowanceTransaction(unsignedXdr, Networks.PUBLIC, { owner, token, spender });
} catch (error) {
if (error instanceof RevokeAllowanceVerificationError) console.error(error.code);
throw error;
}
It throws RevokeAllowanceVerificationError with a stable code
(RevokeAllowanceVerificationErrorCode), or VerificationError when the envelope cannot be
decoded at all. The optional fourth argument is the current Unix time in seconds; it defaults to
the system clock.
vectors/close-v1.json (schema 1) lists accepted and rejected transactions with the full
VerifyCloseInput for each, the clock to set (nowSeconds), and for a rejection the
VerificationError code and exact message; match on the code, which is stable across releases. Each rejection is one named mutation of an accepted vector: its transaction, its servedRegistry snapshot, or both. Pass input.servedRegistry along when a vector has one. Every
key in it is public; no secret is stored. Use it to test your own verifier, or a wrapper around
this one:
import vectors from "@lumenwipe/verify/vectors/close-v1.json" with { type: "json" };
vectors/revoke-allowance-v1.json (schema 1) does the same for
verifyRevokeAllowanceTransaction: each vector gives the envelope, the network passphrase, the
expectation and nowSeconds to pass as the fourth argument, and for a rejection the error
class, code and exact message.
Apache-2.0
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.