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

@micdrop/react-native

Latest version: v0.3.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: godefroy, lonestone-team
103 Stars
9 Forks
3 Versions
186 Downloads
MDX Repo language

Scan summary

@micdrop/react-native was last scanned on 30 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.3.0.
  • Downloads: 186 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 30 Nov 2026 No rules fired
0.2.0 7 Nov 2026 No rules fired
0.1.1 16 Sep 2026 No rules fired

No rules fired in 0.3.0

Findings

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

README

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

🖐️🎤 Micdrop: Real-Time Voice Conversations with AI

Micdrop website | Documentation | Example app

Micdrop is a set of open source Typescript packages to build real-time voice conversations with AI agents. It handles all the complexities on the client and server side (microphone, speaker, VAD, network communication, etc) and provides ready-to-use implementations for various AI providers.

@micdrop/react-native

The React Native implementation of Micdrop, for iOS and Android.

It talks to the same @micdrop/server as the browser client, over the same protocol, so a web app and a mobile app share one backend.

Features

  • 🎤 Real-time microphone recording and playback, with the audio session set up for a phone call
  • 🗣️ Voice activity detection (VAD), so the user just talks
  • 🔊 Loudspeaker or earpiece, and the input devices the OS offers
  • ⚛️ React hooks for the whole call state
  • 🔌 Reconnection, mute, pause and interruption handled for you
  • 🌐 WebSocket audio streaming, 16 kHz PCM from the microphone, the voice at the rate of its provider

Installation

npm install @micdrop/react-native react-native-audio-api

Audio is captured and played through react-native-audio-api, which needs native code: the app runs from a development build rather than from Expo Go.

That library also ships a player UI that pulls in three more packages, so install them as well:

npx expo install react-native-worklets react-native-gesture-handler react-native-reanimated

For the React hooks:

npm install @micdrop/react
Expo

Add the config plugin to app.json, so the microphone permission and the audio service land in the native projects:

{
  "expo": {
    "plugins": [
      [
        "react-native-audio-api",
        {
          "iosMicrophonePermission": "We need the microphone so you can talk with the assistant.",
          "androidPermissions": [
            "android.permission.RECORD_AUDIO",
            "android.permission.MODIFY_AUDIO_SETTINGS",
            "android.permission.FOREGROUND_SERVICE",
            "android.permission.FOREGROUND_SERVICE_MICROPHONE",
            "android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK"
          ],
          "androidFSTypes": ["microphone", "mediaPlayback"]
        }
      ]
    ]
  }
}

Then build the app once with npx expo run:ios or npx expo run:android.

Bare React Native

Add NSMicrophoneUsageDescription to Info.plist, RECORD_AUDIO to AndroidManifest.xml, and run pod install.

Quick start

import { useMicdropState } from '@micdrop/react'
import { Micdrop } from '@micdrop/react-native'
import { Button, Text, View } from 'react-native'

export default function Call() {
  const state = useMicdropState()

  const handlePress = () =>
    state.isStarted
      ? Micdrop.stop()
      : Micdrop.start({ url: 'wss://example.com/call' })

  return (
    <View>
      <Text>{state.isUserSpeaking ? 'Listening' : 'Your turn'}</Text>
      <Button
        title={state.isStarted ? 'Hang up' : 'Start the call'}
        onPress={handlePress}
      />
    </View>
  )
}

Micdrop.start() asks for the microphone permission, opens the audio session, connects to the server and starts listening. There is nothing else to wire.

See the example app for a complete screen with the conversation, the level meters and the call controls.

Call state

useMicdropState() returns the whole state, and re-renders when any of it changes:

Field Meaning
isStarting, isStarted Where the call is
isListening, isUserSpeaking The microphone side
isProcessing The server is working on an answer
isAssistantSpeaking The answer is being played
isMuted, isPaused What the user asked for
isReconnecting The connection dropped and is being retried
conversation Everything said so far
speakerDeviceId speaker or earpiece
micDevices, speakerDevices What the OS offers
error The last error, if any

Hooks

The hooks live in @micdrop/react and are the same ones a web app uses.

  • useMicdropState for the state above
  • useMicdropError when the microphone is refused or the server is unreachable
  • useMicdropEndCall when the assistant hangs up on its own
  • useMicdropToolCall when the agent runs a tool
  • useMicVolume and useSpeakerVolume for level meters

Differences with the browser

The call itself is the very same code, @micdrop/client, which this package and @micdrop/web both build on. What changes is the hardware underneath:

  • Outputs are routes rather than devices: Micdrop.changeSpeakerDevice('speaker' | 'earpiece'). Headphones and Bluetooth are routed by the operating system.
  • The audio session is configured as a phone call, which is what turns on echo cancellation. When a call still hears the assistant in its first seconds, it turns interruptions off
  • Settings are not persisted unless the app installs a storage with setMicdropStorage()

Voice activity detection

VolumeVAD follows the level of the room and costs nothing. It is the default and needs no extra package.

SileroVAD runs a small model that hears the difference between a voice and a noise. It needs onnxruntime-react-native, and version 1.24.3 needs one patch, fixing two things, before it runs on Expo SDK 57:

  • Delete its unimodule.json. Expo autolinking reads that file, decides the package is an Expo module and leaves it out of the React Native side, so OnnxruntimePackage is never registered and the app throws Cannot read property 'install' of null on the first import. Without the file, autolinking treats it as the plain React Native module it is.
  • In android/build.gradle, replace VersionNumber.parse(REACT_NATIVE_VERSION) < VersionNumber.parse("0.71") with REACT_NATIVE_MINOR_VERSION < 71. VersionNumber is gone from Gradle 9.

Adding the package to plugins in app.json looks like the answer and is not: its config plugin adds the Gradle project and the pod, neither of which registers the native module. Bare React Native never meets the first half, since the community autolinking ignores unimodule.json.

The finished patch lives at patches/onnxruntime-react-native@1.24.3.patch, so with pnpm you drop it in your own patches/, name it under pnpm.patchedDependencies and install. Installation has that and the npm and Yarn route.

import '@micdrop/react-native/silero'

await Micdrop.start({ url, vad: 'silero' })

The model is about two megabytes, fetched once on the first call. To ship it with the app instead:

import { setSileroOptions } from '@micdrop/react-native/silero'

setSileroOptions({ model: '/path/on/the/device/silero_vad_v5.onnx' })

Both detectors, and the algorithm behind them, come from @micdrop/client and behave exactly as they do in a browser.

Using another audio library

Recording and playback sit behind two small interfaces, so react-native-audio-api can be swapped out:

import { Mic, MicDriver, Speaker, SpeakerDriver } from '@micdrop/react-native'

Mic.setDriver(myMicDriver)
Speaker.setDriver(mySpeakerDriver)

A MicDriver emits Frames with mono float samples, a SpeakerDriver plays PCM16 at the sample rate it is given. Everything above them, from the voice activity detection to the protocol, stays the same.

Documentation

Read the full React Native documentation on the website.

License

MIT

Author

Originally developed for Raconte.ai, created and open sourced by Godefroy de Compreignac

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

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 (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (1)
Research

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

Frame 2085668439 (1)
Group 1261154229