Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Framefork for creating Bots in social network VK.com
const botota = require('botota')
const bot = new botota.Bot({
token: "afbd70140d0b9cf4fa8ddbsbdf219k3b7073cc90cc89752baaa6aad5as0fa333se91c30b8an1k75ds7d2d", //example token
v: '5.80', //version API, STRING type!
})
bot.on( (msg) => {
msg.reply({
text: 'Hello World!'
})
})
bot.command('tick', (msg) => {
msg.reply({
text: 'tack'
})
})
bot.event('group_join', (event) => {
event.reply({
text: 'Thank for subscribe!'
})
}
.api(method_name, params)
...
(async() =>{
const messages = await bot.api('messages.getById', {
message_ids: [1,2,3,4,5]
})
})()
.execute(method_name, params)
...
(async() => {
const chat = await bot.execute('messages.getChat', {
chat_id: 42
})
})()
.event(event_name, callback)
Callback any Callback API event
.on(callback)
Callback any incoming message
.use(callback)
Callback any new message
.command(command, callback)
Callback any incoming message which starts with command
.mention(callback)
Callback any incoming message where the group is mentioned
.chat(callback)
Callback any incoming message from chats
.user(callback)
Callback any incoming message from users
FAQs
Module for developing VK.com bots
We found that botota 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.