Suspicious npm version 999.999.991 — empty stub "Temporary test package" published to the public registry

オープン
#4,044 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
react-native, typescript
領域
release, security

調査の方向性

まず、react-native-ui-lib バージョン 999.999.991 の npm レジストリメタデータを確認し、レポートに記載された niryo アカウントの帰属を調べます。公開が意図的なものだったかを確認し、アカウントとリリースに関する調査結果をメンテナーに記録またはエスカレーションできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Hello maintainers 👋 , I wanted to point out the following suspicious situation in your NPM releases:

Summary

A version 999.999.991 of react-native-ui-lib was published to the public npm registry on 2026-09-06 at 12:30:35 UTC. It is an empty 3-file stub ("Temporary test package") with all legitimate code, dependencies, and package metadata stripped. It is currently not deprecated and remains resolvable.

latest still points to 9.1.3, but any consumer using a loose semver range (*, x, >=9.x) will resolve to 999.999.991 and get an empty module, breaking their build.

This inflated version is often used as a supply chain attack technique to hijack dependency resolution in environments that resolve to the highest available version. Also all 69,181 lines of legitimate package code have been removed and replaced with an empty stub (module.exports = {}) and The package metadata has been stripped of all author, repository, and dependency information, replaced with "Temporary test package" and UNLICENSED license.

About attribution and suggested actions

The npm registry metadata shows this version was published by the niryo account, which is on this package's official maintainer list.

This might have been an accidental test publish, either way, I suggest to verify the niryo npm account to confirm the publish was intentional and check his account for potential compromise.

主要言語
TypeScript
スター
7.2k
フォーク
749
平均マージ
29分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wix/react-native-ui-lib のほかの issue

wix/react-native-ui-lib の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。