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

@egret/3d

Latest version: v7.0.5

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: cnedwin, egret-engine, lightswords, ttdd, wanderwang
11 Stars
1 Forks
3 Versions
466 Downloads
JavaScript Repo language

Scan summary

@egret/3d was last scanned on 1 Dec 2026 at version 7.0.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 5 days (27 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 7.0.5.
  • Downloads: 466 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
7.0.5 LATEST 1 Dec 2026 No rules fired
7.0.4 30 Nov 2026 No rules fired
7.0.3 27 Nov 2026 No rules fired

No rules fired in 7.0.5

Findings

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

README

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

白鹭引擎浏览器单文件

English | 简体中文

这两个包分发白鹭引擎已构建的浏览器脚本,每个包都带 ES 模块和传统脚本。按需导入 UI、文字、Spine、工程服务或其他子模块的项目,使用五个模块包中的相应入口。需要确认源码版本时,查看已安装包的 package.json 版本,再打开对应标签的 GitHub 发行页。发行历史

游戏需要 安装 模块入口 可直接部署的脚本
2D 游戏 npm install @egret/2d import { play } from '@egret/2d' egret2d.js
World3D 场景与 2D 界面 npm install @egret/3d import { play3d } from '@egret/3d' egret3d.js

使用构建工具

在以 ES 模块为入口的浏览器应用中选择一个示例。第一个绘制圆形,第二个显示地面和球体。

import { play } from '@egret/2d';

await play({
  width: 480, height: 270, audio: false,
  setup(game) { game.circle(240, 135, 30, 0xff6b6b); }
});
import { play3d } from '@egret/3d';

await play3d({
  width: 480, height: 270, audio: false,
  setup(game) {
    game.ground(12, 0x2d6a4f);
    const ball = game.sphere(0.5, 0xe8453c, { y: 1 });
    game.follow(ball, { y: 4, z: 6 });
  }
});

在普通 HTML 页面加载

将 node_modules/@egret/2d/egret2d.js 复制到 HTML 页面旁,然后从全局 Egret 启动游戏。

<script src="./egret2d.js"></script>
<script>
  Egret.play({
    width: 480, height: 270, audio: false,
    setup(game) { game.circle(240, 135, 30, 0xff6b6b); }
  });
</script>

3D 页面改为复制 node_modules/@egret/3d/egret3d.js,用 Egret.play3d 调用上面的 3D 示例。直接使用浏览器 ES 模块时,复制对应的 .mjs 文件,通过 HTTP 提供,并以相对 URL 导入,例如 import { play } from './egret2d.mjs'。发布页面时随文件保留许可和版权声明。

一个游戏使用一套引擎

一个项目可以为不同页面或独立入口同时安装这两个包及 @egret/engine。每个正在运行的游戏只选择一套入口创建对象。3D 包也包含 2D 的 play。把精灵、场景、纹理、资源租约和销毁操作都留在创建它们的同一套引擎中。不同入口间交换关卡 JSON、坐标、标识等普通数据。两种传统脚本都会定义全局 Egret,同一页面只加载其中一个。

Play 指南 · World3D 入门 · 发行与安装

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 @egret/3d

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

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