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.
be.rufer.swisscom.sms:api-client
Advanced tools
A Java library for easy use of the Swisscom SMS API in Java
A Java library for easy use of the Swisscom SMS API in Java. The SMS-API of Swisscom is published and documented at the Swisscom Developer Portal.
To use the API with this client you have to register at the Swisscom developer portal and create an API-Key.
The following code snippet shows how to use the Swisscom API-Client
import be.rufer.swisscom.sms.api.client.SwisscomSmsSender;
import be.rufer.swisscom.sms.api.domain.CommunicationWrapper;
public class SmsSenderExample
{
public static void main( String[] args )
{
// SENDER_NUMBER and RECEIVER_NUMBER1 in the following format: +41791234567
SwisscomSmsSender smsSender = new SwisscomSmsSender("API_KEY", "SENDER_NUMBER");
CommunicationWrapper response = smsSender.sendSms("MESSAGE", "RECEIVER_NUMBER1");
// Sending a SMS to several receivers
CommunicationWrapper response2 = smsSender.sendSms("MESSAGE", "RECEIVER_NUMBER1", "RECEIVER_NUMBER2");
}
}
For releasing consider the maven central manual
FAQs
A Java library for easy use of the Swisscom SMS API in Java
We found that be.rufer.swisscom.sms:api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.