This release includes 2 security fixes for security teams reviewing exposed deployments.
Topics
+14 more
Summary
AI summaryUpdates lockPath, tmpPath, and false across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Bugfix | Medium |
Fixes TOCTOU race condition in test-phase11.ts stale-lock injection. Fixes TOCTOU race condition in test-phase11.ts stale-lock injection. Source: llm_adapter@2026-05-30 Confidence: high |
— |
| Bugfix | Medium |
Fixes TOCTOU race condition in test-phase11.ts orphan-tmp simulation. Fixes TOCTOU race condition in test-phase11.ts orphan-tmp simulation. Source: llm_adapter@2026-05-30 Confidence: high |
— |
| Bugfix | Medium |
Prevents UTF-8 BOM insertion by PowerShell 5.1 in version‑bump scripts, fixing JSON parse failures. Prevents UTF-8 BOM insertion by PowerShell 5.1 in version‑bump scripts, fixing JSON parse failures. Source: llm_adapter@2026-05-30 Confidence: high |
— |
| Bugfix | Low |
Removes hardcoded reference to "3 sub‑tasks" in claude-project-prompt.md checklist and template. Removes hardcoded reference to "3 sub‑tasks" in claude-project-prompt.md checklist and template. Source: llm_adapter@2026-05-30 Confidence: high |
— |
Full changelog
What's Changed
Fixed
- CodeQL #170 — CWE-367 TOCTOU (
test-phase11.tsstale-lock inject):lockPathtainted vianew FileLock(lockPath)internalexistsSync→openSync(lockPath, 'w'). Fixed with freshconst staleLockPath = join(dir, '.test.lock')inside the write block. - CodeQL #173 — CWE-367 TOCTOU (
test-phase11.tsorphan-tmp simulate):tmpPathflowed fromassert(!existsSync(tmpPath))intoopenSync(tmpPath, O_CREAT|O_EXCL|O_WRONLY). Fixed with freshconst orphanTmpPathinside the write block. - UTF-8 BOM regression: PowerShell 5.1
Set-Contentwrites BOM, breakingts-nodeJSON parse in CI. All version-bump scripts now useSystem.IO.File::WriteAllTextwithUTF8Encoding(false). claude-project-prompt.mdresidual hardcoded-3 refs: Pre-commit checklist and response-format template still referenced "3 sub-tasks" after v5.8.8 SkillSpector fix. Both updated to be count-agnostic.
Full Changelog: https://github.com/Jovancoding/Network-AI/compare/v5.8.8...v5.8.9
Security Fixes
- CodeQL #170 — Fixed TOCTOU vulnerability in `lockPath` handling by using a freshly generated lock file path.
- CodeQL #173 — Fixed TOCTOU vulnerability in `tmpPath` handling by using a freshly generated temporary file path.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Jovancoding/Network-AI
Multi-agent orchestration MCP server with race-condition-safe shared blackboard. 20+ MCP tools: blackboard read/write, agent spawn/stop, FSM transitions, budget tracking, token management, and audit log query. `npx network-ai-server --port 3001`.
Related context
Beta — feedback welcome: [email protected]