Files
mcde/lib
lotherkandClaude Sonnet 5.5 86ff325ecb MCDE McdeSys: the root update takes only a directory, file:/// or https:// as its source (t0078)
sysupgrade-1.5 fetches with ftp and unpacks with tar as root and checks nothing;
pkg_add -uu trusts the packages it is given (docs/reference/update-verification.txt).
mcde_sys_update_source_ok (common.c, fail closed: the scheme in lower case, only
[A-Za-z0-9._~:/@%+,=-]) is asked by mcde_sys_update_check, which then does not
even contact a refused source, and by mcde_sys_update_apply, which refuses before
any root action.  http://, ftp://, ssh:// and shell or query characters are out.

Measured: make mcde-linux MCDE_DIRS='check lib/McdeSys' exit=0, PASS 3 of 3
(test_updatesource has 28 cases, build/logs/mcde-linux-2026-11-14-t0078.log);
netbsd.c does not build on this host, its update section compiled alone with
-Wall -Wextra gives no warning.  This does not verify any signature: that needs
a key and Konrad's decision (t0078 steps 2 and 3).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:15:05 +00:00
..