
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
notificationhubs-rest-python
Advanced tools
A Python library for sending notifications using Azure Notification Hubs REST API.
This is an implementation of a REST wrapper for sending notifications with Notification Hubs using the REST APIs of Notification Hubs from a Python back-end. The useage of this code is officially recommended by Microsoft in the documentation.
Panevo Services Ltd. is maintaining this repo for the sole purpose of publishing this Notification Hubs REST wrapper to PyPI. In this regard, Panevo will only be pulling upstream changes from the original repo and not making any further changes to the codebase.
This repository is a fork of Microsoft's Azure Notification Hub Samples Repository.
Install the package
pip install notificationhubs-rest-python
Detailed readme is available here - http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-python-backend-how-to/
This package requires Python 3.8+ and version 2.25.0+ of the requests
package.
For registration management you have to follow the content formats shown in the REST APIs of Notification Hubs, and probably do some xml parsing is case of GETs. Be warned that element order is important and things will not work if the element are out of order.
This code is provided as-is with no guarantees.
Adrian Hall (Splunk)
Panevo Services Ltd.
FAQs
A Python library for sending notifications using Azure Notification Hubs REST API.
We found that notificationhubs-rest-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.