
Threat Research
/Security News
Searchjacked: Hidden Browser Extensions Hijack Searches for 13 Million Users
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.
Enterprise-grade WhatsApp Web Baileys library and multi-bot runner supervisor with session crash guard.
High-performance, resilient WhatsApp Multi-Device engine and process supervisor for Node.js. Hand-crafted and maintained by charape.
charape is built for bot developers who require absolute stability in long-running production environments, such as VPS instances and Pterodactyl panels.
@adiwajshing/baileys (arsitektur klasik: useSingleFileAuthState, makeWALegacySocket, isJidUser, STORIES_JID, default function exports) maupun @whiskeysockets/baileys (arsitektur modern).groupStatusMessageV2), sinkronisasi messageSecret 32-byte tanpa corrupt key, serta banner dan anotasi "Lihat saluran" pada video, gambar, dan dokumen..tmp -> rename) dengan mutex lock, mencegah korupsi file creds.json berukuran 0-byte akibat crash tiba-tiba, Out of Memory (OOM), atau restart panel paksa.cleanAuthSession untuk memangkas ribuan file sementara (pre-key-*, app-state-sync-*) yang kerap menghabiskan inode/disk server (ENOSPC), dengan proteksi mutlak pada creds.json.charape untuk menjalankan bot dengan auto-restart cerdas (exponential backoff) dan graceful shutdown.*.whatsapp.net).npm install charape
@adiwajshing/baileys (Tanpa Ubah Script Bot)Jika script bot Anda menggunakan tipe @adiwajshing/baileys, cukup arahkan di package.json:
{
"dependencies": {
"@adiwajshing/baileys": "npm:charape@latest"
}
}
Atau jika menggunakan tarball offline:
{
"dependencies": {
"@adiwajshing/baileys": "file:./charape-1.0.0.tgz"
}
}
@whiskeysockets/baileys{
"dependencies": {
"@whiskeysockets/baileys": "npm:charape@latest"
}
}
Kemudian jalankan:
npm install
Seluruh import (@adiwajshing/baileys maupun @whiskeysockets/baileys) yang ada pada bot Anda akan otomatis dialihkan ke engine charape tanpa error missing export maupun undefined property!
import makeWASocket, {
useMultiFileAuthState,
DisconnectReason,
Browsers
} from 'charape';
async function startBot() {
const { state, saveCreds } = await useMultiFileAuthState('./session');
const sock = makeWASocket({
auth: state,
printQRInTerminal: true,
browser: Browsers.charape('Chrome'),
syncFullHistory: false
});
sock.ev.on('creds.update', saveCreds);
sock.ev.on('connection.update', (update) => {
const { connection, lastDisconnect } = update;
if (connection === 'close') {
const shouldReconnect = lastDisconnect?.error?.output?.statusCode !== DisconnectReason.loggedOut;
console.log('Koneksi terputus. Mencoba menghubungkan kembali:', shouldReconnect);
if (shouldReconnect) {
startBot();
}
} else if (connection === 'open') {
console.log('Koneksi WhatsApp berhasil dibuka.');
}
});
sock.ev.on('messages.upsert', async ({ messages, type }) => {
if (type !== 'notify') return;
for (const msg of messages) {
if (!msg.message || msg.key.fromMe) continue;
const text = msg.message.conversation || msg.message.extendedTextMessage?.text || '';
const sender = msg.key.remoteJid;
if (text === '!ping') {
await sock.sendMessage(sender, { text: 'pong!' }, { quoted: msg });
}
}
});
}
startBot();
Untuk mencegah penumpukan file cache pada penyimpanan server:
import { cleanAuthSession } from 'charape';
// Bersihkan file pre-key dan sync tanpa menyentuh creds.json
const stats = await cleanAuthSession('./session', {
removePreKeys: true,
removeAppState: true,
removeSenderKeys: false
});
console.log(`Pembersihan selesai: ${stats.deletedFiles} file dihapus (${(stats.bytesFreed / 1024).toFixed(1)} KB dibebaskan)`);
npx charape)Package ini menyertakan CLI mandiri:
npx charape start [file.js]
Jika file tidak ditentukan, CLI akan otomatis mencari index.js, main.js, atau bot.js. Supervisor menangani sinyal SIGINT/SIGTERM untuk mematikan proses anak dengan aman.
npx charape clean ./session
npx charape check
Didistribusikan di bawah lisensi MIT. Hak cipta milik charape dan para kontributor.
FAQs
Enterprise-grade WhatsApp Web Baileys library and multi-bot runner supervisor with session crash guard.
The npm package charape receives a total of 0 weekly downloads. As such, charape popularity was classified as not popular.
We found that charape 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.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.