
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
node-telegram-bot
Advanced tools
Documentation is built using jsdoc with DocStrap. More to come (including examples)! Documentation Link
Now only require filepath,
bot.sendPhoto({
chat_id: USER_ID,
caption: 'Telegram Logo',
files: {
photo: './examples/logo.png'
}
}, function (err, msg) {
console.log(err);
console.log(msg);
});
Previously,
bot.sendPhoto({
chat_id: USER_ID,
caption: 'Telegram Logo',
files: {
photo: {
filename: './examples/logo.png',
stream: fs.createReadStream('./examples/logo.png')
}
}
}, function (err, msg) {
console.log(err);
console.log(msg);
});
var Bot = require('node-telegram-bot');
var bot = new Bot({
token: 'TOKEN HERE'
})
.on('message', function (message) {
console.log(message);
})
.start();
var bot = new Bot({
token: 'Telegram token'
})
.enableAnalytics('Botan.io token')
.on('message', function (message) {
console.log(message);
})
.start();
FAQs
Telegram Bot API Wrapper for nodejs
We found that node-telegram-bot demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.