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

@janus-scheduler/app

Latest version: v2.2.0

Overview

Last scanned
3 Sep 2026
Published
3 Sep 2026
AI: Suspicious npm package Publisher: janus-scheduler
3 Versions

Scan summary

@janus-scheduler/app was last scanned on 3 Sep 2026 at version 2.2.0. Risk score 85 of 100 (high). High-severity rules fired.

  • Releases: 3 versions, all published within 2 days (2 and 3 Sep 2026).
  • Findings: 1 rule fired in version 2.2.0 (1 high). The score describes this version only.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.2.0 LATEST 3 Sep 2026 1 rule fired
2.1.0 2 Sep 2026 No rules fired
2.0.0 2 Sep 2026 No rules fired

Rules fired in 2.2.0: 1

Findings

1 High

Findings for v2.2.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.

New package re-exports an undocumented dependency

The package's main entry point re-exports code from a dependency that its README never mentions, and the package is newly published with few versions. Users of such a package run the dependency's code without knowing it is there. Established packages sometimes do this for ordinary reasons.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 2.2.0; other versions have their own rules, not their own score.

README

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

@janus-scheduler/app

The batteries-included Janus Scheduler. One element — <janus-app> — mounts the topbar, all five views and the event editor, and wires every drag, resize, create, save, delete and undo to a SchedulerManager for you.

This is the simple tier. If you want to lay the pieces out yourself, use your framework package instead (@janus-scheduler/react, /angular, /solid) and compose <janus-timeline>, <janus-month-grid>, … directly.

npm install @janus-scheduler/app

React

import { JanusApp } from "@janus-scheduler/app/react";

const resources = [
  { id: "r1", name: "Alice", type: "person", email: "alice@example.com" },
  { id: "r2", name: "Room A", type: "room", email: "" },
];

const events = [
  {
    id: "e1",
    title: "Standup",
    startTime: "2026-09-02T09:00:00.000Z",
    endTime: "2026-09-02T09:30:00.000Z",
    resourceIds: ["r1"],
    status: "confirmed",
  },
];

export default function App() {
  return (
    <div style={{ height: "100vh" }}>
      <JanusApp
        events={events}
        resources={resources}
        onChange={({ type, id, event }) => {
          // Persist however you like.
          console.log(type, id, event?.title);
        }}
      />
    </div>
  );
}

That is the whole integration. Drag, resize, click-to-create, the editor modal, view switching, prev/next/today and Ctrl+Z all work with no further code.

Everywhere else

<janus-app> is a plain custom element, so Vue, Angular, Solid and vanilla use it directly.

<script type="module">
  import "@janus-scheduler/app";
</script>

<janus-app id="app" style="height: 100vh"></janus-app>

<script type="module">
  const app = document.getElementById("app");
  app.resources = [
    { id: "r1", name: "Alice", type: "person", email: "alice@example.com" },
  ];
  app.events = [];
  app.addEventListener("change", (e) => console.log(e.detail));
</script>

Vue needs isCustomElement so it does not warn about the tag, and .prop bindings for arrays/objects:

// vite.config.ts
vue({
  template: {
    compilerOptions: { isCustomElement: (t) => t.startsWith("janus-") },
  },
});
<janus-app
  :events.prop="events"
  :resources.prop="resources"
  @change="onChange"
/>

Angular needs CUSTOM_ELEMENTS_SCHEMA on the component, then [events] / (change) bindings work as usual.

Props

Prop Type Default Notes
events EventData[] [] Seeded once, on mount. Use load() afterwards.
resources ResourceData[] [] Same one-shot seeding rule.
view ViewType "Timeline" Timeline \| Day \| Week \| Month \| Year
views ViewType[] all five Which views the topbar offers.
preventConflicts boolean false true hard-blocks conflicting actions instead of warning.
resourceTypeConfig ResourceTypeConfig — Groups and labels timeline resource rows.
timezone string store's IANA zone for display.
googleConnected boolean false Renders the Google button as connected.
hooks SchedulerHooks {} Forwarded to the internal manager — where you persist.
manager SchedulerManager — Bring your own instead of letting <janus-app> create one.

Events

Event Detail Fires when
janus-change { type: "add" \| "update" \| "delete", id, event? } An event was written to the store.
change same as above Deprecated — removed in 3.0.0. See the note below.
app-error { operation, error, reverted } A lifecycle hook rejected; the store was rolled back.
view-change { view } The active view changed.
connect-calendar {} The topbar's Google Calendar button was clicked.

In React these arrive as onChange, onError, onViewChange and onConnectCalendar, already unwrapped — you get the detail, never a raw CustomEvent.

Prefer janus-change over change. change is a native DOM event name: it bubbles into an ancestor <form> and collides with React's root-delegated synthetic onChange. Both fire identically today; change is removed in 3.0.0.

Only these four events cross the element boundary. The components inside fire many more (event-move, save, prev-click, …) but those are contained — you will not receive them by listening on <janus-app>.

Persisting changes

janus-change is a notification. To persist with rollback on failure, use hooks — if a hook throws or rejects, the optimistic store write is reverted and app-error fires:

<JanusApp
  hooks={{
    onEventAdd: (event) => api.create(event), // reverted if this rejects
    onEventUpdate: (event) => api.update(event),
    onEventDelete: (id) => api.remove(id),
  }}
  onError={({ operation, error }) => toast(`${operation} failed`)}
/>

Replacing data after mount

events and resources seed the store once. To swap the dataset later, call load() on the element:

const ref = useRef(null);
ref.current?.load({ events: nextEvents, resources: nextResources });

Notes and limits

  • The store is a module-level singleton. Two <janus-app> elements on one page share the same events and resources. One per page.
  • No stylesheet to import. Everything is Shadow-DOM scoped. Theme through the --janus-* CSS custom properties (see docs/THEMING_GUIDE.md).
  • Give it a height. The element is display: block; height: 100%, so its parent needs a real height or it collapses.
  • Google Calendar is not included. connect-calendar just tells you the button was clicked; wire @janus-scheduler/integrations yourself if you want sync — it also needs the Node backend that package ships.

Licence

ISC

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 @janus-scheduler/app

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 (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229