feat: add security data section in token details page#27073
feat: add security data section in token details page#27073sahar-fehri wants to merge 34 commits intomainfrom
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
| return ( | ||
| <> | ||
| <View style={styles.wrapper}> | ||
| {/* TODO: remove this once we have have the new row confirmed from design */} |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #27073 +/- ##
==========================================
- Coverage 81.87% 81.82% -0.05%
==========================================
Files 4691 4705 +14
Lines 122275 122880 +605
Branches 26947 27149 +202
==========================================
+ Hits 100109 100549 +440
- Misses 15221 15336 +115
- Partials 6945 6995 +50 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ctivity if no transactions
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These are all covered under SmokeWalletPlatform, which validates:
No controller, Engine, confirmation system, swap execution, network management, identity sync, or Snap-related files were modified. Therefore, SmokeConfirmations, SmokeTrade, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeMultiChainAPI, SmokeAccounts, SmokeIdentity, SmokeCard, SmokePerps, SmokePredictions, SmokeRamps, and FlaskBuildTests are not strictly required based on the diff. Given the UI-heavy but wallet-core nature of the changes, SmokeWalletPlatform provides sufficient regression coverage with minimal unnecessary scope. Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|




Description
Implements the Security & Trust feature on the Token Details page, based on the Token Security & Trust API to Design Mapping.
What changed:
includeTokenSecurityData: truetogetTrendingTokensandsearchTokensAPI calls so security data is proactively fetched for trending and search flowsTokenDetailsRouteParamsto carrysecurityDatathrough navigation, avoiding redundant fetches for trending/search entry pointsuseTokenSecurityDatahook that returns prefetched data immediately or fetches on-demand (with 60s refresh) for other entry flows (e.g. wallet home, swaps)SecurityTrustEntryCard— a flat summary section on the Token Details page showing risk level, feature tags (Verified Contract, High Reputation, Listed on CEX, 0% Tax), and a timestampSecurityTrustScreen— a full-page view navigated to from the entry card, with sections for: Security Score, Risk Factors, Contract Security, Honeypot Analysis, Buy/Sell Tax, Token Distribution, Liquidity, Audits & Reviews, Official Links, Token Info, On-chain ActivitySecurityTrustroute inMainNavigatorKnown gaps (blocked on API data — reason this is a draft):
Changelog
CHANGELOG entry: Added Security & Trust section to Token Details page showing risk level, contract security features, buy/sell tax, token distribution, and official links powered by Blockaid.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist