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

openmascot

Latest version: v0.2.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: dheerajmahra
5 Stars
0 Forks
3 Versions
586 Downloads
TypeScript Repo language

Scan summary

openmascot was last scanned on 24 Nov 2026 at version 0.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.2.1.
  • Downloads: 586 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.1 LATEST 24 Nov 2026 No rules fired
0.2.0 9 Nov 2026 No rules fired
0.0.0-stage 30 Oct 2026 Not shown

No rules fired in 0.2.1

Findings

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

README

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

openmascot

Pixel mascots for any website. Draw a character and its moves in the OpenMascot studio, download its JSON, and put it on a page with a <Mascot> React component or one script tag. It reacts to page load, clicks, hovers, timers and your own code.

  • No dependencies. The script tag is about 3 KB gzipped.
  • The mascot JSON is treated as data: nothing in it can run code or inject markup.
  • Respects prefers-reduced-motion.

React

npm install openmascot
import { Mascot, emit } from "openmascot/react";
import moss from "./moss.json";

export const App = () => (
  <>
    <Mascot doc={moss} position="bottom-right" />
    <button onClick={() => emit("success")}>Save</button>
  </>
);

Needs React 19. Works with server rendering (Next.js and others): the doc is passed through a ref, so it survives hydration.

Script tag

<script src="https://cdn.jsdelivr.net/npm/openmascot@0" defer></script>
<open-mascot src="/moss.json" position="bottom-right"></open-mascot>

<script>
  Mascot.emit("success");
</script>

Put moss.json next to your page. Tags added or removed later start and stop on their own.

Options

<Mascot> prop <open-mascot> attribute Meaning
doc (property) The mascot JSON as an object.
src src URL of the mascot JSON, when doc isn't given.
position position "bottom-right" or "bottom-left" pins it to a corner. Leave it out to render inline.
scale scale Screen pixels per mascot pixel. Default 4.
name name A handle for targeting one mascot.
triggers={false} triggers="off" Turns off load, click, hover and timer moves. emit and play still work.

Playing moves from your code

emit("success"); // fires the mascot's "success" event: the studio decides which move plays
play("wave"); // plays a move by name
emit("success", { to: "inbox" }); // only the mascot named "inbox"

Both return true if a mascot played something. In the script tag they are Mascot.emit and Mascot.play.

To drive one mascot directly, take a ref (React) or the element (HTML). It has play(), emit(), pause() and resume().

const mascot = useRef<MascotElement>(null);

<Mascot ref={mascot} doc={moss} />;
mascot.current?.play("wave");

MascotElement is exported as a type from openmascot/react.

How moves place the mascot

A move in the mascot JSON is a list of steps. Each step shows a pose for a while and can shift it:

{ "pose": "default", "hold": 3, "x": 2, "y": 1 }
Field Meaning
pose The pose to show.
hold How many ticks it stays on screen.
x Columns to move right. Negative moves left. Default 0.
y Rows to move up off the floor. Negative sinks into the floor, cutting off its bottom rows. Default 0.

The mascot rests in its box on the floor. +y hops up, -x and +x slide it left and right, -y sinks it and the rows below the floor are cut off.

The floor is the bottom edge of the mascot's own box, and the box is always the grid size times scale. Moves never resize it: slides and hops draw outside it, so the page around the mascot doesn't shift while it moves.

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 openmascot

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229