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

@onekeyfe/react-native-native-overlay

Latest version: v6.8.0-51

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: 1keyfe
5 Stars
10 Forks
173 Versions
33.5K Downloads
TypeScript Repo language

Scan summary

@onekeyfe/react-native-native-overlay was last scanned on 28 Nov 2026 at version 6.8.0-51. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 173 versions; the latest 5 were published within 3 days (26–28 Nov 2026).
  • Findings: No rules fired in version 6.8.0-51.
  • Downloads: 33,547 downloads.

Versions

173 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.8.0-51 LATEST 28 Nov 2026 No rules fired
6.8.0-50 28 Nov 2026 No rules fired
6.8.0-49 27 Nov 2026 No rules fired
6.8.0-48 26 Nov 2026 Not shown
6.8.0-47 26 Nov 2026 Not shown

No rules fired in 6.8.0-51

Findings

Findings for v6.8.0-51. 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 6.8.0-51; other versions have their own rules, not their own score.

README

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

@onekeyfe/react-native-native-overlay

Overlay hosts that draw above the app on iOS, Android and Web while keeping the caller's React subtree and hit testing intact.

npm license iOS Android Web Fabric

Owns where an overlay is drawn, which overlay is on top and how it enters and exits. Levels are fixed (modal, hardware, secure, toast, lock, debug), each entry picks a global or page scope and a lane strategy, and the native host reparents the caller's content so React context, refs and measureInWindow keep working. Sheet, center, fullscreen, toast and anchored presentations are available; the application owns the content and business UI.

Features

  • Predictable ordering — every page entry renders below every global entry, and inside a scope entries sort by level and then by request order.
  • Lane strategies — stack, queue and replace apply per (scope, host, level) lane, with priority, replaceKey and de-duplicated ids.
  • Preserved React identity — the overlay view stays where the caller rendered it; native code moves its content into the host, so there is no portal that drops context.
  • Page scope that covers chrome — OverlayPageHost as the last child of a root route lets page overlays cover native headers and the tab bar.
  • Native presentation and motion — sheet drag, back handling, keyboard avoidance, status bar styling and configurable enter/exit animations.
  • Web parity — the Web implementation portals into z-indexed level layers with a focus trap and page isolation.

Installation

yarn add @onekeyfe/react-native-native-overlay

The native hosts are React Native Fabric codegen components, not Nitro views. Install the app's iOS pods and rebuild the native application after adding the package. Web additionally needs react-dom; it is declared as an optional peer dependency.

Usage

import { useState } from 'react';
import {
  OverlayPageHost,
  OverlayView,
} from '@onekeyfe/react-native-native-overlay';

function MainRoute() {
  const [visible, setVisible] = useState(false);
  return (
    <>
      {screen}
      <OverlayView
        visible={visible}
        presentation="sheet"
        level="modal"
        sheet={{ dismissOnPanDown: true, cornerRadius: 24 }}
        onRequestDismiss={() => setVisible(false)}
      >
        {content}
      </OverlayView>
      {/* Last child of the root route, after its navigator. */}
      <OverlayPageHost hostKey="main" />
    </>
  );
}

The application still owns visible and the content. scope="page" resolves hostKey/ownerKey from the nearest OverlayPageHostScope and OverlayPageOwnerScope providers.

API

Export Shape Description Platforms
OverlayView component Declarative overlay: visible, scope, level, strategy, priority, replaceKey, presentation, sheet, animation, backdrop, blocking, keepContentMounted, statusBarStyle, contentSize, dismiss/present callbacks. iOS, Android, Web
OverlayPageHost component Renders the page-scope overlays of one root route from hostKey. iOS, Android, Web
OverlayPageHostScope, OverlayPageOwnerScope providers Supply hostKey per root route and ownerKey per page. iOS, Android, Web
overlayStore store Imperative request, dismiss, finalize, reopen, dismissAll, setPageVisible, removePage, resolveBack. iOS, Android, Web
OverlayRequestError error class Thrown for invalid requests such as a page entry without keys. iOS, Android, Web
OVERLAY_LEVELS, OVERLAY_LEVEL_ORDER constants The level list and their numeric order. iOS, Android, Web
resolveOverlayAnimation, OVERLAY_MOTION_PRESETS, NATIVE_MOTION_PRESETS, WEB_MOTION_PRESETS helpers Resolve animation configs per platform. iOS, Android, Web

presentation accepts sheet, center, fullscreen, toast and anchored. strategy accepts stack, queue and replace. See docs/SPEC.md for the ownership model, platform differences and acceptance record.

Platform support

Capability iOS Android Web
Global overlays and level ordering ✅ ✅ ✅
Page scope via OverlayPageHost ✅ ✅ ✅
Sheet presentation ✅ ✅ ✅
Keyboard avoidance ✅ ✅ ✅
windowOffsetRequest for modal-relative anchors ✅ — —
contentSize for pre-rotation layout ✅ ✅ —
Status bar styling ✅ ✅ —

Caveats

[!IMPORTANT] Page-scope entries need both hostKey and ownerKey. A declarative OverlayView waits until the nearest scope providers supply them, but a direct overlayStore.request with a missing key throws OverlayRequestError.

[!NOTE] The windowOffsetRequest/onWindowOffset and contentSize props are native-only layout aids; they do nothing on Web. On Web the overlay portals into a level layer and relies on react-dom.

References

  • Package spec
  • Public exports
  • Changelog

License

MIT. See LICENSE.

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 @onekeyfe/react-native-native-overlay

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229