betaFeedback

WorksComputer Science

Early Rug Pull Detection on Solana

Abstract

Web3 platforms that help users discover and trade newly launched crypto tokens, including launchpads, decentralized-exchange (DEX) interfaces, wallets, and token-analytics sites, must assess tokens before their legitimacy is clear. On Solana, where token creation is inexpensive and tokens use standard programs rather than custom per-token smart contracts, rug pulls can unfold within minutes. Effective warnings must therefore rely on limited histories. Although graph neural networks (GNNs) have improved rug-pull detection on EVM chains, it remains unclear whether transfer structure adds predictive value over non-graph models at minute-scale decision points, and how that value changes as history accumulates. We study 2,700 tokens sampled from SolRPDS, collecting one-minute market histories from Birdeye and token transfers from Solana RPC. We define a rug pull operationally by requiring a liquidity drain, price collapse, and persistent liquidity depletion over a nominal 24-hour period after token creation. All features use only information available at or before each prediction cutoff. We evaluate observation windows of 12.5, 35.5, and 93 minutes, selected in advance from the published lifespan distribution of Solana rug pulls, and represent each token as a temporal transfer graph. Within the first 12.5 minutes, rug-pull and non-rug graphs already differ in size, density, reciprocity, and receiver-side centralization. We compare GNNs against matched non-graph models using the same token-level and graph-summary features on identical samples. A fixed panel of tokens observed in all three windows further isolates the effect of longer observation from changes in token population. Our findings inform the design of early-warning mechanisms for newly launched Solana tokens in Web3 interfaces.

CCS Concepts • Security and privacy → Economics of security and privacy; • Computing methodologies → Neural networks; • Applied computing → Electronic commerce.

Introduction

Solana has become one of the most active ecosystems for launching and trading new crypto tokens [7]. A transaction costs a fraction of a cent (about $0.00025 on average [2]), every token is issued through the same shared token program without a contract of its own, and launchpads such as pump.fun1 let anyone create a tradable token in a few steps. The same openness makes Solana a prime venue for rug pulls, scams in which the creators of a token attract buyers and then withdraw its liquidity or sell off their holdings, leaving investors with tokens they can no longer sell. SolRPDS, built from 3.69 billion Solana transactions between February 2021 and November 2024, flags 62,895 liquidity pools as suspicious and finds rug-pull patterns in 22,195 tokens [2], and Chen et al. [7] identify 76,469 rug-pull tokens in the first half of 2025 alone. These scams are also fast: the median time from token creation to the first fraud-related profit-taking is 35.5 minutes [7], so a warning that reaches users in time must be based on the first minutes of a token’s life.

Early rug-pull prediction from the first minutes of trading is feasible with tabular features and tree ensembles [14, 17, 33], and on EVM chains, graph neural networks (GNNs) over transaction graphs outperform feature-based detectors [16, 31, 32]. Whether the transfer graph also helps at minute-scale decision points on Solana is open: Li et al. [17] report temporal GNNs as future work, and reported graph gains are usually measured against baselines with different features, populations, or prediction points, so they cannot be attributed to relational structure alone. For a platform, the practical question is about time: does the transfer graph let a rug pull be detected earlier than a model without it?

We answer this question with a controlled design. Starting from 2,700 tokens sampled from SolRPDS [2], we collect one-minute market histories and token transfers, label each token with an explicit operational definition evaluated after the prediction cutoff, and observe it for 12.5, 35.5, and 93 minutes, the quartiles of the Solana rug-pull lifespan distribution of Chen et al. [7], fixed before data collection. GNNs and non-graph models receive the same fourteen features and are compared on identical test tokens, both in the full population of each window and in a fixed panel of tokens observed in all windows. We address two research questions:

RQ1 Across windows: does a GNN at q1q_1 outperform XGBoost at q1q_1, q2q_2, or q3q_3, i.e., detect rug pulls earlier? We pre-specified this comparison as our primary analysis before evaluating on the test data.

RQ2 Within a window: does a GNN outperform a non-graph model that has observed the token for the same time?

Our results show that the early signal is real, but we find no evidence that the transfer graph makes detection earlier. Rug-pull and non-rug transfer graphs already differ clearly after 12.5 minutes, most strongly in receiver-side centralization. However, none of the three GNNs at q1q_1 is significantly better than XGBoost at any of the three cutoffs (RQ1), and XGBoost itself does not improve with longer observation: on the fixed panel, its test AP decreases from 0.464 at q1q_1 to 0.393 at q3q_3. Within each window, the selected GNN reaches a higher AP than the selected non-graph model in 5 of 6 settings at a similar ROC-AUC (RQ2), but no difference remains significant after correction. A power analysis shows that our test sets can only detect AP differences of about 0.10–0.18, so these results are inconclusive rather than evidence of no effect. Direction-aware, bagged, stacked, global-graph, and heterogeneous-graph variants do not change this picture.

Our contributions are:

  • A leakage-aware Solana benchmark and protocol for early rug-pull detection: cutoff-separated operational labels, windows fixed in advance, a chronological split with a label-availability embargo, and full and panel evaluation scopes.

  • Evidence that rug-pull and non-rug transfer graphs differ structurally within the first 12.5 minutes.

  • A pre-specified comparison of graph and non-graph models with identical features and tokens across observation windows, with ablations.

  • Practical implications for early-warning mechanisms on Web3 platforms.

Related Work

Early rug-pull detection. Mazorra et al. [22] predicted rug pulls on Uniswap with a separate model for each of the first 24 hours after pool creation and found that useful signals emerge early and improve with longer histories. Later work used much shorter windows: the first five minutes of trading suffice for useful predictions on Ethereum [14] and TON [33]. On Solana, Chen et al. [7] characterize 76,469 rug-pull tokens from the first half of 2025, including their lifecycles and mechanisms such as freeze-authority abuse, but do not evaluate early prediction. Li et al. [17] predict rug pulls on PumpFun and Raydium from the first five minutes, find tree ensembles to be strong baselines, and name temporal GNNs as future work. MemeTrans [12] evaluates tabular and time-series models on engineered launch features, and Li et al. [18] describe structural differences between the transaction networks of rug-pull and sustainable meme coins without evaluating graph-based prediction. SolRPDS [2] provides the token identifiers from which our collection starts.

Graph-based detection. Graph-based methods have also been studied for early scam-token detection. TokenScout [31] applies temporal graph learning to ERC-20 transfer multigraphs to identify scam tokens before scam execution, but leaves evaluation at different lifecycle stages to future work. HNN4RP [16] combines a heterogeneous transaction graph with temporal fusion, RUGSCREENER [30] applies a temporal GNN, and RPHunter [32] fuses transaction graphs with smart-contract code graphs and varies the number of observed transactions rather than the elapsed time. Several of these methods draw on contract code, which has no per-token counterpart on Solana (§ 3.1). More importantly, their graph and non-graph models differ in features, populations, or prediction points, so the gain cannot be attributed to relational structure, and none evaluates fixed minute-scale windows. In the broader Web literature, PC-GNN [20] addresses imbalanced graph fraud detection, Bi-GCN [4] evaluates rumor detection at early deadlines using only propagation observed before each deadline, and Huynh et al. [13] reconstruct coordinated rug-pull operations from cross-address transaction flows.

Temporal validity. Shoai et al. [25] identify temporal leakage as a major weakness of rug-pull datasets. We follow their principle by separating the information available at the cutoff from the evidence that defines the outcome. To the best of our knowledge, no prior work compares graph and non-graph models with shared token-level and graph-summary predictors on the same Solana tokens across fixed early windows, while GNNs additionally use endpoint features and connectivity.

Background and Problem Formulation

Solana Token and Account Model

On Ethereum, each token is a contract with its own code and storage [8]. Solana instead separates executable programs from the accounts that hold state [27]: tokens are managed by the shared Token or Token-2022 program, each token is identified by a mint account that stores its supply, decimals, and optional mint and freeze authorities, and balances are held in token accounts, each with an owner [26]. Methods that analyze per-token contract code [19, 32] therefore do not transfer directly. Graph nodes represent token-account owners when available and token accounts otherwise; we refer to both as transfer endpoints.

Temporal Transfer Graph

For token ii and window qq, the recovered transfers form a directed temporal multigraph Gi,q=(Vi,q,Ei,q,Ti,q,Xi,qV,Xi,qE)G_{i,q} = (V_{i,q}, E_{i,q}, T_{i,q}, X^{V}_{i,q}, X^{E}_{i,q}), where Vi,qV_{i,q} are transfer endpoints, Ei,qE_{i,q} are retained transfers, Ti,qT_{i,q} their timestamps, and Xi,qVX^{V}_{i,q} and Xi,qEX^{E}_{i,q} node and edge attributes, as in earlier temporal transfer-graph work [31]. Parallel edges between the same ordered pair are kept, and the mint identifies the graph but is not a node. Because transfers are discovered through the mint’s transaction history, we treat Gi,qG_{i,q} as a partial mint-visible transfer graph.

