
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
NPM module for HTTP API of mainsms.ru
var mainsms = require('mainsmsru')(process.env.MAINSMS_API_KEY);
mainsms.message.send({
test: 1,
run_at: undefined,
sender: 'sender-name',
project: 'my-awesome-project',
recipients: ['9261112233', '9161112233'],
message: 'hello, world!',
}, function (err, res) {
console.log('ERROR: ', err);
console.log('RESULT: ', res);
});
I'll describe only the differences between this module and original docs.
All methods get options and callback input parameters: function (options, callback) {...}, where callback must be a function taking arguments error and result: function (err, res) {...}. If everything's fine than err will be equal undefined, otherwise it will contain an object { code: <numeric error code>, message: 'error description'}.
You must provide your API key before using this module: var mainsms = require('mainsmsru')('YOUR_API_KEY'). In every following paragraph I suppose you named this module as mainsms;
object: mainsms.message
methods: send, status, price, balance, info, status
docs: http://mainsms.ru/home/mainapi
'9110000000,9120000000'), can also be an array of them (e.g. ['9110000000','9120000000']).object: mainsms.sending
docs: http://mainsms.ru/home/sendingapi
methods: not implemented
object: mainsms.batch
docs: http://mainsms.ru/home/batch
methods: not implemented
object: mainsms.group
docs: http://mainsms.ru/home/group_api
methods: not implemented
object: mainsms.contact
docs: http://mainsms.ru/home/contact_api
methods: not implemented
object: mainsms.sender
docs: http://mainsms.ru/home/sender_api
methods: not implemented
FAQs
HTTP API for SMS-sending service: mainsms.ru
We found that mainsmsru demonstrated a not healthy version release cadence and project activity because the last version was released 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
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.