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

@lightfin/core

Latest version: v1.1.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: ferahl
6 Versions
1.2K Downloads

Scan summary

@lightfin/core was last scanned on 26 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 5 were published within 5 days (22–26 Nov 2026).
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 1,174 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 26 Nov 2026 No rules fired
1.0.0 24 Nov 2026 No rules fired
0.0.5 24 Nov 2026 No rules fired
0.0.4 24 Nov 2026 Not shown
0.0.3 22 Nov 2026 Not shown

No rules fired in 1.1.0

Findings

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

README

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

@lightfin/core

A lightweight, dependency-free financial charting library for the web — candlesticks, volume, indicators, drawing tools, smooth pan/zoom, and live data, rendered on HTML5 Canvas2D. Framework-agnostic vanilla TypeScript, tree-shakeable, and easy to wire to any data source.

Lightfin renders and handles interaction while the host supplies data and the trading UI. Drawings and interactive chart settings use browser storage by default. Hosts can supply their own storage adapters. onOrderIntent reports price and coordinates so the host can open its own order form.

Part of the Lightfin monorepo.

Install

No runtime dependencies.

bun add @lightfin/core

React apps should also add @lightfin/react (react and this package are its peer dependencies).

Quick start

Give the container a size. The chart fills it and watches for resizes.

<div id="chart" style="height: 420px"></div>
import { createChart } from '@lightfin/core'

const chart = createChart(document.querySelector('#chart')!, {
  volumeVisible: true,
})

const series = chart.addCandlestickSeries()
series.setData([
  { time: 1704067200, open: 100, high: 104, low: 99, close: 103, volume: 1200 },
  { time: 1704070800, open: 103, high: 106, low: 102, close: 101, volume: 980 },
])

series.setChartType('line') // 'candlestick' | 'bar' | 'line' | 'area'
series.update(bar) // live tick or a new bar

time is a UTC timestamp in integer Unix seconds. setData replaces the series; update appends or revises the latest bar.

const sma = await chart.addIndicator(import('@lightfin/core/indicators/sma'), {
  period: 20,
})

What's included

  • Series — candlestick, bar, line, and area, switchable in place with setChartType(). Volume histogram on a hidden sub-scale.
  • Indicators — 27 built-ins (SMA, EMA, WMA, HMA, VWMA, Bollinger, Keltner, Donchian, Ichimoku, Supertrend, Parabolic SAR, VWAP, RSI, MFI, CMF, MACD, Stochastic, Stochastic RSI, Williams %R, CCI, ROC, ADX, Aroon, Choppiness Index, ATR, OBV, Volume MA), overlaid or on a resizable pane. Each is its own subpath so unused ones stay out of the bundle. Custom indicators use the same contract.
  • Drawing tools — 21 types (lines, channels, pitchfork, regression, fibs, shapes, brush, labels, position and range measures) with undo/redo, lock/hide, and a per-drawing style toolbar. JSON in and out, including a schema an AI can drive.
  • Live data — setData for a static series, or a DataSource that pages history and merges a live stream. Follow-mode keeps the latest bar in view.
  • Chrome — optional HUD/legend, interval and chart-type toolbars, indicator menu, go-to-date modal, exchange clock, fullscreen.
  • Price lines and event tags — host-managed order and position lines; earnings and dividend tags along the price pane. The host renders the detail card and the order form.
  • Interaction — pointer pan/zoom anchored on the cursor, crosshair (including touch press-and-hold), magnet mode, keyboard control with screen-reader output.

Subpath exports

The package entry is the chart engine, series, axes, and crosshair. Everything else is opt-in:

Import What it adds
@lightfin/core Chart engine, series, axes, crosshair, pan/zoom
@lightfin/core/indicators/<id> One indicator, usually via dynamic import()
@lightfin/core/annotations Drawing tools
@lightfin/core/annotations/schema JSON Schema for AI-driven drawings
@lightfin/core/chrome HUD, legend, toolbars, clock
@lightfin/core/price-lines Order and position price lines
@lightfin/core/event-tags Earnings and dividend tags

Development

From the monorepo root (see the root README):

bun run dev                      # this package's /demo playground
bun run --filter @lightfin/core test
bun run --filter @lightfin/core test:e2e
bun run --filter @lightfin/core build

demo/ is the manual playground and the Playwright target. It loads live BTC/USDT from Binance; ?feed=mock uses a deterministic offline feed and ?live=0 holds the chart still. demo/stress.html loads 500k bars.

License

MIT

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 @lightfin/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

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?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229