Problem Formulation

Let t0t_0 be the creation time of token ii and wqw_q the length of window qq, with cutoff tq=t0+wqt_q = t_0 + w_q. The window length wqw_q sets how early a prediction is made; we compare model performance at fixed cutoffs rather than measuring when a model first raises an alert. At tqt_q, a model must predict whether the token will be a rug pull using token-level market features and the transfer graph Gi,qG_{i,q} from [t0,tq][t_0, t_q], except that cutoff liquidity may be observed exactly at tqt_q. The outcome is evaluated over a fixed nominal horizon H=24H = 24 hours after creation, identical for all windows, and yi,q∈{0,1}y_{i,q} \in\{0, 1\} indicates whether the token satisfies our operational rug-pull definition (§ 4.2) with the rug-pull event after the cutoff. Samples whose event is already visible inside the window are excluded, since predicting it is no longer early detection. A label yi,q=0y_{i,q} = 0 means only that the definition is not met within the horizon, not that the token is safe. Figure 1 illustrates the setting.

Figure 1. Early-prediction setting for one token and window qq. Predictors use only data up to the cutoff tqt_q. The rug-pull event at τ\tau (the liquidity drop) and its confirmation (Section 4.2) lie after the cutoff and within the outcome horizon HH.

Methodology

Data Collection

Token selection. Token identifiers are taken from the 2024 portion of SolRPDS [2]. We discard entries with an empty mint or pool address, keep one entry per mint (27,752 mints), and draw a reproducible random sample of 2,700 mints with a fixed seed. The SolRPDS mint field occasionally holds the quote asset of a pool rather than the launched token; one such asset in our sample, a stablecoin, has no liquidity history and never receives a valid label. Most sampled tokens (2,541) were created in 2024; the final modeling cohort spans September 2022 to October 2024. From SolRPDS, we use only the mint addresses; labels, features, and transfers are collected independently. The mint is the unit of analysis, because supply, authorities, and balances are defined relative to it.

Data sources. Token-level Birdeye endpoints provide the creation time, one-minute liquidity history and one-minute USD price candles over the first 24 hours for labeling, and trades and liquidity snapshots within each window for the token-level features. Transfers are recovered from Solana RPC (Section 4.5), which also provides the creation time, as the block time of the mint’s oldest transaction signature. Intermediate label quantities are stored only in the label table, and models read their inputs from an explicit list of predictor columns.

Operational Rug-Pull Labeling

Following prior work that defines rug pulls by their observable market outcome [17, 22, 33], we label tokens with an explicit rule applied to Birdeye’s one-minute liquidity history and price candles within a nominal horizon H=24H = 24 hours of creation, the period in which most rug pulls occur [22]. Because a liquidity drop alone can result from benign events such as liquidity migration, and legitimate tokens can also crash in price [7, 22], a token is a rug pull only if three conditions hold jointly:

  1. Liquidity drop. The drop time τ\tau is the first snapshot at which liquidity falls more than θL=80%\theta_L = 80\% below the highest earlier level LpeakL^{\mathrm{peak}}; if no such snapshot exists, the token is negative.

  2. Price collapse. The lowest price after τ\tau is more than θP=90%\theta_P = 90\% below the highest price before τ\tau, using only candles entirely before or after τ\tau.

  3. Persistent depletion. During the Δ=30\Delta= 30 minutes after τ\tau, liquidity stays at or below (1−θL)Lpeak(1-\theta_L)L^{\mathrm{peak}} for at least ρmin⁡=80%\rho_{\min} = 80\% of the time and is still below it at the end, which excludes liquidity that is removed and shortly re-added.

θP\theta_P follows the price-decline criterion of Mazorra et al. [22], and near-complete liquidity removal is a common rug-pull indicator [6, 33]; Δ\Delta and ρmin⁡\rho_{\min} are operational choices. All thresholds were fixed before labeling. Varying θP\theta_P between 0.80 and 0.95 or ρmin⁡\rho_{\min} between 0.60 and 0.90 changes the number of positive labels by at most 3.6% (Appendix A, which also gives the formal definitions).

The label does not depend on the window; the window only determines whether a sample is valid. If the drop is already visible inside the window (τ≤tq\tau\le t_q), the sample is an IN_WINDOW_EVENT and excluded; a drop within δ=60\delta= 60 s after the cutoff cannot be placed reliably at one-minute resolution and is also excluded, and samples without sufficient liquidity or price history to determine the label receive an UNKNOWN status (Appendix A). For every valid positive sample, all evidence of the rug pull therefore lies after tq+δt_q+\delta. Because a negative label is confirmed only when the horizon ends, every label becomes available at the end of the horizon, t0+Ht_0+H, which we use for the embargo (Section 4.7). A positive label is an operational outcome, not proof of intent. Slower rug pulls and schemes without a liquidity drain, such as freeze-authority abuse, are not captured; Chen et al. [7] found nine such cases among 100 tokens not flagged within a comparable 24-hour window.

Featureq1q_1q2q_2q3q_3
Sell-volume change66.851.245.3
Buy-volume change65.450.845.3
Unique-wallet count5.06.315.8
Unique-wallet change65.450.845.2
Liquidity at cutoff57.941.134.5

Table 1. Missing token-level features by window (%). Changes are percentage changes from the first to the second half-window; volumes and liquidity are measured in USD. Wallet counts include distinct addresses in buy and sell swaps.

Observation Windows

The three windows are the 25th, 50th, and 75th percentiles of the Solana rug-pull lifespan distribution of Chen et al. [7], measured on 76,469 rug-pull tokens from the first half of 2025: wq1=750w_{q_1} = 750 s, wq2=2,127w_{q_2} = 2{,}127 s, and wq3=5,585w_{q_3} = 5{,}585 s, i.e., about 12.5, 35.5, and 93 minutes. They were fixed before data collection, since labels and features are defined relative to tqt_q, and we report all three. On our data, the windows remain early decision points: of the 765 rug pulls confirmed in q1q_1, only 15.3% have their liquidity drop by the q2q_2 cutoff and 38.0% by the q3q_3 cutoff, so most occur after even the latest window. Rug pulls that happen before the q1q_1 cutoff, or that lack sufficient data to be labeled, cannot be counted, so these shares refer to confirmed rug pulls only.

As the window grows, more tokens leave the task as in-window events (128, 321, and 590), leaving 1,961, 1,798, and 1,573 samples, i.e., valid token–window pairs with token-level features (one token with a valid label has no stored feature row, so Table 4 lists 1,962, 1,799, and 1,574 valid labels). Because the excluded tokens are mostly early rug pulls, the rug-pull rate falls from 39.0% to 35.9% and 30.1%. The populations are nested, so a difference between windows can reflect longer observation or the loss of the fastest rug pulls; the panel scope (Section 4.7) separates the two.

StatusConditionq1q_1q2q_2q3q_3
VALIDBinary label determined from sufficient post-cutoff evidence1,9621,7991,574
IN_WINDOW_EVENTFirst qualifying liquidity drop at or before the cutoff (τ≤tq\tau\le t_q)128321590
UNKNOWN_OBSERVATION_BOUNDARY_AMBIGUOUSLiquidity drop within δ\delta after the cutoff461
UNKNOWN_MISSING_LIQUIDITY_HISTORYNo liquidity snapshot within the horizon429429429
UNKNOWN_INSUFFICIENT_LIQUIDITY_HISTORYFewer than two liquidity snapshots141414
UNKNOWN_INVALID_LIQUIDITY_BASELINENo positive liquidity snapshot to serve as baseline141414
UNKNOWN_INSUFFICIENT_PERSISTENCE_HORIZONConfirmation interval extends beyond t0+Ht_0 + H131313
UNKNOWN_INSUFFICIENT_PERSISTENCE_COVERAGELiquidity history ends before τ+Δ\tau+ \Delta413630
UNKNOWN_MISSING_PRICE_HISTORYNo price candle within the horizon433
UNKNOWN_MISSING_PRE_EVENT_PRICENo complete price candle before τ\tau522911
UNKNOWN_MISSING_POST_EVENT_PRICENo price candle after τ\tau within the horizon393621

Table 4. Label statuses and their counts per observation window. Only VALID samples are used for supervised modeling.

Token-Level Features and Missing Data

Each sample has five token-level features computed from Birdeye trades in [t0,tq][t_0,t_q] and cutoff liquidity snapshots (Table 1). Liquidity at the cutoff is the latest snapshot at or before tqt_q, at most 60 s old; a snapshot stamped exactly at tqt_q is possible for at most 13, 18, and 14 samples.

