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

node-red-contrib-afya-lullaby

Latest version: v0.3.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: afya
3 Stars
1 Forks
3 Versions
407 Downloads
JavaScript Repo language

Scan summary

node-red-contrib-afya-lullaby was last scanned on 28 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.3.0.
  • Downloads: 407 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 28 Nov 2026 No rules fired
0.2.0 26 Nov 2026 No rules fired
0.1.0 25 Nov 2026 No rules fired

No rules fired in 0.3.0

Findings

Findings for v0.3.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.

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

README

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

node-red-contrib-afya-lullaby

npm license: MIT

Node-RED dimmer helper: changes a value from X to Y in Z seconds. Made for my children, who like falling asleep with the light on – it dims the light slowly. It also works the other way round, as a slow wake-up light.

English · Polski


English

The node does not control a lamp itself – it calculates the value. Use msg.payload.value for your light.

Install
cd ~/.node-red
npm install node-red-contrib-afya-lullaby

Requires Node-RED ≥ 3.0 and Node.js ≥ 18. The node appears in the AFYA palette group as lullaby.

Configuration
Field Description
Labels Language of the descriptions in the edit dialog: system language (Polish for a Polish system, English for all others), English or Polski. Only the descriptions change – fields and values stay the same.
Start value Value at the beginning (e.g. 100).
Stop value Value at the end (e.g. 0). Start > stop: dimming; start < stop: brightening.
Step Change per step (integer > 0).
Time Total time in seconds (20 min = 1200).
Variable Context variable with the current state – global (readable from any flow) or flow.
Name Optional label.
Input
  • any message – start (ignored while running),
  • msg.payload = "stop" or "kill" – stop at the current value.
Start from the current value (msg.payload)

Turn on Start from the number in msg.payload and send the current value as a number, e.g. the brightness of the lamp – the change starts from there instead of the configured start value:

  • above the stop value – dimming, below – brightening; equal – the node sends end at once,
  • text, objects and timestamps (a default inject) keep the configured start value,
  • Time from there: always the time above, or same speed – with 100 → 0 in 20 min, 50 → 0 takes 10 min.

Handy e.g. for a home theatre: dim from the brightness the lights have when the film starts. If the brightness comes in another property (e.g. msg.payload.brightness), move it to msg.payload with a change node first.

Output
{ "value": 57, "state": "counting", "direction": "down", "timestamp": 1764057600000 }

state: counting while running, end with the final (stop) value.

The context variable additionally holds startValue, stopValue, startTime, stopTime and can have state = killed or stopped (redeploy).

Example flow: https://flows.nodered.org/flow/ce2fe16f73fc82e2760eaaadf28991b9

Upgrading to 0.1.0

The node was registered under a wrong key in package.json (afya-panic-button) – fixed, both packages can now be installed side by side. Older nodes get the context variable when you open and save them. See change.log.


Polski

Zmienia wartość od X do Y w czasie Z sekund. Stworzony dla moich dzieci, które lubią zasypiać przy zapalonym świetle – powoli je wygasza. Działa też w drugą stronę, jako budzenie światłem.

Węzeł nie steruje lampą – tylko liczy wartość. Użyj msg.payload.value.

Instalacja
cd ~/.node-red
npm install node-red-contrib-afya-lullaby

Wymaga Node-RED ≥ 3.0 i Node.js ≥ 18. Węzeł lullaby jest w grupie palety AFYA.

Etykiety (Labels) – język opisów w oknie konfiguracji: język systemu (polski dla polskiego systemu, angielski dla każdego innego), English albo Polski. Zmieniają się tylko opisy – pola i wartości zostają takie same.

Użycie
  • Start value / Stop value – od czego do czego (start > stop: gaszenie, start < stop: rozjaśnianie),
  • Step – zmiana na krok, Time – czas w sekundach (20 min = 1200),
  • Variable – zmienna global lub flow z bieżącym stanem (dostępna z innych flow),
  • dowolna wiadomość uruchamia, msg.payload = "stop" lub "kill" przerywa,
  • Start from the number in msg.payload – liczba w msg.payload (np. obecna jasność lampy) staje się wartością startową; kierunek wynika z niej, a Time from there decyduje, czy czas jest zawsze ten sam, czy prędkość (krótszy zakres – krócej). Tekst, obiekt i znacznik czasu z inject nie zmieniają startu.

Na wyjściu: { value, state, direction, timestamp }, state: counting lub end.


Marcin Chuć · 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 node-red-contrib-afya-lullaby

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229