Skip to main content

whatsapp-bot-builder

Creates WhatsApp bots using the WhatsApp Business API for automated customer communication and interactive messaging.

Install this skill

or
0/100

Security score

The whatsapp-bot-builder skill was audited on Mar 7, 2026 and we found 27 security issues across 4 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 90

Template literal with variable interpolation in command context

SourceSKILL.md
90await fetch(`https://graph.facebook.com/v21.0/${PHONE_ID}/messages`, {
medium line 93

Template literal with variable interpolation in command context

SourceSKILL.md
93'Authorization': `Bearer ${TOKEN}`,
medium line 195

Template literal with variable interpolation in command context

SourceSKILL.md
195const media = await fetch(`https://graph.facebook.com/v21.0/${mediaId}`, {
medium line 196

Template literal with variable interpolation in command context

SourceSKILL.md
196headers: { 'Authorization': `Bearer ${TOKEN}` }
medium line 201

Template literal with variable interpolation in command context

SourceSKILL.md
201headers: { 'Authorization': `Bearer ${TOKEN}` }
medium line 9

Webhook reference - potential data exfiltration

SourceSKILL.md
9integration, whatsapp cloud api, whatsapp template, whatsapp webhook,
medium line 24

Webhook reference - potential data exfiltration

SourceSKILL.md
24Builds WhatsApp bots using the official Cloud API (hosted by Meta). Covers account setup, webhook configuration, sending and receiving messages, template messages for outbound campaigns, interactive c
low line 43

Webhook reference - potential data exfiltration

SourceSKILL.md
43WHATSAPP_VERIFY_TOKEN=my_secret # Webhook verification token (you choose this)
medium line 46

Webhook reference - potential data exfiltration

SourceSKILL.md
46### 2. Webhook Setup
medium line 48

Webhook reference - potential data exfiltration

SourceSKILL.md
48WhatsApp sends incoming messages via webhooks:
low line 55

Webhook reference - potential data exfiltration

SourceSKILL.md
55// Webhook verification (GET)
low line 56

Webhook reference - potential data exfiltration

SourceSKILL.md
56app.get('/webhook', (req, res) => {
low line 69

Webhook reference - potential data exfiltration

SourceSKILL.md
69app.post('/webhook', (req, res) => {
medium line 82

Webhook reference - potential data exfiltration

SourceSKILL.md
82Register webhook URL in Meta Developer Console → WhatsApp → Configuration.
medium line 225

Webhook reference - potential data exfiltration

SourceSKILL.md
225- **Must have HTTPS** — WhatsApp requires TLS for webhooks
medium line 228

Webhook reference - potential data exfiltration

SourceSKILL.md
228- Implement message deduplication (WhatsApp may retry webhook deliveries)
medium line 236

Webhook reference - potential data exfiltration

SourceSKILL.md
236**Output:** A Node.js webhook server with:
medium line 256

Webhook reference - potential data exfiltration

SourceSKILL.md
256- Always respond HTTP 200 to webhooks within 5 seconds (process async)
medium line 258

Webhook reference - potential data exfiltration

SourceSKILL.md
258- Implement idempotency — WhatsApp retries webhook deliveries on timeout
medium line 265

Webhook reference - potential data exfiltration

SourceSKILL.md
265- For high volume: use a message queue between webhook receiver and processor
high line 226

Ngrok tunnel reference

SourceSKILL.md
226- Use ngrok for local development
low line 61

Access to .env file

SourceSKILL.md
61if (mode === 'subscribe' && token === process.env.WHATSAPP_VERIFY_TOKEN) {
low line 30

External URL reference

SourceSKILL.md
301. Create a Meta Business account at https://business.facebook.com
low line 31

External URL reference

SourceSKILL.md
312. Go to https://developers.facebook.com → Create App → Business type
low line 90

External URL reference

SourceSKILL.md
90await fetch(`https://graph.facebook.com/v21.0/${PHONE_ID}/messages`, {
low line 186

External URL reference

SourceSKILL.md
186link: 'https://example.com/photo.jpg', // Public URL
low line 195

External URL reference

SourceSKILL.md
195const media = await fetch(`https://graph.facebook.com/v21.0/${mediaId}`, {
Scanned on Mar 7, 2026
View Security Dashboard
Installation guide →