Missing values. Missing features arise from undefined percentage changes when the first-half baseline is zero, incomplete trade histories, or unavailable cutoff liquidity. Missingness is associated with the outcome: complete cases have higher rug-pull rates than the original cohort (Appendix B). We impute missing values with training medians and apply quantile transformations fitted on the training partition. The main setting uses the original cohort without missingness indicators. Ablations add binary missingness indicators and restrict the cohort to samples with fewer than three missing features or to complete cases.

Transfer-Graph Construction

Transfer recovery and cleaning. For each mint, we retrieve the signatures of transactions that reference the mint (getSignaturesForAddress), fetch the transactions, and parse the SPL Token and Token-2022 transfer instructions, including inner instructions, recording signature, block time, endpoints, and amount. Only transfers with a block time in [t0,tq)[t_0,t_q) are kept, and records with missing fields, self-transfers, and duplicates (same token, window, signature, source, destination, and amount) are removed, which reduces 2,864,233 records to 2,862,579. Each retained transfer is one directed edge with relative time ϕ=(t−t0)/wq∈[0,1)\phi=(t-t_0)/w_q \in[0,1). Transfer amounts are not used, because raw token amounts are not comparable across tokens, so the graph encodes topology and timing only.

Graph-bearing samples. A sample without retained transfers has no graph rather than an empty one, because an absence of recovered transfers cannot be distinguished from incomplete recovery. In the original cohort, 905, 950, and 884 samples (46.4%, 53.1%, 56.4%) are graph-bearing, with rug-pull rates of 43.6%, 39.2%, and 31.9%. Among tokens valid in all windows, every token with a graph in q1q_1 also has one later.

Features. Each endpoint has six features: its numbers of outgoing and incoming transfers and of distinct receivers and senders (log⁡(1+x)\log(1+x)), and the earliest and mean relative time of its transfers. Each graph is summarized by nine features: the numbers of transfers, endpoints NN, distinct ordered pairs MM, senders, and receivers, the density M/(N(N−1))M/(N(N-1)), the average degree 2M/N2M/N, and the earliest and mean transfer time (Appendix B). Several are strongly dependent; for example, endpoints and receivers have a Spearman correlation of 1.00 in every window.

Figure 2 shows the recovered transfers of all tokens as a single network. Endpoints shared between tokens connect their graphs only in this view; the models use a separate graph per token and window, and a single global graph did not improve them (Section 5.5).

Recovered transfer network, visualized with Gephi

Figure 2. Recovered transfer network, visualized with Gephi. Only the 8,026 transfer endpoints with at least five distinct neighbors are shown. Edges represent transfers, larger nodes indicate greater activity, and colors distinguish network communities rather than rug-pull labels.

Models

Non-graph models. We evaluate a prior-probability classifier, logistic regression, a decision tree, random forest, gradient boosting, XGBoost, a multilayer perceptron, FT-Transformer [9], and AutoInt [28]. Each is trained on four views: the five token-level features on all samples (node) or on graph-bearing samples (node-matched), the nine graph-summary features (graph), and all fourteen (node–graph), the matched counterpart of the GNNs.

Graph neural networks. GCN [15], GraphSAGE [10], and GAT [29] classify each graph from the six node features with LL message-passing layers (ReLU, or ELU for GAT, and dropout). Messages follow the transfer direction, so an endpoint aggregates from its senders; parallel edges are kept, and GCN and GAT also include each endpoint’s own representation when aggregating its neighbors. Mean, max, or sum pooling yields a graph embedding hGh_G, which is concatenated with the fourteen token-level and graph-summary features gi,qg_{i,q}: yi,q=σ(MLP⁡([hG∥gi,q]))y_{i,q}=\sigma(\operatorname{MLP}([h_G \mathbin\Vert g_{i,q}])), with a two-layer MLP. Both families thus use the same fourteen features, and the GNNs additionally learn from endpoint-level structure. Timing enters through endpoint and graph summaries rather than explicit edge-time message passing.

Training and Evaluation Protocol

Chronological split and embargo. A deployed system must score newly created tokens using models trained on historical data. We therefore evaluate on tokens created after those used for training. A random split, including a stratified random split, would mix earlier and later tokens across partitions, allowing models to learn from tokens newer than those in the test set. Such temporal inconsistency can inflate reported performance [23]. A chronological split also exposes changes in the token population over time (Section 5.4). We sort the 1,961 tokens eligible at q1q_1 by creation time and assign the oldest 70% to training, the next 15% to validation, and the newest 15% to testing, without using labels. Each token retains its partition assignment across all windows, cohorts, and models. A token is embargoed, i.e., excluded, when its label becomes available (t0+H)(t_0+H) only after the next partition begins, so that no label is unknown at the time it would be used; this removes 9, 8, and 7 tokens in q1q_1, q2q_2, and q3q_3.

Evaluation scopes. The full scope uses all samples of a cohort in each window, the population a deployed system faces at tqt_q; graph views and GNNs use its graph-bearing samples, and models are always compared on identical test tokens. The panel scope keeps only tokens that are valid and graph-bearing in all windows, so that differences between windows reflect observation time alone. It contains 704 tokens in the original cohort with rug-pull rate 34.8%. The panel is selective: requiring validity in q3q_3 removes 386 q1q_1 tokens with a rug-pull rate of 74.9%, so panel results are a controlled comparison across windows, not an estimate for all tokens.

Training. The reference results use frozen ROC-AUC-selected runs; subsequent AP-selected experiments are separate. Hyperparameters are selected with a separate Optuna TPE search per model and configuration [1] (60 trials for classical models, 40 for neural and graph models), maximizing validation ROC-AUC. The GNN search covers hidden size, depth (1–3), dropout, pooling, learning rate, weight decay, batch size, attention heads, and positive-class weighting; class weighting is also tuned for logistic regression, the decision tree, and the random forest. Neural models stop after 25 epochs without improvement in validation ROC-AUC (at most 200). Preprocessing is fitted on the training partition, and each selected configuration is retrained with five seeds.

Metrics and statistical testing. The primary metric is Average Precision (AP); ROC-AUC is secondary. Our reported comparisons use threshold-free metrics, since fixed thresholds transfer poorly under the prevalence shift. Before evaluating on the test partition, we fixed one primary analysis of earlier predictive performance: in the panel and original cohort without indicators, each of GCN, GraphSAGE, and GAT at q1q_1 is compared with XGBoost on the node–graph view at q1q_1, q2q_2, and q3q_3, i.e., with a non-graph model that has observed the tokens for 12.5, 35.5, or 93 minutes. For each of the nine comparisons, we measure the difference in test AP averaged over five seeds. We estimate uncertainty using 10,000 paired bootstrap samples: test tokens are resampled within each class, and the same resampled tokens are used for both models. We apply a Bonferroni correction [5] to obtain confidence intervals with a joint confidence level of 95% across all nine comparisons.

All other comparisons are exploratory and use paired-bootstrap 95% confidence intervals. For within-window comparisons, we also report Holm-adjusted pp-values [11]. Model-variant comparisons are not corrected for multiple testing; these variants (Section 5.5) were developed after the primary analysis had been evaluated.

Results

Early Structural Differences

We first ask whether rug-pull and non-rug transfer graphs differ at all. We compare the two classes in the training partition of the original cohort (759, 632, and 599 graphs in q1q_1, q2q_2, q3q_3) with two-sided Mann–Whitney UU tests [21] and Benjamini–Hochberg correction [3] across all windows and metrics, and report rank-biserial correlations rr, with negative values indicating higher values in non-rug graphs. This analysis did not guide the primary feature or model choices.

Rug-pull and non-rug graphs already differ clearly after 12.5 minutes, in a consistent pattern: non-rug activity concentrates around a few dominant receivers, whereas rug-pull activity is spread over more endpoints with more one-directional transfers. Rug-pull graphs involve more endpoints (median 145 vs. 58.5 in q1q_1) but are sparser.

The largest differences concern receiver-side centralization: the maximum in-degree centrality and maximum PageRank are clearly higher in non-rug graphs (r=−0.42r = -0.42 for both in q1q_1). Non-rug graphs are also more reciprocal and have higher maximum betweenness. These differences remain significant after correction in every window (Appendix C), whereas the sending side differs little: maximum out-degree centrality differs only in q3q_3. This asymmetry between receiving and sending endpoints motivates the direction-aware variants in Section 5.5.

Earlier Detection Across Windows (RQ1, Primary Analysis)

RQ1 asks whether a graph model at the earliest cutoff can outperform a non-graph model that has observed the same tokens for as long or longer. Table 2 reports the pre-specified analysis on the panel test set, where the prior-probability classifier reaches an AP of 0.279. None of the nine contrasts supports superiority: all nine Bonferroni-adjusted intervals contain zero and are wide enough to be compatible with both AP losses and substantial gains. The larger differences at later windows reflect only XGBoost’s declining AP on the same tokens, since the GNN predictions are fixed at q1q_1.

