codeburn/src/plugins
iamtoruk a0adce6d5b fix(plugins): reject non-regular tar entries before extraction; cap exporter per-call surplus
Independent adversarial review found the remote-install tar validation was blind to symlinks - tar -tzf hides the link target, so a symlink (or the classic symlink-then-write-through pair) could reach the extraction step before verifyPlugin's post-extract symlink check, escaping tempDir on any tar that follows links mid-archive (macOS bsdtar refuses, GNU tar historically does not). Validation now lists with -tvzf and rejects any entry whose type flag is not a plain file or directory, platform-independently. Also bounds exporter per-call iteration to the batch size as defense beyond the existing 8MB stdout cap.
2026-08-28 06:42:34 -07:00
..
cli.ts fix(plugins): reject non-regular tar entries before extraction; cap exporter per-call surplus 2026-08-28 06:42:34 -07:00
exporter.ts fix(plugins): reject non-regular tar entries before extraction; cap exporter per-call surplus 2026-08-28 06:42:34 -07:00
keys.ts fix(plugins): derive keygen keyId identically to sign; pin release-key ids in tests 2026-08-28 00:35:36 -07:00
loader.ts fix(plugins): codepoint-ordered signature canonicalization; sign fails loudly on unreadable files 2026-08-28 05:52:36 -07:00
manifest.ts fix(plugins): polite one-line errors for plugin commands instead of stack traces 2026-08-28 05:43:18 -07:00