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

misskey-js

Latest version: v2026.12.0-alpha.2

Overview

Last scanned
3 Dec 2026
Published
3 Dec 2026
npm package Publisher: syuilo
11,417 Stars
1,645 Forks
30 Versions
12.0K Downloads
TypeScript Repo language

Scan summary

misskey-js was last scanned on 3 Dec 2026 at version 2026.12.0-alpha.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 30 versions; the latest 3 were published within 3 days (1–3 Dec 2026).
  • Findings: No rules fired in version 2026.12.0-alpha.2.
  • Downloads: 12,006 downloads.

Versions

30 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2026.12.0-alpha.2 LATEST 3 Dec 2026 No rules fired
2026.12.0-alpha.1 2 Dec 2026 No rules fired
2026.12.0-alpha.0 1 Dec 2026 No rules fired
2026.11.1 26 Nov 2026 Not shown
2026.11.1-rc.4 24 Nov 2026 Not shown

No rules fired in 2026.12.0-alpha.2

Findings

Findings for v2026.12.0-alpha.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 2026.12.0-alpha.2; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 16 Dec 2025

0 CRITICAL 1 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 2025.12.0
  • ≥ 2025.12.0-alpha.2, < 2025.12.0 1 HIGH
  • ≥ 2025.9.1, < 2025.12.0-alpha.2 1 HIGH 1 MEDIUM
  • ≥ 13.0.0-beta.16, < 2025.9.1 1 HIGH
  • < 13.0.0-beta.16

Vulnerabilities

  • CVE-2025-66482 Medium 16 Dec 2025 Misskey has a login rate limit bypass via spoofed X-Forwarded-For header Fixed in 2025.12.0-alpha.2
  • CVE-2025-66402 High 16 Dec 2025 misskey.js's export data contains private post data Fixed in 2025.12.0

README

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

misskey.js

Strongly-typed official Misskey SDK for browsers/Node.js.

Test

JavaScript(TypeScript)用の公式MisskeySDKです。ブラウザ/Node.js上で動作します。

以下が提供されています:

  • ユーザー認証
  • APIリクエスト
  • ストリーミング
  • ユーティリティ関数
  • Misskeyの各種型定義

対応するMisskeyのバージョンは12以上です。

Install

npm i misskey-js

Usage

インポートは以下のようにまとめて行うと便利です。

import * as Misskey from 'misskey-js';

便宜上、以後のコード例は上記のように* as Misskeyとしてインポートしている前提のものになります。

ただし、このインポート方法だとTree-Shakingできなくなるので、コードサイズが重要なユースケースでは以下のような個別インポートをお勧めします。

import { api as misskeyApi } from 'misskey-js';

Authenticate

todo

API request

APIを利用する際は、利用するサーバーの情報とアクセストークンを与えてAPIClientクラスのインスタンスを初期化し、そのインスタンスのrequestメソッドを呼び出してリクエストを行います。

const cli = new Misskey.api.APIClient({
    origin: 'https://misskey.test',
    credential: 'TOKEN',
});

const meta = await cli.request('meta', { detail: true });

requestの第一引数には呼び出すエンドポイント名、第二引数にはパラメータオブジェクトを渡します。レスポンスはPromiseとして返ります。

Streaming

misskey.jsのストリーミングでは、二つのクラスが提供されます。 ひとつは、ストリーミングのコネクション自体を司るStreamクラスと、もうひとつはストリーミング上のチャンネルの概念を表すChannelクラスです。 ストリーミングを利用する際は、まずStreamクラスのインスタンスを初期化し、その後でStreamインスタンスのメソッドを利用してChannelクラスのインスタンスを取得する形になります。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
const mainChannel = stream.useChannel('main');
mainChannel.on('notification', notification => {
    console.log('notification received', notification);
});

コネクションが途切れても自動で再接続されます。

チャンネルへの接続

チャンネルへの接続はStreamクラスのuseChannelメソッドを使用します。

パラメータなし

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });

const mainChannel = stream.useChannel('main');

パラメータあり

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });

const chatChannel = stream.useChannel('chat', {
    other: 'xxxxxxxxxx',
});
チャンネルから切断

Channelクラスのdisposeメソッドを呼び出します。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });

const mainChannel = stream.useChannel('main');

mainChannel.dispose();
メッセージの受信

ChannelクラスはEventEmitterを継承しており、メッセージがサーバーから受信されると受け取ったイベント名でペイロードをemitします。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
const mainChannel = stream.useChannel('main');
mainChannel.on('notification', notification => {
    console.log('notification received', notification);
});
メッセージの送信

Channelクラスのsendメソッドを使用してメッセージをサーバーに送信することができます。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
const chatChannel = stream.useChannel('chat', {
    other: 'xxxxxxxxxx',
});

chatChannel.send('read', {
    id: 'xxxxxxxxxx'
});
コネクション確立イベント

Streamクラスの_connected_イベントが利用可能です。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
stream.on('_connected_', () => {
    console.log('connected');
});
コネクション切断イベント

Streamクラスの_disconnected_イベントが利用可能です。

const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
stream.on('_disconnected_', () => {
    console.log('disconnected');
});
コネクションの状態

Streamクラスのstateプロパティで確認できます。

  • initializing: 接続確立前
  • connected: 接続完了
  • reconnecting: 再接続中

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 misskey-js

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

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

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