q1q_1 (12.5 min)q2q_2 (35.5 min)q3q_3 (93 min)
Test AP
GCN.477 ± .036.473 ± .021.460 ± .019
GraphSAGE.522 ± .011.528 ± .022.536 ± .009
GAT.457 ± .023.513 ± .014.481 ± .018
XGBoost.464 ± .015.452 ± .011.393 ± .006
ΔAP: GNN at q1q_1 minus XGBoost
GCN+.013 [-.122, .121]+.026 [-.142, .173]+.084 [-.089, .249]
GraphSAGE+.058 [-.119, .205]+.070 [-.134, .251]+.129 [-.062, .295]
GAT-.008 [-.120, .090]+.005 [-.150, .145]+.063 [-.093, .212]

Table 2. Primary analysis (panel, nn = 136, 38 positives). Top: test AP (mean ± sd over five seeds). Bottom: ΔAP of each GNN at q1q_1 minus XGBoost at each window, with Bonferroni-adjusted 95% intervals.

XGBoost was fixed as the reference before test evaluation and had the highest validation ROC-AUC among non-graph models in the panel at q1q_1 and q2q_2. Three exploratory checks assess whether the conclusion depends on this choice (Appendix E). First, re-tuning XGBoost with a positive-class weight changes its AP by at most 0.028 and leaves all nine contrasts unsupported. Second, replacing XGBoost by the non-graph model with the highest validation ROC-AUC in each window (FT-Transformer at q3q_3) yields ΔAP between -0.05 and +0.07, with no supported contrast. Third, across all 72 combinations of graph model, non-graph model, and window, only contrasts against the decision tree, the weakest non-graph model, have intervals that exclude zero. We therefore find no statistically supported AP advantage of a graph model at 12.5 minutes over a competitive non-graph model observing the same tokens for 12.5, 35.5, or 93 minutes.

Graph versus Non-Graph Models within Each Window (RQ2)

RQ2 asks whether a graph model outperforms a non-graph model that has observed the token for the same time. In each scope and window, we take the graph model (GCN, GraphSAGE, or GAT) and the non-graph model (node–graph view) with the highest validation ROC-AUC and compare them on the same test tokens (Table 3). Unlike in the primary analysis, the compared models are chosen by validation performance and may differ between cells, so this analysis is exploratory. Using seed-ensemble predictions, the selected graph model achieves higher test AP in 5 of 6 cells; the exception is panel q3q_3, where FT-Transformer performs better. ROC-AUC is similar between the two families. Adding comparisons with XGBoost in the four cells where it was not the selected non-graph model gives 10 comparisons. Three have unadjusted intervals that exclude zero, but none remains significant after Holm correction (smallest adjusted p=0.14p = 0.14). The higher AP at similar ROC-AUC is consistent with better ranking near the top of the prediction list, although the evidence does not establish a reliable advantage. Brier scores improve over the prior-probability classifier in some cells and worsen in others, providing no consistent evidence of better probability estimates.

CellPrev.GNNNon-graphΔAP [95% CI]
Panel q1q_1.279SAGE .521/.667XGB .464/.678+.058 [-.075, .172]
Panel q2q_2.279GAT .520/.677XGB .460/.648+.060 [-.041, .145]
Panel q3q_3.279GCN .489/.684FT-T .542/.687-.053 [-.153, .054]
Full q1q_1.327GAT .635/.728LR .569/.728+.066 [-.010, .125]
Full q2q_2.303SAGE .597/.726FT-T .489/.689+.108 [.019, .184]
Full q3q_3.269GCN .533/.703MLP .491/.686+.042 [-.020, .102]

Table 3. Exploratory within-window comparison of the selected GNN and non-graph model: test AP / ROC-AUC of seed-ensemble predictions (scores averaged over five seeds, hence slightly different from the per-seed means in Tables 2 and 11), and ΔAP with unadjusted paired-bootstrap 95% interval. Prev.: test prevalence.

Statistical power. Our test sets provide limited power to detect gains of the observed size. Based on bootstrap standard errors and a normal approximation, within-window GNN–XGBoost comparisons require AP differences of about 0.10–0.18 for 80% power at α=0.05\alpha= 0.05. Multiple-testing correction raises these thresholds further. Most observed gains fall below these thresholds, so the absence of significant differences should not be read as evidence that the two model families are equivalent.

Training, Validation, and Test Performance

Validation scores are far higher than test scores for every model: AP falls from 0.82–0.91 on validation to 0.45–0.65 on test, and ROC-AUC from 0.84–0.91 to 0.65–0.73 (Appendix § 16.§ 1). The evidence points mainly to a temporal shift between the periods rather than to over-fitting. The validation period has more rug pulls, but re-weighting it to the test prevalence explains only 16–41% of the AP gap and none of the ROC-AUC drop. The token population also changes: pump.fun mints make up 12–14% of training, 36–40% of validation, and 63–67% of test samples, and a token’s nearest training tokens predict its label well for validation tokens but poorly for test tokens (transfer kkNN AUC 0.77–0.79 vs. 0.53–0.67). In contrast, selection effects are small: the best search trial exceeds the median trial by at most 0.034 ROC-AUC. Validation scores therefore overstate deployed performance. A random split would also overstate it: in a separate stratified split, test ROC-AUC of XGBoost and GraphSAGE was 0.07–0.17 higher than under the chronological split, although on a slightly different panel.

Ablations and Model Variants

Feature views. Adding the nine graph-summary features to the token-level features increases the median test AP of the non-graph models by 0.029 in both evaluation scopes. However, few configurations have unadjusted confidence intervals that exclude zero: 10 of 135 in the full scope, all favoring the added features, and 6 of 135 in the panel, of which one favors the token-level features alone. On their own, graph-summary features perform about as well as token-level features in the full scope (median ΔAP = +0.004). In panel q1q_1, a token-only random forest even reaches the highest ROC-AUC of all models (0.744), but a lower AP than the selected GNN.

GNNs using only the transfer graph achieve panel test AP of 0.507, 0.539, and 0.450 in q1q_1–q3q_3, compared with 0.522, 0.513, and 0.460 for the full models. The additional features therefore provide no consistent improvement in these runs, although independent model selection prevents attributing the differences solely to their removal.

Missingness. Adding missingness indicators changes the median test AP by less than 0.01 for both the non-graph models and the graph neural networks, with intervals that exclude zero in at most 3 of 24 non-graph and 1 of 9 graph configurations. Restricting training to the cohorts with fewer missing features does not change the conclusions; most intervals include zero.

Model variants. After the primary analysis, we evaluated several variants, each compared with the selected graph neural network of the same cell on identical test tokens. Motivated by the receiver–sender asymmetry of Section 5.1, direction-aware versions of GraphSAGE and GCN [24] aggregate incoming and outgoing neighbors with separate weights. They were tuned on validation AP rather than the validation ROC-AUC used for the reference models, so their differences may partly reflect the selection criterion. We detect no difference from the reference models (ΔAP between -0.030 and +0.033, all intervals including zero). A single graph over all tokens, in which shared endpoints connect activity before each target’s cutoff (hub filtering uses corpus-wide memberships), was evaluated only at q1q_1; it does not improve GraphSAGE or GCN in either scope (ensemble ΔAP between -0.060 and +0.022, all intervals including zero). Averaging GraphSAGE over five models trained on different folds of the training partition improves ensemble AP in 4 of 6 cells, by up to 0.069, but no interval excludes zero. Feeding the graph model’s score into gradient boosting or XGBoost lowers AP relative to the graph model in 11 of 12 comparisons. Finally, an adaptation of HNN4RP [16] to Solana, without its smart-contract code embedding, is worse than the reference model in every cell (Appendix D). None of these variants changes the conclusions of § 5.2 and § 5.3.

Discussion and Limitations

Effect of longer observation. Within the panel, neither graph nor non-graph models improve systematically when observation increases from 12.5 to 35.5 or 93 minutes, and XGBoost’s AP decreases. The panel includes only tokens that remain eligible for prediction at q3q_3 and already have recovered transfers in q1q_1. This finding therefore applies to tokens with early visible activity whose rug-pull event, if any, occurs after the latest cutoff; it does not extend to faster rug pulls excluded from the panel. Limited power also prevents concluding that longer observation adds no predictive information.

Possible reasons for modest graph gains. Several properties of the setting may limit the additional value of a GNN. The recovered graphs are partial and mint-visible, and encode topology and timing but no transfer amounts. Non-graph models already receive structural information through graph-summary features, which increase their median AP by 0.029. Graph availability also limits coverage: only 46.4% of samples at q1q_1 are graph-bearing. With only 136–159 test tokens, the comparisons have limited power to detect small AP differences (§ 5.3). The mostly positive seed-ensemble AP differences at similar ROC-AUC are compatible with a benefit among the highest-ranked tokens, but larger test sets are needed to establish whether this pattern is reliable.

