Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@nadohq/mobile-client

Latest version: v0.83.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: frankinkfnd, jeuryink, przemekink
10 Stars
17 Forks
50 Versions
11.0K Downloads
HTML Repo language

Scan summary

@nadohq/mobile-client was last scanned on 25 Nov 2026 at version 0.83.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 50 versions; the latest 5 were published within 4 days (22–25 Nov 2026).
  • Findings: No rules fired in version 0.83.0.
  • Downloads: 10,962 downloads.

Versions

50 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.83.0 LATEST 25 Nov 2026 No rules fired
0.82.0 25 Nov 2026 No rules fired
0.81.0 23 Nov 2026 No rules fired
0.80.0 23 Nov 2026 Not shown
0.79.0 22 Nov 2026 Not shown

No rules fired in 0.83.0

Findings

Findings for v0.83.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.83.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@nadohq/mobile-client

HTTP client for the Nado mobile service API. Manages usernames, bios, avatars, public profile lookups, global and session-based trade feeds, the follower/following graph, privacy settings, and push notification devices/preferences. Public queries require no wallet; authenticated operations use EIP-712 + msgpack signing.

Full SDK Documentation

Usage

import { MobileClient, MOBILE_CLIENT_ENDPOINTS } from '@nadohq/mobile-client';
import { createWalletClient, http } from 'viem';
import { privateKeyToAccount } from 'viem/accounts';
import { ink } from 'viem/chains';

const walletClient = createWalletClient({
  account: privateKeyToAccount('0x...'),
  chain: ink,
  transport: http(),
});

const mobile = new MobileClient({
  url: MOBILE_CLIENT_ENDPOINTS.inkMainnet,
  walletClient,
});

// Unsigned public lookups
const availability = await mobile.getUsernameAvailability({ displayName: 'Alice.One' });
const [profile] = await mobile.getProfiles({
  subaccounts: [{ subaccountOwner: '0x...', subaccountName: 'default' }],
  include: { followCounts: true },
});

// Signed operations
await mobile.setUsername({
  subaccountOwner: walletClient.account.address,
  subaccountName: 'default',
  chainId: ink.id,
  verifyingAddr: '0x...',
  displayName: 'Alice.One',
});

API Surface

Send Money
  • submitTip submits an owner-signed WithdrawCollateralV2 through Mobile. The outer Mobile authorization supports linked signers; the inner withdrawal still requires the owner signature.
  • getTipDetail reads participant-visible detail, including sender fees and Gateway state or recipient read state.
  • getTipsHistory reads paginated incoming and outgoing Tip activity in server order.
  • getReceivedTips reads unseen, verified-credit cards, oldest first.
  • markTipsSeen acknowledges displayed Tip IDs. Tip reads do not acknowledge them, and notification read state is managed independently by markNotificationsSeen.
  • getTipCollateralMappings reads optional attribution for exact Indexer submission indices. Existing Indexer deposit and withdrawal amounts remain unchanged.

Build the inner withdrawal with engine.payloadBuilder.buildWithdrawCollateralV2Payload(...), using product 0, the recipient DDA as sendTo, and appendix zero. Its amount uses native asset units (USDT0 has six decimals). Pass the resulting transaction and owner signature to Mobile:

const result = await mobile.submitTip({
  subaccountOwner: walletClient.account.address,
  subaccountName: 'default',
  chainId,
  verifyingAddr,
  recipientSubaccount,
  originPostId: null,
  note: 'Nice call!',
  backgroundId,
  visibility: 'private',
  withdrawal: withdrawalPayload.tx,
  withdrawalSignature: withdrawalPayload.signature,
  maxFeeX18: confirmedFeeX18,
});

The maxFeeX18 input is the user-confirmed fee cap in x18 units. Response amounts such as netAmount, senderCost.maxFee, and collateral mapping totals are BigNumber values that also retain x18 units. Use removeDecimals for display. Unknown amounts remain null; an explicit zero is a known amount. Versions and submission indices remain exact strings. See method and parameter JSDoc for status, retry, authorization, and pagination details.

Public Queries

getAvatarPresets, getUsernameAvailability, getProfiles, searchProfiles, getFollowers, getFollowing, getFeed, getNotificationPreferences, getRegisteredWallet, getForYouFeed, getTopTradersFeed, getFriendsFeed, getProfileFeed, getMarketFeed, getPositionFeed, getFeedItem, getFeedUpdates, getPositionLookup, getSelfFeedPositions, resolveFeedPosition, resolveFeedAction, getFeedChartDrawing, getFeedComments, getPositionHistory, getPositionHistoryAll, getPositionThoughts, getPositionChart, getPositionWatchers.

getNotificationRegistrationV2 and getNotificationSettingsV2 use an active Expo token as their credential, not a wallet signature. Before displaying wallet settings, compare the wallet returned by getRegisteredWallet with the connected wallet (case-insensitively).

