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

@charivo/render

Latest version: v0.13.2

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: zeikar
29 Stars
3 Forks
22 Versions
96 Downloads
TypeScript Repo language

Scan summary

@charivo/render was last scanned on 23 Nov 2026 at version 0.13.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 22 versions; the latest 5 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.13.2.
  • Downloads: 96 downloads.

Versions

22 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.13.2 LATEST 23 Nov 2026 No rules fired
0.13.1 23 Nov 2026 No rules fired
0.13.0 23 Nov 2026 No rules fired
0.12.2 23 Nov 2026 Not shown
0.12.1 22 Nov 2026 Not shown

No rules fired in 0.13.2

Findings

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

README

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

@charivo/render

Stateful render manager and rendering utilities for Charivo.

Use this package when you already have a renderer implementation, such as @charivo/render-live2d, and want the manager that bridges TTS, realtime avatar action events, mouse tracking, and message rendering.

Install

pnpm add @charivo/render

Usage

import { createRenderManager } from "@charivo/render";
import { createLive2DRenderer } from "@charivo/render-live2d";

const renderer = createLive2DRenderer({ canvas });
const renderManager = createRenderManager(renderer, {
  canvas,
  mouseTracking: "document",
});

await renderManager.initialize();
await renderManager.loadModel("/live2d/hiyori/hiyori.model3.json");

What It Does

  • wraps a Renderer implementation
  • consumes the typed CharivoEventBus
  • toggles the renderer's setRealtimeLipSync on tts:audio:start / tts:audio:end and feeds updateRealtimeLipSyncRms from the RMS numbers carried by tts:lipsync:update — it does not analyze audio itself; the TTS and realtime managers produce those numbers; tts:audio:end also ends the audio-based speech span described below
  • reacts to avatar:expression, avatar:motion, avatar:gaze and avatar:release; an avatar:motion carrying muteSound has that flag forwarded to the renderer, and one without it stays audible
  • shows expressions and gaze through claims: each avatar:expression or avatar:gaze is a claim on its channel with an optional source, priority (reflex > explicit > inferred > ambient) and hold, and the highest live claim is shown, a tie going to the newest. A claim with no hold gets the channel default: an expression lasts for the speech it accompanies, a gaze 1,200 ms. avatar:release ends a source's claims early
  • releases an expression through stopExpression when its last claim ends, if the renderer supports it: speech-scoped claims end with their speech span (a voiced performance:start to performance:end, or else tts:audio:start to tts:audio:end), and a roughly 8-second window covers setups where no speech starts (text-only). Only the claims bound to a span end with it, so a silent reaction with its own hold outlives unrelated speech. With @charivo/render-live2d the release fades Add and Multiply parameters back to the base face when their release duration (the expression's FadeOutTime) is positive (Overwrite parameters snap — an SDK constraint). The release also waits until the expression has finished fading in, so it can remain visible beyond the nominal 8-second window
  • forwards a motion's priority to the renderer (reflex as "force", ambient as "idle", otherwise nothing) and lets the renderer decide against the clip actually running
  • optionally wires mouse tracking to a canvas or the full document

Exports

  • createRenderManager(renderer, options?)
  • setupMouseTracking(...)

Renderer Expectations

At minimum, a renderer must implement the Renderer contract from @charivo/core. If it also exposes optional methods such as loadModel, setRealtimeLipSync, updateRealtimeLipSyncRms, playExpression, stopExpression, playMotionByGroup, lookAt, clearGaze, getAvailableExpressions, or getAvailableMotionGroups, the render manager will use them automatically. clearGaze is called when the last gaze claim ends, to drop the target a lookAt set. getAvatarControlCatalog is the exception: the manager never calls it — it hands the app the model's catalog for avatar tools.

Mouse tracking is installed when the renderer is MouseTrackable (updateViewWithMouse and handleMouseTap). That contract also has an optional setGazeOrigin(origin?), which the app calls on the renderer itself: the point of the model, as a GazeOrigin (fractions of the model's own canvas, top-left (0, 0) to bottom-right (1, 1)), that the cursor is measured from instead of the canvas's centre — between the eyes of a full body, so a pointer on the face looks straight ahead. See Where The Cursor Is Measured From.

Event Wiring

RenderManager uses setEventBus(...) because it subscribes to upstream Charivo events. In the default flow it listens for:

  • tts:audio:start
  • tts:audio:end
  • tts:lipsync:update
  • avatar:expression
  • avatar:motion
  • avatar:gaze
  • avatar:release
  • performance:start
  • performance:end

This manager consumes the full bus because it needs subscription access, not just event emission. RenderManager also exposes disconnect() to remove the listeners registered by setEventBus and release every claim and any held expression; destroy() calls it automatically.

Local-Presence Gaze

RenderManager exposes a public method for driving gaze from a local-presence source such as webcam face tracking:

renderManager.setLocalGaze({ x: 0.3, y: -0.1 }); // returns boolean

What it does:

  • Calls the renderer's lookAt with the supplied coordinates.
  • Briefly suspends mouse cursor tracking (the updateViewWithMouse path) via a separate local-gaze window, so the webcam/local-presence driver beats the cursor while the window is active.

What it does NOT do:

  • It does not make a gaze claim, so it never holds the avatar's gaze, and its target persists until something else replaces it.
  • It does not suppress deliberate taps — tap-driven gaze yields only to a live gaze claim, not to the local-gaze window.

Returns false (no-op) when:

  • a gaze claim is live (an avatar:gaze is still held), or
  • the renderer has no lookAt method.

Gaze driver priority:

  • Cursor-follow: gaze claim (avatar:gaze) > local-presence (setLocalGaze) > mouse cursor
  • Deliberate taps: gaze claim (avatar:gaze) > tap (local-presence does not suppress taps)

When the last gaze claim ends, the manager calls the renderer's clearGaze() if it has one, so the renderer's own resting gaze resumes.

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 @charivo/render

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229