Implications for Web3 platforms. For platforms that list new Solana tokens, our results suggest four practical points. First, model scores computed from the first minutes of activity can help prioritize tokens for review, but should not be treated as reliable probabilities or definitive judgments. Second, data availability is associated with the outcome: complete cases and graph-bearing tokens have higher rug-pull rates (§ 4.5, Appendix § 13), and missingness changes over time (§ 5.4). Platforms should therefore monitor input coverage alongside model scores, even though explicit missingness indicators provided little improvement in our experiments. Third, the observed temporal shift (§ 5.4) motivates ongoing performance monitoring and reassessment of training and calibration as the token population changes. Fourth, claims of improved detection from graph-based scoring should be supported by paired comparisons, multiple seeds, appropriate multiple-testing correction, and test sets large enough to detect practically meaningful gains.

Limitations. The label covers rug pulls that drain liquidity within 24 hours; slower rug pulls and schemes without a liquidity drain are out of scope, and a positive label is an operational outcome rather than proof of intent. The tokens come from one SolRPDS file, mostly from 2024, and the transfer graphs are partial. The comparisons rely on a single chronological split with test sets of 136–159 tokens. Class weighting was tuned for the graph models but not for all non-graph models; re-tuning XGBoost with class weighting did not change the primary conclusion. One candidate feature, liquidity at creation, was dropped after the split had been fixed because it was missing for 94–97% of samples. Finally, the model variants of § 5.5 were designed after the primary results were known; their comparisons are exploratory and not corrected for multiple testing.

Conclusion

We asked whether transfer graphs enable earlier rug-pull prediction for newly launched Solana tokens than matched non-graph models. Rug-pull and non-rug graphs already differ structurally within 12.5 minutes. However, our pre-specified analysis finds no statistically supported AP advantage for GNNs at this cutoff over XGBoost observing the same tokens at the same or later cutoffs (RQ1). Within each window, graph models tend to achieve higher AP than non-graph models sharing the token-level and graph-summary features, but no tested difference remains significant after multiple-testing correction (RQ2). Longer observation does not consistently improve performance on the fixed panel, although limited power prevents concluding that later observations add no information. For Web3 platforms, these findings support using early model scores to prioritize review, while leaving the additional benefit of graph-based scoring unresolved.

Future work. First, larger evaluation sets are needed to establish whether a small graph benefit exists. Our cohort is limited to 2,700 mints because each token requires its full transaction history and minute-level market data; applying the protocol to larger, more recent Solana corpora [7, 12] would increase statistical power. Second, since a rug pull is executed at a specific moment, future work could model the transaction stream continuously, using continuous-time temporal graph models [30, 31] and change-point methods, to detect when an attacker begins to prepare it.

Data and Code Availability

Code, token identifiers, labels, and token-level features are available at https://github.com/Saba-Heydarirost/ rugpull_detector, together with scripts for data collection, feature extraction, model training, and evaluation. Edge-level data, processed EDA artifacts, and the external SolRPDS dataset are not currently included in the repository. The remaining project artifacts and data needed for reproduction will be released in a future version of the repository, subject to applicable data-provider restrictions. SolRPDS can be obtained separately from its original source. These materials, together with the provided scripts, will enable reproduction of the reported results.

Ethics Statement

We use only public blockchain records and market data, collected read-only; no transactions were sent and no users were contacted. Addresses are used as pseudonymous identifiers, and we make no attempt to link them to real-world identities. Labels follow an operational definition: a positive label is not a legal judgment or proof of fraud, and a negative label does not certify a token as safe. Predictions contain errors and are intended as early-warning signals for review, not as a basis for accusing projects, blacklisting addresses, or making investment decisions.

References

@page 7/12 starts_mid=1 ends_mid=1 (Appendix D). None of these variants changes the conclusions of § 5.2 and § 5.3.

Discussion and Limitations

Effect of longer observation. Within the panel, neither graph nor non-graph models improve systematically when observation increases from 12.5 to 35.5 or 93 minutes, and XGBoost’s AP decreases. The panel includes only tokens that remain eligible for prediction at q3q_3 and already have recovered transfers in q1q_1. This finding therefore applies to tokens with early visible activity whose rug-pull event, if any, occurs after the latest cutoff; it does not extend to faster rug pulls excluded from the panel. Limited power also prevents concluding that longer observation adds no predictive information.

Possible reasons for modest graph gains. Several properties of the setting may limit the additional value of a GNN. The recovered graphs are partial and mint-visible, and encode topology and timing but no transfer amounts. Non-graph models already receive structural information through graph-summary features, which increase their median AP by 0.029. Graph availability also limits coverage: only 46.4% of samples at q1q_1 are graph-bearing. With only 136–159 test tokens, the comparisons have limited power to detect small AP differences (§ 5.3). The mostly positive seed-ensemble AP differences at similar ROC-AUC are compatible with a benefit among the highest-ranked tokens, but larger test sets are needed to establish whether this pattern is reliable.

Implications for Web3 platforms. For platforms that list new Solana tokens, our results suggest four practical points. First, model scores computed from the first minutes of activity can help prioritize tokens for review, but should not be treated as reliable probabilities or definitive judgments. Second, data availability is associated with the outcome: complete cases and graph-bearing tokens have higher rug-pull rates (§ 4.5, Appendix § 13), and missingness changes over time (§ 5.4). Platforms should therefore monitor input coverage alongside model scores, even though explicit missingness indicators provided little improvement in our experiments. Third, the observed temporal shift (§ 5.4) motivates ongoing performance monitoring and reassessment of training and calibration as the token population changes. Fourth, claims of improved detection from graph-based scoring should be supported by paired comparisons, multiple seeds, appropriate multiple-testing correction, and test sets large enough to detect practically meaningful gains.

Limitations. The label covers rug pulls that drain liquidity within 24 hours; slower rug pulls and schemes without a liquidity drain are out of scope, and a positive label is an operational outcome rather than proof of intent. The tokens come from one SolRPDS file, mostly from 2024, and the transfer graphs are partial. The comparisons rely on a single chronological split with test sets of 136–159 tokens. Class weighting was tuned for the graph models but not for all non-graph models; re-tuning XGBoost with class weighting did not change the primary conclusion. One candidate feature, liquidity at creation, was dropped after the split had been fixed because it was missing for 94–97% of samples. Finally, the model variants of § 5.5 were designed after the primary results were known; their comparisons are exploratory and not corrected for multiple testing.

Conclusion

We asked whether transfer graphs enable earlier rug-pull prediction for newly launched Solana tokens than matched non-graph models. Rug-pull and non-rug graphs already differ structurally within 12.5 minutes. However, our pre-specified analysis finds no statistically supported AP advantage for GNNs at this cutoff over XGBoost observing the same tokens at the same or later cutoffs (RQ1). Within each window, graph models tend to achieve higher AP than non-graph models sharing the token-level and graph-summary features, but no tested difference remains significant after multiple-testing correction (RQ2). Longer observation does not consistently improve performance on the fixed panel, although limited power prevents concluding that later observations add no information. For Web3 platforms, these findings support using early model scores to prioritize review, while leaving the additional benefit of graph-based scoring unresolved.

Future work. First, larger evaluation sets are needed to establish whether a small graph benefit exists. Our cohort is limited to 2,700 mints because each token requires its full transaction history and minute-level market data; applying the protocol to larger, more recent Solana corpora [7, 12] would increase statistical power. Second, since a rug pull is executed at a specific moment, future work could model the transaction stream continuously, using continuous-time temporal graph models [30, 31] and change-point methods, to detect when an attacker begins to prepare it.

Data and Code Availability

Code, token identifiers, labels, and token-level features are available at https://github.com/Saba-Heydarirost/rugpull_detector, together with scripts for data collection, feature extraction, model training, and evaluation. Edge-level data, processed EDA artifacts, and the external SolRPDS dataset are not currently included in the repository. The remaining project artifacts and data needed for reproduction will be released in a future version of the repository, subject to applicable data-provider restrictions. SolRPDS can be obtained separately from its original source. These materials, together with the provided scripts, will enable reproduction of the reported results.

Ethics Statement

We use only public blockchain records and market data, collected read-only; no transactions were sent and no users were contacted. Addresses are used as pseudonymous identifiers, and we make no attempt to link them to real-world identities. Labels follow an operational definition: a positive label is not a legal judgment or proof of fraud, and a negative label does not certify a token as safe. Predictions contain errors and are intended as early-warning signals for review, not as a basis for accusing projects, blacklisting addresses, or making investment decisions.

References

Formal Definition of the Rug-Pull Label

This appendix formalizes the three conditions of § 4.2 and reports the threshold sensitivity and label statuses.

Threshold sensitivity. Table 5 varies θP\theta_P or ρmin⁡\rho_{\min} with all other parameters fixed, using the recorded ratios without recomputing event times.

