Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This is a Python library for interacting with the NHN Cloud SMS service.
Current version: 0.1.7
To use this library, you need to have Python installed. You can install the required dependencies using pip:
pip install -U nhncloud-sms
First, you need to initialize the NHNCloudSMS class with your NHN Cloud app key, secret key, and sender phone number.
from nhncloud_sms import NHNCloudSMS
sms_service = NHNCloudSMS(
app_key='your_app_key',
secret_key='your_secret_key',
sender_phone_number='your_sender_phone_number'
)
To send a single SMS, use the send_sms method:
response = sms_service.send_sms('recipient_phone_number', 'Your message here')
print(response)
To send bulk SMS, use the send_bulk_sms method:
recipient_numbers = ['recipient1_phone_number', 'recipient2_phone_number']
response = sms_service.send_bulk_sms(recipient_numbers, 'Your bulk message here')
print(response)
To schedule an SMS, use the schedule_sms method:
response = sms_service.schedule_sms('recipient_phone_number', 'Your scheduled message here', 'schedule_time')
print(response)
To get the status of a sent SMS, use the get_sms_status method:
response = sms_service.get_sms_status('request_id')
print(response)
To get a list of sent SMS messages within a specific date range, use the get_sent_sms_list method:
response = sms_service.get_sent_sms_list('start_date', 'end_date')
print(response)
Make sure to replace placeholders (like 'your_app_key'
, 'your_secret_key'
, etc.) with actual values before using the library.
Please contact dev@runners.im
FAQs
A Python library to send SMS using NHN Cloud API
We found that nhncloud-sms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.