Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
aasaanjobs-notificationhub
Advanced tools
Python SDK to communicate with Aasaanjobs/Waahjobs Notification Hub and send notifications to users.
pip install aasaanjobs-notificationhub
Each notification is referred to as Task in this library. A single Task can contain multiple channels, i.e., a single Task can contain both Email and WhatsApp notification data. This Task is then validated via Protocol Buffers and pushed to corresponding Notification Hub Amazon SQS queue.
For Transactional notifications NOTIFICATION_HUB_SQS_QUEUE_NAME environment variable should be configured.
For Marketing notifications NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAME environment variable should be configured.
For OTP notifications NOTIFICATION_HUB_OTP_SQS_QUEUE_NAME environment variable should be configured.
Each application which uses this library must configure Amazon SQS configurations to successfully send notification task to Hub.
The following keys can be defined in the settings module if Django application or can be defined as environment variables
Setting | Description |
---|---|
NOTIFICATION_HUB_SQS_ACCESS_KEY_ID | Access Key of the IAM role which has access to the Hub SQS |
NOTIFICATION_HUB_SQS_SECRET_ACCESS_KEY | Secret Access Key of the IAM role which has access to the Hub SQS |
NOTIFICATION_HUB_SQS_REGION | AWS Region where the Hub SQS resides |
NOTIFICATION_HUB_SQS_QUEUE_NAME | Name of the Hub SQS Queue |
NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAME | Name of the Hub Marketing SQS Queue |
NOTIFICATION_HUB_OTP_SQS_QUEUE_NAME | Name of the Hub OTP SQS Queue |
FAQs
Python client for Aasaanjobs/Waahjobs Notification Hub
We found that aasaanjobs-notificationhub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.