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

@fonoster/voice

Latest version: v0.68.0

Overview

Last scanned
2 Dec 2026
Published
2 Dec 2026
npm package Publisher: fonoster-oss
8,183 Stars
567 Forks
53 Versions
7.4K Downloads
TypeScript Repo language

Scan summary

@fonoster/voice was last scanned on 2 Dec 2026 at version 0.68.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 53 versions; the latest was published on 2 Dec 2026.
  • Findings: No rules fired in version 0.68.0.
  • Downloads: 7,427 downloads.

Versions

53 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.68.0 LATEST 2 Dec 2026 No rules fired
0.67.0 20 Nov 2026 No rules fired
0.66.0 19 Nov 2026 No rules fired
0.65.0 19 Nov 2026 Not shown
0.64.2 18 Nov 2026 Not shown

No rules fired in 0.68.0

Findings

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

Known vulnerabilities

1 CVE · last 5 Mar 2026

0 CRITICAL 0 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 0.6.1
  • ≥ 0.5.5, < 0.6.1 1 MEDIUM
  • < 0.5.5

Vulnerabilities

  • CVE-2024-43035 Medium 5 Mar 2026 Fonoster is vulnerable to directory traversal Fixed in 0.6.1

README

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

voice

Voice Version Downloads/week License

The session SDK for Fonoster voice applications. For every call, Fonoster's AppBridge opens one signed WebSocket session to your app; VoiceServer accepts it and runs your handler with the session. The protocol is in docs/session-protocol.md, the full SDK guide in docs/voice-sdk.md, and runnable examples in examples/.

  • Installation
  • Example
  • The session

Installation

$ npm install --save @fonoster/voice

Example

import { VoiceServer } from "@fonoster/voice";

// AppBridge signs every connection with the app's signing secret.
new VoiceServer({ port: 3000, signingSecret: process.env.APP_SIGNING_SECRET }).listen(
  async (session) => {
    await session.say("Hi there! What's your name?");
    const { speech: name } = await session.gather();
    await session.say(`Nice to meet you ${name}!`);

    await session.say("Please enter your 4 digit pin.");
    const { digits } = await session.gather({ maxDigits: 4, finishOnKey: "#" });
    await session.say(`Your pin is ${digits}`);

    await session.hangup();
  }
);

attach(server, handler) mounts the same server on an existing HTTP or Express server.

The session

Method Does
say(text \| asyncIterable, options?) Speaks; resolves with { interrupted, heardText, heardMs }
gather(options?) Waits for speech or keypresses (maxDigits, finishOnKey, timeout)
play(url), playDtmf(digits) Plays media or DTMF tones
transfer(to, { mode }), completeTransfer() Cold, warm or refer transfer
hold(), resume(), handoff(app, payload), hangup() Call control
audio.onFrame, audio.send, audio.mark, audio.clear Raw call audio
on(event, cb), subscribe(events) Turns, partial transcripts, keypresses

Fields: callRef, appRef, from, to, direction, metadata.

Coming from the gRPC SDK ((req, res) handlers, VoiceResponse, stream, sgather, dial)? Those are gone; see docs/migrating-to-sessions.md. @fonoster/voice/session resolves to this package for one more release.

Session

One call's session, built on the fonoster.session.v1 messages (voice-sdk S8). Verbs are conveniences: each sends one command and resolves on the event that answers it.

Kind: global class

  • Session
    • .midTurn
    • .turnExpired
    • .say()
    • .stopSay()
    • .gather()
    • .listen()
    • .subscribe()
    • .transfer()
    • .completeTransfer()
    • .handoff()
    • .hangup()
    • .note()
    • .reportUsage()
    • .answer()
    • .receive()
    • .closed()
    • .command()
    • .bargeIn()
session.midTurn

The caller is mid-turn: a turn.user_started with no turn.ended yet.

Kind: instance property of Session\

session.turnExpired

A gather gave up on the current turn; its late turn.ended is dropped, not buffered.

Kind: instance property of Session\

session.say()

Speaks text, or a stream of text pieces as one utterance, and reports what was heard.

Kind: instance method of Session\

session.stopSay()

Cuts the agent off: every pending say and play resolves as interrupted.

Kind: instance method of Session\

session.gather()

Waits for speech (turn.ended) or digits (dtmf), whichever comes first.

Kind: instance method of Session\

session.listen()

Starts listening or changes how AppBridge listens (listen.update): recognition language, hints, and the turn-taking patience knob (low, normal or high).

Kind: instance method of Session\

session.subscribe()

Requests opt-in events: "turn.estimate", "transcript.partial".

Kind: instance method of Session\

session.transfer()

Transfers the call; resolves when AppBridge ends the session with reason transfer.

Kind: instance method of Session\

session.completeTransfer()

Completes the pending warm transfer: the agent leaves, caller and new party stay. Resolves when the session ends with reason transfer; rejects with a SessionError (transfer_not_answered) when the new party has not answered yet, which leaves the transfer pending: wait for the transfer.answered event and call it again.

Kind: instance method of Session\

session.handoff()

Hands the call to another app with a payload; resolves when this session ends.

Kind: instance method of Session\

session.hangup()

Hangs up; resolves when the session ends. failure ends the call as failed in the call record (@internal: reserved for Fonoster's own apps (Autopilot); AppBridge ignores it from others).

Kind: instance method of Session\

session.note()

Adds a note to the call record (record.note).

Kind: instance method of Session\ Internal: Reserved for Fonoster's own apps (Autopilot); not part of the public SDK and may change.\

session.reportUsage()

Adds model token usage to the call (usage.report, add-usage-metering).

Kind: instance method of Session\ Internal: Reserved for Fonoster's own Autopilot; AppBridge refuses it from other apps.\

session.answer()

Resolves at once: AppBridge answers the call on connect (voice-sdk S2).

Kind: instance method of Session\

session.receive()

Feeds one frame from the socket.

Kind: instance method of Session\

session.closed()

The socket closed.

Kind: instance method of Session\

session.command()

Sends a command whose only answer is a possible error (logged as a session error).

Kind: instance method of Session\

session.bargeIn()

The app owns interruption (appbridge B22): when the caller starts talking over an interruptible say or play, the SDK cuts it off with clear; a non-interruptible one keeps playing.

Kind: instance method of Session

VoiceServer

Accepts AppBridge sessions over WebSocket and runs the handler once per session (voice-sdk, "VoiceServer accepts AppBridge sessions over WebSocket").

Kind: global class

  • VoiceServer
    • .listen()
    • .attach()
    • .handleUpgrade()
voiceServer.listen()

Starts a standalone server. Resolves once it is listening.

Kind: instance method of VoiceServer\

voiceServer.attach()

Mounts on an existing HTTP server (Express included): sessions arrive on path.

Kind: instance method of VoiceServer\

voiceServer.handleUpgrade()

Handles one upgrade request: verifies the signature, then runs a session.

Kind: instance method of VoiceServer

SessionError

A command failed: AppBridge sent error with relatesTo set to the command's id.

Kind: global class

SessionEndedError

The session ended (or a fatal error arrived) while the command was pending.

Kind: global class

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 @fonoster/voice

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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?

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