Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@jexkcode/baileys

Latest version: v1.3.5

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
AI: Malicious npm package Publisher: jexkcode
0 Stars
0 Forks
8 Versions
3.8K Downloads
JavaScript Repo language

Scan summary

@jexkcode/baileys was last scanned on 24 Nov 2026 at version 1.3.5. Risk score 90 of 100 (critical). High-severity rules fired and the AI review flagged it as malicious.

  • Releases: 8 versions; the latest 4 were published within 7 days (18–24 Nov 2026).
  • Findings: 2 rules fired in version 1.3.5 (2 high). The score describes this version only.
  • Downloads: 3,805 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.3.5 LATEST 24 Nov 2026 2 rules fired
1.3.4 24 Nov 2026 1 rule fired
1.3.3 18 Nov 2026 2 rules fired
1.3.2 18 Nov 2026 Not shown
1.3.1 7 Nov 2026 Not shown

Rules fired in 1.3.5: 2

Findings

2 High

Findings for v1.3.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

AI review assessed the package as likely malicious

An automated AI review assessed the package's behavior as likely malicious, based on code excerpts, package metadata and the other findings for this package. It is an automated assessment, not a confirmed result on its own, and should be reviewed.

HIGH

WhatsApp channel follow or mute with a fixed target

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 1.3.5; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Enhanced WhatsApp Web API — forked and customized by jexkpinkman

buttons · lists · polls · albums · newsletters · payments · sqlite auth

📋 Table of Contents

  • Features
  • Install
  • Quick Start
  • Message Examples
  • Auth State Options
  • License

✨ Features

Fitur Deskripsi
🔘 Interactive Messages buttons, lists, native flow, carousel
🤖 AIRich Response rich message, table, code block formatting
📰 Newsletter Support media upload, subscribe management
🖼️ Album Messages group image/video albums
📡 Group Status group & channel status support
🏷️ Sticker Pack full sticker pack send support
📊 Poll & Quiz poll, quiz, poll result messages
💳 Payment Messages invoice, payment invite, request payment
🕶️ Spoiler & Ephemeral wrap messages as spoiler or ephemeral
🗄️ SQLite Auth State persistent auth with SQLite

🆕 v1.3.0 — fitur tambahan (port dari JAPofc/baileys, MIT)

// Mini App: kartu + tombol buka web (bisa dengan link bertanda-tangan HMAC) / WhatsApp Flow
await sock.sendMiniApp(jid, { title: 'App', body: 'Buka 👇', url: 'https://app.example', params: { ref: 'bot' },
  secret: 'rahasia', expiresIn: 3600, openWebview: true })
// verifikasi di server web kamu:  verifyMiniAppRequest(req.query, { secret })

// A2UI widget
const ui = new A2UI(); ui.root([ui.text('Halo', { variant: 'h1' }), ui.button(ui.text('Klik'))])
await sock.sendA2UIWidget(jid, { a2ui: ui, bodyText: 'tes' })

// Transkripsi voice note (Whisper-compatible)
const { text } = await sock.transcribeMessage(m, { provider: openAIWhisperProvider({ apiKey }) })

// Tombol nativeFlow baru: { webview }, { reminder }, { cancelReminder }, { address }, { location: true },
// { catalog }, { products }, { flow }, { voiceCall }, { videoCall }, { clearChat }, { screen }

await sock.sendScheduledCall(jid, { scheduledAt: Date.now() + 3600e3, callType: 'voice', title: 'Rapat' })
await sock.sendMentionAll(jid, 'Halo semua')
await sock.sendStatusMention({ text: 'hi' }, [jid1, jid2])

// Username (baca-saja): checkUsername, checkUsernameMulti, getMyUsername, getUsernameRecommendations,
// findUserByUsername, fetchContactUsernames — pakai query_id yang bisa kedaluwarsa (lihat sock.setUsernameQueryIds)

// Util: autoReconnect, createMockSocket, exportChatAsCSV / exportChatAsText / exportChatAsJSON, chatStatistics

📦 Install

npm install github:jexkpinkman/JexkCode-baileys

🚀 Quick Start

import makeWASocket, { useMultiFileAuthState, DisconnectReason } from 'jexkcode'
import { Boom } from '@hapi/boom'

const { state, saveCreds } = await useMultiFileAuthState('auth_info')

const sock = makeWASocket({ auth: state })

sock.ev.on('creds.update', saveCreds)

sock.ev.on('connection.update', ({ connection, lastDisconnect }) => {
  if (connection === 'close') {
    const shouldReconnect = new Boom(lastDisconnect?.error)?.output?.statusCode !== DisconnectReason.loggedOut
    if (shouldReconnect) connectToWhatsApp()
  } else if (connection === 'open') {
    console.log('Connected!')
  }
})

💬 Message Examples

await sock.sendMessage(jid, {
  interactive: {
    body: { text: 'Pilih menu:' },
    footer: { text: 'JexkCode Bot' },
    header: { hasMediaAttachment: false },
    nativeFlowMessage: {
      buttons: [
        { name: 'quick_reply', buttonParamsJson: JSON.stringify({ display_text: 'Menu', id: 'menu' }) },
        { name: 'quick_reply', buttonParamsJson: JSON.stringify({ display_text: 'Help', id: 'help' }) }
      ]
    }
  }
})
await sock.sendMessage(jid, {
  aiRich: {
    message: { conversation: 'Data pengguna:' },
    unifiedResponse: {
      components: [{
        type: 'table',
        columns: [{ name: 'Nama' }, { name: 'Status' }],
        rows: [
          { cells: [{ content: 'User A' }, { content: 'Aktif' }] },
          { cells: [{ content: 'User B' }, { content: 'Tidak Aktif' }] }
        ]
      }]
    }
  }
})
await sock.sendMessage(jid, {
  album: {
    media: [
      { image: { url: 'https://...' }, caption: 'Foto 1' },
      { image: { url: 'https://...' }, caption: 'Foto 2' }
    ]
  }
})
await sock.sendMessage(jid, {
  poll: {
    name: 'Pilih warna favoritmu!',
    values: ['Merah', 'Hijau', 'Biru'],
    selectableCount: 1
  }
})

🔐 Auth State Options

// Multi-file (default)
import { useMultiFileAuthState } from 'jexkcode'
const { state, saveCreds } = await useMultiFileAuthState('./auth_info')

// Single file
import { useSingleFileAuthState } from 'jexkcode'
const { state, saveCreds } = await useSingleFileAuthState('./auth.json')

// SQLite
import { useSQLiteAuthState } from 'jexkcode'
const { state, saveCreds } = await useSQLiteAuthState('./auth.db')

📄 License

MIT License © 2026 jexkpinkman

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Created by jexkpinkman

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @jexkcode/baileys

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229