
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@soymaycol/maytelegram
Advanced tools
Módulo de Node.js para interactuar con la API oficial de Bot de Telegram.
npm install @soymaycol/maytelegram
const TelegramBot = require('@soymaycol/maytelegram');
// reemplaza el valor de abajo con el token de Telegram que recibes de @BotFather
const token = 'TU_TOKEN_DEL_BOT_DE_TELEGRAM';
// Crea un bot que usa 'polling' para obtener nuevas actualizaciones
const bot = new TelegramBot(token, {polling: true});
// Coincide con "/echo [lo que sea]"
bot.onText(/\/echo (.+)/, (msg, match) => {
// 'msg' es el Mensaje recibido de Telegram
// 'match' es el resultado de ejecutar la expresión regular arriba en el contenido de texto
// del mensaje
const chatId = msg.chat.id;
const resp = match[1]; // el "lo que sea" capturado
// envía de vuelta el "lo que sea" coincidente al chat
bot.sendMessage(chatId, resp);
});
// Escucha cualquier tipo de mensaje. Hay diferentes tipos de
// mensajes.
bot.on('message', (msg) => {
const chatId = msg.chat.id;
// envía un mensaje al chat confirmando la recepción de su mensaje
bot.sendMessage(chatId, 'Recibí tu mensaje');
});
Nota: El desarrollo se realiza contra la rama development. El código para la última versión se encuentra en la rama master. Las características experimentales se encuentran en la rama experimental.
FAQs
Telegram Bot API
We found that @soymaycol/maytelegram demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.