getProfiles is the only profile route: it batches up to 25 subaccounts, returns them in the requested order, and carries follower totals (include.followCounts) and a follow summary (include.followSummary.viewAs) as opt-in includes, so use it for a single subaccount too. The backend still serves the older singular profile request for compatibility, but it returns base fields only and costs more weight than the batched equivalent, so the SDK does not expose it.

searchProfiles finds claimed profiles by username prefix, paged in ascending username order with an exact match first. It takes the same include as getProfiles, which caps the page at 25 instead of 50 and weighs far more against the shared IP rate limit, so search without it while the user types and enrich once the prefix settles. A cursor is bound to the query alone, so an enriched page can continue an unenriched search.

getFollowers and getFollowing take an optional viewAs, which selects a viewer perspective rather than proving one: with it the page is ordered familiar-first and every row carries an isFollowing, without it the page is ordered by the listed relationship alone and isFollowing is absent rather than false. As with include.followSummary.viewAs, an unsigned route means the claimed viewer is not verified.

getFeed returns the global trade feed. Session-based feeds include getForYouFeed, getTopTradersFeed, and getFriendsFeed (requires viewAs), plus getProfileFeed, getMarketFeed, and getPositionFeed. getFeedItem reads one item without counting a view. Report views independently with recordFeedViews. getFeedUpdates polls session patches using the returned viewerToken. All are unsigned. Profile, position, and item reads include the viewAs account's own hidden content under account_view; the viewing account is not proof of wallet ownership. Prices are decimal BigNumber values; quantities, notionals, and PnL retain x18 units. See method and parameter JSDoc for session and polling rules.

Feed lists and item details expose capabilities.canTip using the existing request parameters. Show the tip button only when it is exactly true and the author wallet differs from the connected wallet (compare addresses case-insensitively). An omitted capability does not enable tipping. For a post or trade-card Tip, pass the item's id as originPostId and subaccountFromHex(item.author.subaccount) as recipientSubaccount.

Original posts and trade cards can include publicTipTotal, a BigNumber in USDT0 x18 units. Omission hides the amount; an explicit zero means there are no qualifying Tips. Display the aggregate returned by the server. Updates can change the total; an omitted patch field leaves it unchanged. An omitted or false canTip disables tipping. For example, with an optional connected currentWalletAddress:

import { removeDecimals, subaccountFromHex } from '@nadohq/shared';

const { item } = await mobile.getFeedItem({ itemId });
const authorWallet = subaccountFromHex(item.author.subaccount).subaccountOwner;
const showTipButton =
  item.capabilities.canTip === true &&
  currentWalletAddress !== undefined &&
  authorWallet.toLowerCase() !== currentWalletAddress.toLowerCase();
const publicTipAmount =
  (item.kind === 'post' || item.kind === 'trade_card') &&
  item.publicTipTotal !== undefined
    ? removeDecimals(item.publicTipTotal).toFixed()
    : undefined;

getSelfFeedPositions, resolveFeedPosition, and resolveFeedAction require viewAs and return eligibility hints for that account, not authenticated permissions. getFeedComments supports anchored, bidirectional thread pagination. Lists, details, and history return parsed drawings and readable comment previews; getFeedChartDrawing refreshes a drawing independently when needed.

getPositionLookup resolves an indexer position's identity into the lifecycle UUID used by the position APIs:

const { positionId } = await mobile.getPositionLookup({
  subaccount: { subaccountOwner: '0x...', subaccountName: 'default' },
  productId: 4,
  marginMode: 'cross',
  direction: 'long',
  openId: '123456789',
});

Keep openId as a decimal string to preserve the opening submission index exactly. This public lookup requires no wallet signature or reading session.

getPositionHistory returns the full action/take timeline, distinct from published-only getPositionFeed, and a position-mode session for navigation and updates. getPositionChart returns candles and action markers, keeping execution and liquidation Oracle prices separate. getPositionWatchers reads visitor counts without registering presence. Watching account previews are self-reported, not proof of account ownership.

Social feed values

Each named social feed string union has a corresponding MOBILE_SOCIAL_FEED_* array for runtime validation and filter or UI options. The types are derived from these readonly tuples so the runtime values and TypeScript unions stay in sync. Import them from @nadohq/mobile-client or @nadohq/client:

import {
  MOBILE_SOCIAL_FEED_TYPES,
  MOBILE_SOCIAL_FEED_MARKET_CATEGORIES,
  MOBILE_SOCIAL_FEED_TRADER_BADGE_CODES,
  MOBILE_SOCIAL_FEED_SOURCE_CATEGORIES,
  MOBILE_SOCIAL_FEED_CHART_INTERVALS,
} from '@nadohq/mobile-client';

The same pattern covers cohort and trader data statuses, PnL and funding bases and qualities, position and history states, actions, resolutions, reading sessions, attachments, and presence.

Position history and thoughts

getPositionHistory and getPositionHistoryAll return owner, the current position owner's full profile, even for an empty timeline. Do not infer ownership from a take or the viewing account. Position patches do not refresh owner information; query history or profiles again.

