Release
v5.4.1 — Security patch (CodeQL TOCTOU + dead code)
Patch release resolving 4 CodeQL alerts surfaced after v5.4.0.
Read the release here or open the original release on GitHub.
Network-AI v5.4.1 — Security Patch
Patch release resolving 4 CodeQL alerts surfaced after v5.4.0.
Security
- TOCTOU race condition fix (
lib/env-manager.ts) —_touchJson()and_touchFile()now useopenSync(O_CREAT | O_EXCL | O_WRONLY, 0o600)instead ofexistsSync+writeFileSync. Eliminates the window between the existence check and the write where another process could create the same file. CWE-367. (CodeQL #149, #150)
Fixed
- Removed unused
basenameimport fromlib/env-manager.ts(CodeQL #152) - Removed unused
SourceProtectionErrorimport fromtest-env-manager.ts(CodeQL #153) - Removed unused
resolveEnvDatafunction frombin/cli.ts(CodeQL #151) - Fixed README comparison table: adapter count 28 -> 29
- Fixed QUICKSTART.md: garbled
nemoclaw/apstable rows (literal\nin source) - Bumped version string to v5.4.1 across all docs and metadata files
Stats
- 29 test suites, 2,976 passing assertions (unchanged)
- Zero TypeScript compile errors (
npx tsc --noEmit)
Full Changelog
https://github.com/Jovancoding/Network-AI/blob/main/CHANGELOG.md