Scan your whole stack
From OX Research Newsroom
Are you using @reventlessdev/trait-notification?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0-alpha.109
@reventlessdev/trait-notification was last scanned on 29 Nov 2026 at version 1.0.0-alpha.109. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0-alpha.109 LATEST | 29 Nov 2026 | No rules fired |
| 1.0.0-alpha.108 | 27 Nov 2026 | No rules fired |
| 1.0.0-alpha.107 | 26 Nov 2026 | No rules fired |
| 1.0.0-alpha.106 | 25 Nov 2026 | Not shown |
| 1.0.0-alpha.105 | 24 Nov 2026 | Not shown |
Findings for v1.0.0-alpha.109. 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 1.0.0-alpha.109; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A domain trait: telling somebody something happened. It holds a per-recipient contact directory and a kind × channel subscription matrix, and decides — per request — whether that becomes an addressed message, a suppression, or a record that nobody could be reached. The rules are a module the host calls; the types are the host's own:
| Part | Where |
|---|---|
| The competency's rules | src/Notification_Rules.res (empty, op, fact, decide, evolve, addressFor) |
| The host contract, as a type | src/Notification.res (module type Binding) |
| The conformance suite | src/Notification_Conformance.res (Make(Binding).register()) |
| The emitter | src/Notification_Scaffold.res (emit(~config, ~into, ~tests)) |
Notification_Rules is compiled code a host imports at runtime, so a change to it
is a behavior change for every host: version it fix:/feat: accordingly.
The first two traits add arms to something the host already had. This one brings its own components: a StateChangeSlice, an outbound send, and two views, none of which the host had before. So the emitter writes more than either of the others — five files whole — and the host's part shrinks to two relays, which are printed rather than written because what a host's events mean is the one thing a trait cannot be told in names.
It also never writes to the host. Not one field, not one arm: the directory, the matrix and the delivery log are all the trait's own state, so a host can graft this onto components that have no opinion about mail at all.
Suppressed; one who enabled a channel nobody holds an address for
is Undeliverable; one nobody announced is Undeliverable too. Collapsing the
second into the first would hide every delivery gap behind a legitimate
preference, permanently.Delivery itself is the platform's: the send slice reaches
Reventless.Capabilities.messaging, declares the Messaging capability need, and
takes its retry split from Reventless.Messaging.retriable.
Run the emitter. Every --key is a field of its config, and it validates
them, so a misspelled one is refused before anything is written.
pnpm exec graft-trait @reventlessdev/trait-notification \
--into src/Notification --tests tests/Notification \
--chapter Notification --noun Recipient \
--categories OrderConfirmation,ShippingUpdate,Marketing \
--transactional OrderConfirmation,ShippingUpdate \
--contactSource Customer --contactEvents Registered,EmailUpdated \
--contactField email \
--occurrence OrderPlaced --occurrenceId orderId \
--occurrenceRecipient customerId --occurrenceCategory OrderConfirmation
Write the two printed relays. They arrive with their shape filled in and
their meaning marked TODO(graft): which of your events announce a contact,
and what your notification actually says. The contact relay is an
OutboundTranslationSlice rather than an automation on purpose — an
automation's mapping is handed no source id, and an aggregate's event does not
repeat the id that addressed it.
Fill the emitted TODO(graft) markers. The posture table, and the wording.
Nothing else is left open.
Provision a sender. The send slice declares Messaging, so a deployment
that provisions none fails the deploy rather than queueing every message until
it is abandoned.
Notification_Conformance asserts the directory, the posture fallback, and the
three ways to send nothing. It says nothing about your wording, your
authorization, or what your views render — those are yours, and a rule the suite
covers must not also live in your own tests.
Two Binding members exist for the suite's sake and are worth reading before you
fill them: transactional and optional must be kinds whose posture actually
differs, and unreachableChannel is a channel your host announces no address for.
A host that announces every channel it offers passes None and two assertions are
skipped — which is the honest outcome, not a gap.
Undeliverable
rather than quietly skipped.reference. The relay upstream is a TODO list, which publishes
once per item and resolves on the outcome. Keeping every reference ever seen in
a snapshotted state to re-check that guarantee would cost more than it buys.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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.