#3682·gpt4all

[Security] Model Metadata and Download Fallback via Plaintext HTTP — MITM Supply Chain Risk

Author: bogdancherniy11-sudoCreated Jun 26, 2026Updated Aug 21, 2026

download.cpp uses plaintext HTTP for critical operations:

Hash verification exists (line 560) but the expected hash comes from the same HTTP metadata endpoint (release.json). MITM attacker substitutes both the hash and the model file — verification passes with malicious content.

Fix: change http:// to https:// on lines 161, 173, 214. Also enforce TLS cert verification.