Settingq1q_1q2q_2q3q_3
Chosen thresholds765645474
θP=0.80\theta_P = 0.80786657484
θP=0.95\theta_P = 0.95753637470
ρmin⁡=0.60\rho_{\min} = 0.60784662491
ρmin⁡=0.90\rho_{\min} = 0.90746628461

Table 5. Number of positive labels under alternative price and persistence thresholds. The chosen values are θP=0.90\theta_P = 0.90 and ρmin⁡=0.80\rho_{\min} = 0.80.

Notation. The liquidity history returned by Birdeye is a chronologically ordered list of snapshots. We index them by k=1,…,nk = 1, \ldots, n and write sks_k for the timestamp of the kk-th snapshot and LkL_k for the USD liquidity it reports; only snapshots with t0≤sk≤t0+Ht_0 \le s_k \le t_0 + H are used. We write sks_k rather than tkt_k to distinguish snapshot times from the reference times t0t_0 and tqt_q. Liquidity at an arbitrary time tt is obtained by carrying the most recent snapshot forward: L~(t)=Lk\tilde{L}(t) = L_k for sk≤t<sk+1s_k \le t < s_{k+1}. No synthetic observations are inserted where the API returns none.

Condition 1: Liquidity drop. For every snapshot kk, the liquidity drawdown relative to the running peak of all earlier snapshots is

DkL=1−Lkmax⁡j<kLj.D_k^L = 1 - \frac{L_k}{\max_{j<k} L_j}.

The peak is taken only over earlier snapshots, so the drawdown never depends on future observations; the first snapshot with positive liquidity serves only as the initial baseline. The liquidity-drop time is the earliest crossing of the threshold,

τ=min⁡{sk:DkL>θL}=sk∗,Lpeak=max⁡j<k∗Lj.\tau= \min\{s_k : D_k^L > \theta_L\} = s_{k^*}, \qquad L^{\mathrm{peak}} = \max_{j<k^*} L_j.

The scan stops at this first crossing. If no snapshot crosses the threshold within the horizon, the token is negative and the remaining conditions are not evaluated.

Condition 2: Price collapse. Price is given as one-minute OHLCV candles indexed by cc; candle cc starts at scs_c, covers [sc,sc+60)[s_c, s_c + 60) seconds, and has high hch_c and low lcl_c. The pre-drop peak and post-drop minimum are

ppeak=max⁡sc≥t0sc+60≤τhc,pmin⁡=min⁡⌈τ⌉60≤sc<t0+Hlc,p^{\mathrm{peak}} = \max_{\substack{s_c \ge t_0 \\ s_c+60 \le\tau}} h_c,\qquad p^{\min} = \min_{\lceil\tau\rceil_{60} \le s_c < t_0+H} l_c,

where ⌈τ⌉60\lceil\tau\rceil_{60} is τ\tau rounded up to the next full minute. Candles are included by their start time, so the final candle may extend less than one minute beyond the nominal horizon. A candle that straddles τ\tau is used on neither side, so no post-drop price enters the peak. The relative price decline is DP=1−pmin⁡/ppeakD^P = 1 - p^{\min}/p^{\mathrm{peak}}, and the condition holds if DP>θPD^P > \theta_P. Outlier candles are retained, because the rule is defined on the raw extrema.

Condition 3: Persistent depletion. With λ=(1−θL)Lpeak\lambda= (1 - \theta_L)L^{\mathrm{peak}}, the persistence ratio is the fraction of the confirmation interval during which liquidity stays at or below λ\lambda:

ρ=1Δ∫ττ+Δ1[L~(t)≤λ] dt,\rho= \frac{1}{\Delta}\int_{\tau}^{\tau+\Delta} \mathbf{1}[\widetilde{L}(t) \le\lambda]\,dt,

where 1[⋅]\mathbf{1}[\cdot] equals 1 when its argument is true and 0 otherwise. Because L~(t)\widetilde{L}(t) is piecewise constant, the integral is computed exactly as a sum of segment lengths. The condition holds if ρ≥ρmin⁡\rho\ge\rho_{\min} and L~(τ+Δ)≤λ\widetilde{L}(\tau+ \Delta) \le\lambda. The confirmation interval must lie within the outcome horizon and be covered by the liquidity history; otherwise persistence cannot be evaluated.

Label. Combining the three conditions,

yi,q=1[τ exists∧DP>θP∧ρ≥ρmin⁡∧L~(τ+Δ)≤λ],y_{i,q} = \mathbf{1}\left[\tau\ \text{exists} \land D^P > \theta_P \land\rho\ge\rho_{\min} \land\widetilde{L}(\tau+\Delta) \le\lambda\right],

where ∧\land denotes logical conjunction.

Temporal separation of label evidence and predictors. The labeling histories span [t0,t0+H][t_0, t_0 + H], so the reference levels LpeakL^{\mathrm{peak}} and ppeakp^{\mathrm{peak}} may use observations inside the window, but only as baselines for a later collapse. For every valid positive sample, all evidence of the rug pull lies after the cutoff: τ>tq+δ\tau> t_q + \delta, pmin⁡p^{\min} comes from candles starting at or after τ\tau, and the persistence interval starts at τ\tau. For a valid negative sample, either no qualifying drop occurs within the horizon, or the first drop occurs after tq+δt_q + \delta but fails the price or persistence condition. Predictors are computed from [t0,tq)[t_0, t_q), except for cutoff liquidity, which may be observed at tqt_q, and none of the quantities above is used as a feature or graph edge, following the leakage-aware design of Shoaib et al. [25].

Label statuses. Table 4 lists all statuses and their counts. Transient API or RPC failures are retried rather than recorded (Section 4.1), so the UNKNOWN statuses reflect genuine data unavailability. The labeling procedure defines four safeguard statuses, for example for events coinciding with the end of the horizon; none of them occurred, and the statuses in Table 4 account for all 2,700 samples in every window.

Cohorts and Graph Features

Table 6 gives the sizes and rug-pull rates of the three missingness cohorts (Section 4.4), and Table 7 defines the endpoint-level and graph-level features (Section 4.5).

Cohortq1q_1q2q_2q3q_3
nnRug %nnRug %nnRug %
Original1,95239.01,79035.91,56630.2
< 3 missing67658.188350.186033.1
Complete case52765.776554.969236.8

Table 6. Sizes and rug-pull rates of the missingness cohorts. The original cohort excludes the 9, 8, and 7 embargoed tokens.

FeatureDescription
Node level (input of graph neural networks)
Out-transferslog⁡(1+x)\log(1+x) of the number of outgoing transfers
In-transferslog⁡(1+x)\log(1+x) of the number of incoming transfers
Out-neighborslog⁡(1+x)\log(1+x) of the number of distinct receivers
In-neighborslog⁡(1+x)\log(1+x) of the number of distinct senders
First timeEarliest time of an incident transfer
Mean timeMean time of incident transfers
Graph level (summary features)
TransfersNumber of transfers (edges of the multigraph)
EndpointsNumber of endpoints NN
EdgesNumber of distinct ordered endpoint pairs MM
SendersNumber of distinct sending endpoints
ReceiversNumber of distinct receiving endpoints
DensityM/(N(N−1))M/(N(N-1))
Average degree2M/N2M/N
First timeTime of the earliest transfer
Mean timeMean time of all transfers

Table 7. Features derived from the transfer graph of a sample. Times are relative times ϕ\phi within the window.

Structural Differences

Table 8 reports the rank-biserial correlations discussed in Section 5.1.

Metricq1q_1q2q_2q3q_3
Endpoints0.240.170.19
Density-0.27-0.21-0.22
Max. in-degree centrality-0.42-0.41-0.36
Max. PageRank-0.42-0.41-0.37
Reciprocity-0.26-0.25-0.26
Max. betweenness-0.26-0.30-0.34
Max. out-degree centralityn.s.n.s.0.12

Table 8. Structural differences between rug-pull and non-rug transfer graphs in the training partition: rank-biserial correlation rr (positive: larger for rug-pull graphs). All values are significant after Benjamini–Hochberg correction unless marked n.s.

Model Variants

All variants were developed after the primary analysis and use the original cohort without missingness indicators. DirSAGE and DirGCN aggregate incoming and outgoing neighbors separately (DirGCN mixes them with a tuned weight α∈{0.25,0.5,0.75}\alpha\in\{0.25, 0.5, 0.75\}), use mean–max pooling and the same late fusion, and are tuned on validation AP (40 trials). Bagged GraphSAGE averages five GraphSAGE models trained on four of five stratified folds of the training partition. Stacking adds the out-of-fold GraphSAGE score as a feature to gradient boosting or XGBoost. The global graph links per-token graphs through shared endpoints, using only transfers before each token’s cutoff; its hub filter uses corpus-wide token memberships. Our HNN4RP adaptation samples time-respecting neighbors in a token–wallet graph and encodes them with an attention-based BiLSTM, without the original’s contract-code embedding or a hyperparameter search.

