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

@gapi/onesignal-notifications

Latest version: v1.8.290

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: gapi
51 Versions
8.6K Downloads

Scan summary

@gapi/onesignal-notifications was last scanned on 26 Nov 2026 at version 1.8.290. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 51 versions; the latest 5 were published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 1.8.290.
  • Downloads: 8,641 downloads.

Versions

51 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.290 LATEST 26 Nov 2026 No rules fired
1.8.289 26 Nov 2026 No rules fired
1.8.288 25 Nov 2026 No rules fired
1.8.287 25 Nov 2026 Not shown
1.8.286 25 Nov 2026 Not shown

No rules fired in 1.8.290

Findings

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

README

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

@gapi/onesignal-notifications

@Gapi OneSignal Notifications module @StrongTyped forked and re-written with typescript from onesignal-node
For questions/issues you can write ticket here
This module is intended to be used with GAPI

Installation and basic examples:

To install this Gapi module, run:
$ npm install @gapi/onesignal-notifications

Consuming @gapi/onesignal-notifications

Import inside AppModule or CoreModule
import { Module } from '@rxdi/core';
import { OneSignalModule } from '@gapi/onesignal-notifications';

@Module({
  imports: [
    OneSignalModule.forRoot({
      userAuthKey: 'ZmY2YjVkMjMtMjY0OC00Y2E2LTkxBTQtYTVmOWY1MmJhZDg1',
      app: {
        appAuthKey: 'MTa4NGIzNjQtNGFkMy00MzY4AWJjZTctNzNjYzYyODgzZDhh',
        appId: 'd856cd4h-f834-42cb-b541-22ee20bcf499',
      },
    }),
  ],
  services: [NotificationService],
  effects: [YourCustomEffects],
})
export class CoreModule {}
Create NotificationService
import { Service } from '@rxdi/core';
import { PurchasesType } from '../../../purchases/types/purchases.type';
import {
  OneSignalClientService,
  Notification,
} from '@gapi/onesignal-notifications';

@Service()
export class NotificationService {
  constructor(private client: OneSignalClientService) {}

  async createNotification(purchaseData: PurchasesType) {
    const notification: Notification = new Notification({
      contents: {
        en: 'Test notification',
        tr: 'Test mesajı',
        bg: 'Съобщение за проба',
      },
    });
    notification.setTargetDevices(['b188dd55-7c70-4072-b696-8b66a56f9c4c']);
    notification.setParameter('data', {
      type: 'notification-created',
      data: {},
    });
    return await this.client.sendNotification(notification);
  }

  async sendNotification() {
    const firstNotification = new Notification({
      contents: {
        en: 'Test notification',
        tr: 'Test mesajı',
        bg: 'Съобщение за проба',
      },
    });
    firstNotification.setTargetDevices([
      'b188dd55-7c70-4072-b696-8b66a56f9c4c',
    ]);
    firstNotification.setParameter('data', { abc: '123', foo: 'bar' });
    return await this.client.sendNotification(firstNotification);
  }
}
Then use it inside your Gapi Application for example inside Effects:
import { OfType, Effect } from '@rxdi/core';
import { GapiPubSubService } from '@gapi/core';
import { EffectTypes } from '../core/api-introspection/EffectTypes';
import { NotificationService } from '../core/services/notification/notification.service';

@Effect()
export class YourCustomEffects {
  constructor(private notificationService: NotificationService) {}

  @OfType<EffectTypes>(EffectTypes.myevent)
  async myEventTrigger(result, { payload }, context) {
    await this.notificationService.createNotification(result);
  }
}

More detailed DOCUMENTATION you can find inside original onesignal-node module Enjoy ! :)

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 @gapi/onesignal-notifications

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

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?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

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