getPositionHistoryAll returns only the most recent 500 actions, ordered by last event time and action UUID descending. It excludes authored content: relatedTake is null and summary.takeCount is zero, even when thoughts exist. summary.actionCount counts this response's scope. nextCursor: null means this endpoint does not paginate, not that all history was returned. Use getPositionHistory with a fresh first request for complete history. Each call creates a new session; only viewerToken may be reused. Limit, cursor, and sessionId are not accepted.

getPositionThoughts returns only published posts/trade cards with both nonblank text and a saved drawing. Uploaded/external images do not qualify. It returns full parsed drawing data and keeps descending first drawing creation time / item UUID order. Do not sort by displayAtMs or updatedAtMs. Changing an existing drawing does not move it; saved data need not contain visible strokes.

const first = await mobile.getPositionThoughts({ positionId, limit: 20 });
if (first.nextCursor !== null) {
  const next = await mobile.getPositionThoughts({
    positionId,
    limit: 20,
    sessionId: first.readSession.sessionId,
    viewerToken: first.readSession.viewerToken,
    cursor: first.nextCursor,
  });
}

There is no 500-item total cap for thoughts. Continue until nextCursor is null, even when a page is empty. Keep positionId, limit, and credentials unchanged; omitted viewAs inherits the original perspective. Thoughts sessions cannot be exchanged with history/feed sessions. New eligible content requires refreshing. Fully delivered items support existing detail, drawing, image, and update APIs with the returned session. A 6328 error means the initial directory exceeded capacity; do not automatically retry the same query. A 6312 error requires a fresh session. Neither condition represents a successfully truncated result.

Position ROI and funding

getPositionHistory and getFeedUpdates retain roiBasis on position cards and patches, including nested attachments. Other feed reads and writes, including getPositionHistoryAll, omit it. A session whose initial response omitted ROI can still receive it through updates. The SDK preserves this omission instead of creating a null or undefined property.

roiBasis.amount and pnl.amount are BigNumber values in x18 units. Calculate the ROI percentage with pnl.amount.div(roiBasis.amount).times(100) only when both amounts are non-null, both qualities are ready, and the denominator is positive. Missing or unavailable ROI data must not be treated as zero.

Both history methods and history updates through currentPosition expose fundingBasis: remaining_position for open positions, lifecycle_cumulative for closed positions, or unknown when the scope is unavailable. Funding amounts remain in x18 units. Estimated liquidation prices remain in decimal units; check their quality and clear an old displayed price when the new value is unavailable or null.

Public Executes

unregisterExpoToken, updateNotificationPreferences, updateNotificationSettingsV2. These are authenticated by possession of an active Expo push token rather than a wallet signature, so they still work at logout when a signature may be unobtainable.

recordFeedViews accepts itemIds, an array of 1–50 canonical lowercase UUIDs. Posts, trade cards, comments, and replies can be mixed; only the supplied IDs increment, without incrementing their parents. It sends only type and item_ids to /public_execute, without a wallet signature or reading session, and returns { status: 'success' }. Same-request duplicates count once, but another request increments again. Missing, deleted, unpublished, excluded, and unsupported targets are skipped; even an entirely skipped batch returns success. Invalid fields, UUIDs, or array sizes reject the entire batch.

await mobile.recordFeedViews({ itemIds: [postId, commentId, replyId] });

This operation is not idempotent: retrying after an uncertain network failure may count twice. The SDK does not automatically retry. Read current counts from interaction.viewCount in details, comment groups and their replies, previews, or session updates; the report returns no per-item counts.

setPositionPresence still requires reading-session credentials and a page-scoped viewSessionId. Pagination, updates, and protected image reads also keep their existing session rules. Fetch uploaded image bytes with getFeedImageBytes using the original credentials and paths from image metadata. Legitimate session reads renew the idle expiration; use the latest expiresAtMs. View reports neither require nor renew a reading session.

Comment groups

getFeedComments returns top-level comments, each with a complete flat replies array containing all readable descendants in the thread snapshot. The limit (default 20, range 1–50) counts top-level groups; descendants do not consume the limit and do not have separate cursors or nested replies arrays. Top-level comments are newest first; descendants are oldest first with depth then UUID breaking timestamp ties. Original parent relationships remain in replyToItemId and replyToAuthor.

totalCount counts all readable replies in the thread snapshot; topLevelCount counts only top-level comments. Neither is limited to the returned page. An anchorReplyId at any depth returns its top-level group and is echoed in the response. Forward/backward cursors never split a group. An unreadable ancestor also makes its descendants unreadable. New replies at any depth require refreshing; updates only modify already delivered content.

const page = await mobile.getFeedComments({ rootItemId, limit: 20 });
for (const group of page.comments) {
  // Render the top-level comment, followed by group.replies in the returned order.
}

Comment previews remain individual replies. A preview's nextCursor opens the first complete group page in the same snapshot; replace the preview with that page instead of prepending preview items.

Feed image reads

For React Native Image or expo-image, use getFeedImageRequest to pass the authenticated URL and headers directly without converting bytes to base64:

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @nadohq/mobile-client

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229