Additional Results

Sensitivity of the primary analysis. Table 10 repeats the comparison of Section 5.2 against every non-graph model (node–graph view) of the panel, using the same estimator: the difference in mean per-seed test AP of a graph model at q1q_1 and a non-graph model at q1q_1, q2q_2, or q3q_3, with 10,000 paired bootstrap samples of the 136 test tokens. Treated as a separate exploratory family, the nine contrasts against the non-graph model with the highest validation ROC-AUC in each window (underlined) have Bonferroni-adjusted intervals that all contain zero. Across the 72 contrasts, unadjusted 95% intervals exclude zero only against the decision tree (bold); two of these remain significant after Holm correction over the 72 contrasts.

Non-graph modelNon-graph APGCN at q1q_1GraphSAGE at q1q_1GAT at q1q_1
q1q_1q2q_2q3q_3q1q_1q2q_2q3q_3q1q_1q2q_2q3q_3q1q_1q2q_2q3q_3
Logistic regression.448.424.435+.030+.053+.043+.075+.098+.088+.009+.032+.022
Decision tree.352.388.414+.125+.090+.064+.170+.134+.108+.104+.069+.043
Random forest.477.429.484+.000+.049-.006+.045+.093+.038-.021+.028-.027
Gradient boosting.493.420.403-.016+.058+.074+.029+.102+.119-.037+.037+.054
XGBoost.464.452.393+.013+.026+.084+.058+.070+.129-.008+.005+.063
MLP.474.417.496+.003+.061-.019+.048+.106+.026-.017+.040-.040
FT-Transformer.480.404.508-.002+.073-.030+.042+.118+.015-.023+.052-.051
AutoInt.495.433.508-.018+.045-.030+.027+.090+.015-.038+.024-.051

Table 10. Graph model at q1q_1 minus each non-graph model at q1q_1, q2q_2, or q3q_3: Δ\DeltaAP in mean per-seed test AP (panel, original cohort, no missingness indicators, n=136n = 136). AP: mean per-seed test AP of the non-graph model. Underlined: non-graph model with the highest validation ROC-AUC in that window. Bold: unadjusted 95% paired-bootstrap interval excludes zero.

Training, Validation, and Test Performance

Table 11 reports the models of Table 3 on all three partitions, and Figure 3 shows the token population of each partition (Section 5.4).

CellModelPrev.APROC-AUC
TrainValVal@testTestTrainValTest
Panel q1q_1GraphSAGE34/45/28.653.815.694.522.746.853.673
XGBoost.776.829.717.464.846.845.677
Panel q2q_2GAT34/45/28.718.843.739.513.799.866.679
XGBoost.877.853.817.452.915.876.650
Panel q3q_3GCN34/45/28.785.860.769.460.863.863.679
FT-Transformer.880.903.837.508.919.906.686
Full q1q_1GAT43/56/33.794.906.803.626.810.888.721
Logistic reg..672.894.776.569.717.884.728
Full q2q_2GraphSAGE38/53/30.699.883.769.596.764.886.725
FT-Transformer.700.895.794.476.756.879.674
Full q3q_3GCN30/45/27.778.828.707.493.866.874.693
MLP.853.898.827.495.908.899.688

Table 11. Training, validation, and test performance of the models of Table 3 (mean over five seeds). Prev.: rug-pull rate in the training/validation/test partitions (%). Val@test: validation AP with positives re-weighted to the test prevalence. Training scores are those of the fitted models on their own training partition.

UMAP embedding of the samples of each window, split chronologically into training, validation, and test tokens

Figure 3. UMAP embedding of the samples of each window, split chronologically into training, validation, and test tokens (left to right; rows q1q_1–q3q_3). The embedding uses the token-level and graph-summary features with missingness indicators, with imputation, scaling, and UMAP fitted on training tokens only; validation and test tokens are projected through the fitted transforms and shown over the training tokens (grey). Transfer kkNN AUC: AUC of the rug-pull share among each token’s 15 nearest training tokens in the embedding (for training tokens, excluding the token itself).

Prevalence. AP rises with the share of positives, and the validation period contains far more rug pulls than the test period. Re-weighting the validation positives to the test prevalence lowers validation AP by 0.07–0.12, which explains only 16–41% of the gap. The remaining 0.17–0.37 AP, and the drop in ROC-AUC, which does not depend on prevalence, must have other causes.

Population shift. The share of pump.fun mints rises from 12–14% of training samples to 36–40% of validation and 63–67% of test samples, and data availability changes with it: in q1q_1, 58%, 33%, and 43% of token-level predictor values are missing, and 42%, 57%, and 54% of samples are graph-bearing in the three partitions. In a UMAP embedding fitted on training tokens only (Figure 3), validation tokens concentrate in regions that were already rug-rich in training (transfer kNN AUC 0.77, 0.79, and 0.77 in q1q_1–q3q_3), whereas test tokens fall into regions that are mostly non-rug or mixed (0.65, 0.67, and 0.53).

Validation is easier than training. For the graph models and logistic regression, validation ROC-AUC is at least as high as training ROC-AUC (for example, 0.853 vs. 0.746 for GraphSAGE in panel q1q_1), and the training neighbors of a training token are less predictive (transfer kNN AUC 0.68–0.69) than those of a validation token. The flexible tabular models fit the training data more closely (training ROC-AUC up to 0.92), but their validation scores are similar.

Selection on validation. The best of the 40–60 search trials exceeds the median trial by at most 0.034 ROC-AUC, and the five retrained seeds stay within 0.02 of the best trial, far less than the validation–test gap of 0.16–0.23.

Cell (reference AP)DirSAGEDirGCNBagged GraphSAGEHNN4RP
Panel q1q_1 (GraphSAGE .522).521; +.006 [-.050, .064].509; +.002 [-.059, .061].527; +.004 [-.043, .043].492; -.020 [-.109, .077]
Panel q2q_2 (GAT .513).535; +.033 [-.017, .082].537; +.003 [-.059, .073].526; -.002 [-.064, .056].461; -.056 [-.130, .024]
Panel q3q_3 (GCN .460).492; +.030 [-.028, .089].471; -.026 [-.079, .050].558; +.069 [-.028, .157].454; -.055 [-.124, .042]
Full q1q_1 (GAT .626).620; +.020 [-.032, .073].636; +.021 [-.027, .073].641; +.006 [-.051, .068].540; -.087 [-.158, -.0004]
Full q2q_2 (GraphSAGE .596).580; -.002 [-.071, .067].600; +.016 [-.047, .078].592; -.007 [-.046, .024].510; -.089 [-.161, -.009]
Full q3q_3 (GCN .493).484; -.030 [-.089, .028].489; -.011 [-.066, .041].555; +.022 [-.040, .089].465; -.013 [-.084, .060]

Table 9. Test AP of the model variants (mean over five seeds) and Δ\DeltaAP relative to the selected graph neural network of the same cell, with paired bootstrap 95% intervals of seed-ensemble scores (unadjusted). Because AP is a per-seed mean and Δ\DeltaAP uses seed-ensemble scores, the two can differ in sign.

