NVIDIA / NVIDIA/NemoClaw

Pin or validate the WhatsApp Baileys version-discovery source

Open
#7,197 0 comments 0 reactions 1 assignee Claimed by @apurvvkumaria View on GitHub
area: messaging area: policy area: security integration: whatsapp
Dominant language
TypeScript
Stars
22.5k
Forks
3.1k
Avg merge
1d 1h
Merged PRs (30d)
715

Description

## Summary

The WhatsApp network policy permits a runtime `GET` from the mutable Baileys `master` branch on `raw.githubusercontent.com` so the client can discover protocol-version information.

## Current behavior

- The egress rule is narrowly limited by host, method, and path.
- The permitted path still names a moving branch:
`/WhiskeySockets/Baileys/master/src/Defaults/index.ts`.
- The policy and its regression coverage do not bind the response to an immutable revision or verify its integrity before the value can affect runtime behavior.

## Risk

An upstream branch update can change content consumed inside the sandbox without a corresponding reviewed NemoClaw change. That makes the effective third-party supply-chain input mutable even though the network path is otherwise constrained.

## Desired behavior

Use an immutable reviewed Baileys revision or content-addressed artifact for version discovery. If an immutable source cannot be used, validate the response narrowly enough that unexpected content cannot influence runtime behavior.

## Acceptance criteria

- The runtime version-discovery source is immutable or integrity/format validated.
- The policy remains limited to the minimum required host, method, and path.
- Regression coverage rejects an unexpected or unapproved source/response.
- OpenClaw and Hermes WhatsApp policy variants remain consistent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.