nextjs-pwa
Warn
Audited by Socket on Sep 19, 2026
1 alert found:
AnomalyAnomalyreferences/push-notifications.md
LOWAnomalyLOW
references/push-notifications.md
No clear malicious behavior or intentional malware is present. The code implements legitimate Web Push functionality, but the API examples are unsafe if deployed without additional controls: authenticate send and broadcast operations, validate and constrain subscriptions and payloads, apply rate and size limits, enforce subscription ownership, and restrict notification URLs to approved same-origin paths. The supplied fragment presents a medium security risk due to these deployment-level weaknesses, not because of malware.
Confidence: 97%Severity: 62%
Audit Metadata