References

  1. [1]Takuya Akiba, Shotaro Sano, Toshihiko Yanase, Takeru Ohta, and Masanori Koyama. 2019. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining. 2623–2631.arxiv.org/abs/1907.10902
  2. [2]Abdulrahman Alhaidari, Bhavani Kalal, Balaji Palanisamy, and Shamik Sural. 2025. SolRPDS: A Dataset for Analyzing Rug Pulls in Solana Decentralized Finance In. Proceedings of the Fifteenth ACM Conference on Data and Application Security and Privacy. Association for Computing Machinery, 293–298. doi:10.1145/3714393.3726487
  3. [3]Yoav Benjamini and Yosef Hochberg. 1995. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal statistical society: series B (Methodological) 57, 1 (1995), 289–300.DOI
  4. [4]Tian Bian, Xi Xiao, Tingyang Xu, Peilin Zhao, Wenbing Huang, Yu Rong, and Junzhou Huang. 2020. Rumor Detection on Social Media with Bi-Directional Graph Convolutional Networks. In Proceedings of the AAAI conference on artificial intelligence, Vol. 34. 549–556. doi:10.1609/aaai.v34i01.5393DOI
  5. [5]Carlo Emilio Bonferroni. 1936. Teoria Statistica delle Classi e Calcolo delle Probabilità. Pubblicazioni del R. Istituto Superiore di Scienze Economiche e Commerciali di Firenze 8 (1936), 3–62.
  6. [6]Federico Cernera, Massimo La Morgia, Alessandro Mei, and Francesco Sassi. 2023. Token Spammers, Rug Pulls, and Sniper Bots: An Analysis of the Ecosystem of Tokens in Ethereum and in the Binance Smart Chain (BNB). In 32nd USENIX Security Symposium (USENIX Security 23). USENIX Association, Anaheim, CA, 3349–3366. https://www.usenix.org/conference/usenixsecurity23/presentation/cerneraarxiv.org/abs/2206.08202
  7. [7]Jiaxin Chen, Ziwei Li, Zigui Jiang, Ruihong He, Yantong Zhou, Jiajing Wu, and Zibin Zheng. 2026. From Hype to Collapse: Investigating Rug Pull Scams on Solana. arXiv:2603.24625 [cs.CR]arxiv.org/abs/2603.24625
  8. [8]Ethereum.org. 2026. Ethereum Accounts. https://ethereum.org/developers/docs/accounts/. Accessed September 5, 2026.
  9. [9]Yury Gorishniy, Ivan Rubachev, Valentin Khrulkov, and Artem Babenko. 2021. Revisiting Deep Learning Models for Tabular Data. In Advances in Neural Information Processing Systems, Vol. 34. 18932–18943. https://proceedings.neurips.cc/paper/2021/hash/9d86d83f925f2149e9edb0ac3b49229c-Abstract.htmlarxiv.org/abs/2106.11959
  10. [10]Will Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive Representation Learning on Large Graphs. In Advances in Neural Information Processing Systems, Vol. 30. 1024–1034. https://proceedings.neurips.cc/paper/2017/hash/5dd9db5e033da9c6fb5ba83c7a7ebea9-Abstract.html
  11. [11]Sture Holm. 1979. A simple sequentially rejective multiple test procedure. Scandinavian journal of statistics (1979), 65–70.DOI
  12. [12]Sihao Hu, Selim Furkan Tekin, Yicheng Xu, and Ling Liu. 2026. Meme-Trans: A Dataset for Detecting High-Risk Memecoin Launches on Solana. arXiv:2602.13480 https://arxiv.org/abs/2602.13480
  13. [13]Phuong Duy Huynh, Son Hoang Dau, Nicholas Huppert, Joshua Cervenjak, Hoonie Sun, Hong Yen Tran, Xiaodong Li, and Emanuele Viterbo. 2025. Serial Scammers and Attack of the Clones: How Scammers Coordinate Multiple Rug Pulls on Decentralized Exchanges. In Proceedings of the ACM Web Conference 2025. Association for Computing Machinery, 1016–1032. doi:10.1145/3696410.3714919DOI
  14. [14]Alisa Kalacheva, Pavel Kuznetsov, Igor Vodolazov, and Yury Yanovich. 2026. Detecting Rug Pulls in Decentralized Exchanges: The Rise of Meme Coins. Blockchain: Research and Applications 7, 2 (2026), 100336. doi:10.1016/j.bcra.2025.100336DOI
  15. [15]Thomas N. Kipf and Max Welling. 2017. Semi-Supervised Classification with Graph Convolutional Networks. In International Conference on Learning Representations. https://mlanthology.org/iclr/2017/kipf2017iclr-semi/arxiv.org/abs/1609.02907
  16. [16]Chenchen Li, Hai Jin, Minrui Wu, and Jiang Xiao. 2025. HNN4RP: Heterogeneous Graph Neural Network for Rug Pull Detection on Ethereum. Journal of Electronics & Information Technology 47, 10 (2025), 3395–3409. doi:10.11999/JEIT250160
  17. [17]Jianghai Li, Pavel Kuznetsov, Yury Yanovich, Konstantin Nott-Whaley, and Igor Vodolazov. 2026. Catching the Rug: Early Prediction of Fraudulent Memecoins on Solana via Machine Learning. arXiv:2608.20271 [cs.AI]arxiv.org/abs/2608.20271
  18. [18]Yueyao Li, Nanjun Yao, Yuhui Huo, and Wei Cai. 2025. Trust Dynamics and Bot-Driven Responses: An Approach to Rug Pulls in Solana Meme Coin Markets. In Proceedings of the 17th ACM Web Science Conference 2025. 106–116. doi:10.1145/3717867.3717922DOI
  19. [19]Weizhe Zhang, Jiaxin Chen, Jiajiang Wu, Weizhe Zhang, Yongyuan Wang, and Zibin Zheng. 2024. Crpwarner: Warning the risk of contract-related rug pull in defi smart contracts. IEEE Transactions on Software Engineering 50, 6 (2024), 1534–1547. doi:10.1109/TSE.2024.3294521arxiv.org/abs/2403.01425
  20. [20]Yang Liu, Xiang Ao, Ziqi Qin, Jianfeng Chi, Jinghua Fang, Hao Yang, and Qing He. 2021. Pick and Choose: A GNN-based Imbalanced Learning Approach for Fraud Detection. In Proceedings of the Web Conference 2021. Association for Computing Machinery, 3168–3177. doi:10.1145/3442381.3449989DOI
  21. [21]Henry B. Mann and Donald R. Whitney. 1947. On a Test of Whether One of Two Random Variables Is Stochastically Larger than the Other. The Annals of Mathematical Statistics 18, 1 (1947), 50–60. doi:10.1214/aoms/1177730491
  22. [22]Bruno M. Marra, Victor Adan, and Vanessa Daza. 2022. Do Not Rug on Me: Leveraging Machine Learning Techniques for Automated Scam Detection. Mathematics 10, 6 (2022). doi:10.3390/math10060949DOI
  23. [23]Feargus Pendlebury, Fabio Pierazzi, Roberto Jordaney, Johannes Kinder, and Lorenzo Cavallaro. 2019. 【TESSERACT】: Eliminating experimental bias in malware classification across space and time. In 28th USENIX security symposium (USENIX Security 19). 729–746.arxiv.org/abs/1807.07838
  24. [24]Emanuele Rossi, Bertrand Charpentier, Francesco Di Giovanni, Fabrizio Frasca, Stephan Günnemann, and Michael M. Bronstein. 2024. Edge Directionality Improves Learning on Heterophilic Graphs. In Proceedings of the Second Learning on Graphs Conference (Proceedings of Machine Learning Research, Vol. 231). PMLR, 25:1–25:27. https://proceedings.mlr.press/v231/rossi24a.htmlarxiv.org/abs/2305.10498
  25. [25]Fatemeh Shoaei, Mohammad Pishdar, Mozafar Bag-Mohammadi, Mojtaba Karami, and Bert Laigaise. 2026. TMRugPull: A Temporally Sound Multimodal Dataset for Early RugPull Detection. arXiv:2602.21529 [cs.CR] https://arxiv.org/abs/2602.21529
  26. [26]Solana. 2026. Assets on Solana. https://solana.com/docs/tokens. Accessed October 26, 2026.
  27. [27]Solana. 2026. Programs on Solana. https://solana.com/docs/core/programs. Accessed September 5, 2026.
  28. [28]Weiping Song, Chence Shi, Zhiping Xiao, Zhijian Duan, Yewen Xu, Ming Zhang, and Jian Tang. 2019. AutoInt: Automatic feature interaction learning via self-attentive neural networks. In Proceedings of the 28th ACM international conference on information and knowledge management. 1161–1170.DOI
  29. [29]Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph Attention Networks. In International Conference on Learning Representations. https://mlanthology.org/iclr/2018/velickovic2018iclr-graph/arxiv.org/abs/1710.10903
  30. [30]Cong Wu, Hangcheng Cao, Jing Chen, Xiyu Yan, Guowen Xu, Ziming Zhao, Yang Liu, and Hongbo Jiang. 2025. RGSCREENER: Leveraging Temporal Graph Neural Network for Rugpull Detection in Defi. IEEE Transactions on Information Forensics and Security 20 (2025), 11120–11133. doi:10.1109/TIFS.2025.3620669DOI
  31. [31]Cong Wu, Jing Chen, Ziming Zhao, Kun He, Guowen Xu, Yueming Wu, Haijun Wang, Hongwei Li, Yang Liu, and Yang Xiang. 2024. TokenScout: Early Detection of Ethereum Scam Tokens via Temporal Graph Learning. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security. Association for Computing Machinery, 956–970. doi:10.1145/3658644.3690234DOI
  32. [32]Hao Wu, Haijun Wang, Shangwang Li, Yin Wu, Ming Fan, Wuxia Jin, and Ting Liu. 2026. RPHunter: Unveiling Rug Pull Schemes in Crypto Token via Code-and-Transaction Fusion Analysis. IEEE Transactions on Software Engineering (2026). doi:10.1109/TSE.2026.3716306DOI
  33. [33]Dmitry Yarema, Jianghai Li, Alisa Kalacheva, Igor Vodolazov, and Yury Yanovich. 2025. Detecting Rug Pulls in Decentralized Exchanges: Machine Learning Evidence from the TON Blockchain. arXiv preprint arXiv:2509.01168 (2025).arxiv.org/abs/2509.01168

Paper details

vlnc:W_qjyrc47u
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents