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

@vosjs/studio-core

Latest version: v0.50.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: hblee12294
8 Stars
0 Forks
85 Versions
3.0K Downloads
TypeScript Repo language

Scan summary

@vosjs/studio-core was last scanned on 27 Nov 2026 at version 0.50.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 85 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.50.0.
  • Downloads: 3,030 downloads.

Versions

85 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.50.0 LATEST 27 Nov 2026 No rules fired
0.49.8 19 Nov 2026 No rules fired
0.49.5 15 Nov 2026 No rules fired
0.49.4 15 Nov 2026 Not shown
0.49.3 14 Nov 2026 Not shown

No rules fired in 0.50.0

Findings

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

README

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

@vosjs/studio-core

The document model of a screen recording: the ProjectDoc schema, the planners that read a cursor track (auto-zoom, speed, tilt), the digest that lets an agent see a recording, and the lowering from a document to a vos program.

npm License: MIT

Part of vos, the open programmatic video engine behind vos.so. This package holds the opinions that turn raw footage plus a cursor track into an editable, re-renderable video. It is pure logic: no DOM, no React, no engine import at run time (@vosjs/core is a peer for types). The generic editing mechanics (patch store, edit classifier, bridge client, view-model math) live in @vosjs/editor; the time math in @vosjs/timeline. The vos CLI and the vos.so studio both build on this package, so a document cut on the command line opens in the studio with every span intact.

Install

pnpm add @vosjs/studio-core

The pipeline

RecordingArtifact ──projectFromArtifact──▶ ProjectDoc ──lowerStudioDoc──▶ { config, data, stack, duration }
 (footage + cursor track)   normalize capture space,   (doc.json: the      constant program + ctx.data,
                            plan zoom / speed / tilt    editable surface)   so every edit is live
  • projectFromArtifact(artifact, videoUrl, { frame? }) builds the initial ProjectDoc from a recording: normalize the capture space (normalizeCaptureSpace; a viewport crop for window takes via deriveViewportCrop, fail-closed below CAPTURE_COVERAGE_MIN), then seed the automatic spans. Returns { doc, videoUrl }.
  • The planners read the cursor track, never the pixels. planAutoZoom(track, { width, height, style?, params? }) emits source: 'auto' zoom spans from click clusters (z…), typing sessions (k…) and dwells (d…); planAutoSpeed proposes speed-ups over idle gaps and scroll runs; planAutoTilt leans the card toward each zoom's focus. Every planner honors the wand contract: source: 'manual' spans are never touched, and a deleted proposal stays deleted (rejectSpan writes doc.rejected, isRejected filters the next plan).
  • lowerStudioDoc(doc) lowers a document to a constant vos program plus a ctx.data payload. Zoom, tilt and cam-motion spans expand into output-time keyframe tracks; trims, speed, cursor follow, click effects and audio envelopes all bake into data. Because the program string is constant, edits replay live through SET_DATA and SET_DURATION; nothing recompiles for a retime or a zoom tweak. lowerToComposition is the recording-only path underneath it.

Two documents, one editor

StudioDoc = ProjectDoc | ProgramAnchorDoc, discriminated on source. A ProjectDoc is a recording: footage, segments (the kept source spans, played in order; one may repeat seconds an earlier one played, and every source-anchored span over them plays in each occurrence, see spanOutputExtents; one marked camera: 'rest' keeps the camera at rest through its pass, and a step anchor reads the pass its step plays longest), zoom, speed, tilt, camMotion, the frame and cursor styles, plus the shared layers. A ProgramAnchorDoc is a vos program that gained the same shared layers (text, image and video overlays, 3D objects, audio clips, speed spans, a tween-retime overlay) without those being written into its config. anchorKindOf, isRecordingDoc and isProgramDoc read the discriminator; lowerProgramDoc lowers the program kind. Hosted documents carry docSchemaVersion (DOC_SCHEMA_VERSION, currently 2) and are upgraded on read with migrateHostedDoc.

The shared layers lower as one engine stack entry, STUDIO_ENTRY_ID ('vosso.studio'), with its own data (studioLayerData), so either document kind hosts them and the engine's SET_DATA { target } updates them alone. studioAudioPlan turns the entry's audio clips and duck curve into the plan @vosjs/core/audio mixes. An audio clip's gain is 0..1; a clip may carry a loudness target instead, normalize (integrated LUFS, -30..-6), beside the file's measured loudness ({ lufs, peakDb, at, src }, written by tooling): clipGain derives the gain it plays at, 10^((normalize - lufs) / 20) × gain, which may exceed 1 and is capped so the sample peak stays under -1 dBFS (and never lifts more than +24 dB). The target applies only while loudness.src is the clip's key; a clip without one lowers byte for byte as before.

What a renderer must understand. DOC_FEATURES lists the document fields a host's lowering must read, each with the release that first renders it and a predicate that finds it (docFeatures(doc), featuresNewerThan(doc, version)), so a tool that hands a document to a host on an older release can say so before it is sent. bakeDocFeatures(doc, version) returns a copy with each newer feature it can bake said in what that release reads: an anchored caption at the start it plays at in this cut, {elapsed} filled, a loudness target as its gain (up to 1), with notes for what changed.

Time and space conventions

  • Seconds everywhere. Zoom, speed, tilt and cam-motion spans and the cursor samples are anchored in source time, so they follow footage through trims. Overlays, audio clips, click effects and the ranges in which the drawn cursor is off (cursor.off: [{ in, out? }], an absent out running to the end of the film; cursorOffAlpha is the rule) are anchored in output time, so a title keeps its perceived length through a speed change. An overlay may instead name a recorder step as its time (anchor: { step, media?, at?, offset? }): the lowering starts it where that step plays in the cut (resolveOverlayAnchors, resolveAnchor, sourceMomentToOutput), its start the fallback, and fills a text layer's {elapsed} from the step's recorded off-camera wait (formatElapsed). ratedSegments, effectiveSegments, docOutputDuration and outputRangeToSource are the remaps.
  • Normalized coordinates. A zoom's cx/cy and an overlay's transform.x/y are fractions of the frame in [0, 1], never pixels, so a document survives an aspect-ratio switch. focusBounds and clampFocus keep a focus inside the card at a given level.
  • Camera styles. ZOOM_STYLES names six camera personalities (glide, the default, then focus, cinema, snappy, cut, none); a style parametrizes the planner, the camera motion and the tilt track's tempo, and doc.zoomParams layers per-document overrides. keynote and drift are retired names (RETIRED_ZOOM_STYLES) that resolve to glide + medium tilt and cinema + subtle tilt, and migrateHostedDoc rewrites them on read. Every style's chain gap sits above its pump-free floor (pumpFreeChainGap), and the lowering fits a ramp longer than its span to the room it has, never below RAMP_FLOOR.
  • The stage. CARD_FOV, CARD_Z, OVERLAY_Z, BACKGROUND_Z and planeSizeAtDepth define the frustum-filling planes the program draws (background, the tiltable card, the overlay); cardVisibleExtent and cardOverscanFor are how far a posed card is seen past the frame, which is what the card layer's canvas and plane grow by (so a lean over zoomed footage never shows the texture's edge); computeCardLayout and docCardLayout are the host-side mirror of the program's card math, pinned to it by tests.
  • Backdrops. withBackdrop(frame, backdrop) and backdropMedia put a looping video or a still behind the card, output-anchored modulo its duration. The package carries the mechanism and BASE_FRAME_STYLE; which loop a host opens on is the host's choice.

Seeing a recording: the digest

momentsFromDoc, sceneChanges and buildDigest derive the moments of a recording from its cursor track (click clusters, typing sessions, scroll runs, dwells, idle gaps, head, tail, frame-diff scene changes), each with source and output extents, a normalized focus rectangle a zoom span can copy, and the ids of the planner's proposals over it. zoomCoversRect and zoomWindow are the framing lint that closes the loop. The CLI's vos digest writes it as digest.json beside footage frames and crops; STYLE_FIELDS, copyStyle and pickStyle carry a signed-off document's look onto the next take.

Destinations

DESTINATIONS is the table of video destinations (a YouTube demo, an X feed cut, a vertical cut for Shorts and LinkedIn, a GitHub README loop) with exact pixel sizes, byte and duration ceilings and a word policy, generated from channel-specs.json in @vosjs/cli and hash-gated by a test. destinationById, destinationsForChannel, exportSizeFor(ratio, resolution) and resolveExportSize size an export; ExportResolution is 720p | 1080p | 2k | 4k.

Exports by area

Area Exports
Ingest projectFromArtifact, normalizeCaptureSpace, deriveViewportCrop, docToCropSpace, docToFullSpace, CAPTURE_COVERAGE_MIN, WINDOW_FOCUS_MIN
Document StudioDoc, ProjectDoc, ProgramAnchorDoc, anchorKindOf, isRecordingDoc, isProgramDoc, DOC_SCHEMA_VERSION, migrateHostedDoc, DEFAULT_FRAME_STYLE, BASE_FRAME_STYLE, the constants (ZOOM_LEVELS, TILT_DEG_MAX, …)
Planners planAutoZoom, planAutoSpeed, planAutoTilt, smoothCursor, idleGaps, scrollRuns, rejectSpan, isRejected, withoutRejected
Camera styles ZOOM_STYLES, ZOOM_STYLE_OPTIONS, DEFAULT_ZOOM_STYLE, resolveZoomStyle, RETIRED_ZOOM_STYLES, pumpFreeChainGap
Lowering lowerStudioDoc, lowerProgramDoc, lowerToComposition, zoomTrackFromDoc, tiltTrackFromDoc, camTrackFromDoc, motionTrack, followFocusEvents, extractClicks, cursorIdleFade, cursorOffAlpha, ratedSegments, resolveOverlayAnchors, STUDIO_ENTRY_ID, studioEntry, studioLayerData
Layout computeCardLayout, docCardLayout, focusBounds, clampFocus, camBubbleRectAt, overlayRect, overlayHit, CARD_FOV, CARD_Z, planeSizeAtDepth, recommendedExportResolution
Text TEXT_PRESETS, OVERLAY_FONT_FACES, resolveOverlayStyle, resolveOverlayBox, resolveText3dAsset
Audio studioAudioPlan, clipEnvelope, duckCurve, computePeaks, computeMicRms, voiceKey, musicBedClip, refillAudioBeds
Backdrops withBackdrop, backdropMedia
Digest momentsFromDoc, planForDigest, buildDigest, sceneChanges, zoomCoversRect, zoomWindow, cropBox, frameGeometry, STYLE_FIELDS, copyStyle, pickStyle, DIGEST_VERSION
Destinations DESTINATIONS, destinationById, destinationsForChannel, exportSizeFor, resolveExportSize, ASPECT_RATIOS
Timeline lanes videoLane, micLane, camLane, zoomLane, tiltLane, camMoveLane, speedLane, overlaysLane, objectsLane, audioLane; range actions outputRangeToSource, removeSourceRange, setSpeedInRange, zoomSpanForRange

The full document shape is in src/types.ts; the JSON Schema that ships to users is doc.schema.json in @vosjs/cli.

Design rules

  • Never bake a document value into the program string. The program is a structural hash; all editable state travels in ctx.data. Baking a value breaks live editing.
  • Lowering is deterministic. No stateful springs, no wall clock: seek(t) is a pure function of t, so cursor follow, click effects and zoom are computed from the document up front.
  • Perception reads the recording, never the composition. The planners and the digest read the cursor track and the footage; they never inspect a rendered frame.

Development

pnpm --filter @vosjs/studio-core test
pnpm --filter @vosjs/studio-core typecheck

The test suite pins the invariants that are easy to break: the capture-space fail-closed matrix, zoom keyframe expansion, click extraction, layout-to-program parity, byte-identical lowering when a feature is absent, and the destinations hash. Extend it when touching the lowering.

License

MIT © vosso

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 @vosjs/studio-core

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

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

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?

Frame 2085668439 (1)
Group 1261154229