Skip to content

Commit a59c13a

Browse files
author
jovanSAPFIONEER
committed
fix(security): patch 5 CVEs — symlink escape, path traversal, poisoned manifest, sandbox prefix bypass, unauthenticated ApprovalInbox
1 parent 344fb17 commit a59c13a

20 files changed

Lines changed: 94 additions & 31 deletions

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
},
77
"metadata": {
88
"description": "Network-AI — a multi-agent coordination layer for Claude Code: shared blackboard state, permission gating, federated budgets, and audit queries over MCP.",
9-
"version": "5.12.1"
9+
"version": "5.12.2"
1010
},
1111
"plugins": [
1212
{
1313
"name": "network-ai",
1414
"source": "./",
1515
"description": "Gives Claude Code a multi-agent coordination layer over MCP — an atomic shared blackboard (locked propose/validate/commit), permission gating with HMAC/Ed25519-signed tokens, federated token-budget tracking, and append-only audit-log queries. Backed by an orchestrator with 29 framework adapters (LangChain, AutoGen, CrewAI, and more).",
16-
"version": "5.12.1",
16+
"version": "5.12.2",
1717
"author": {
1818
"name": "OpenClaw Community",
1919
"url": "https://github.com/Jovancoding/Network-AI"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "network-ai",
33
"description": "Gives Claude Code a multi-agent coordination layer over MCP — an atomic shared blackboard (locked propose/validate/commit), permission gating with HMAC/Ed25519-signed tokens, federated token-budget tracking, and append-only audit-log queries. Backed by an orchestrator with 29 framework adapters (LangChain, AutoGen, CrewAI, and more).",
4-
"version": "5.12.1",
4+
"version": "5.12.2",
55
"author": {
66
"name": "OpenClaw Community",
77
"url": "https://github.com/Jovancoding/Network-AI"

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Project Overview
44

5-
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination (v5.12.1). 3,269 tests across 33 suites.
5+
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination (v5.12.2). 3,269 tests across 33 suites.
66

77
## Architecture
88

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Architecture
22

3-
Network-AI v5.12.1 — TypeScript/Node.js multi-agent orchestrator with 29 adapters, 3,269 tests, 72+ modules.
3+
Network-AI v5.12.2 — TypeScript/Node.js multi-agent orchestrator with 29 adapters, 3,269 tests, 72+ modules.
44

55
## The Multi-Agent Race Condition Problem
66

AUDIT_LOG_SCHEMA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Audit Log Schema — Network-AI v5.12.1
1+
# Audit Log Schema — Network-AI v5.12.2
22

33
Network-AI writes a JSONL audit trail during permission management and swarm execution. This document describes every field and event type.
44

BENCHMARKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Benchmarks & Performance
22

3-
> Performance data for Network-AI v5.12.1 deployments. Your swarm is only as fast as the backend it calls — this page helps you choose the right setup.
3+
> Performance data for Network-AI v5.12.2 deployments. Your swarm is only as fast as the backend it calls — this page helps you choose the right setup.
44
55
## BlackboardValidator Throughput
66

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to Network-AI will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.12.2] - 2026-06-18
9+
10+
### Security
11+
- **GHSA-6x2m-p4xp-wg22** (Moderate) — `EnvironmentManager.backup()` now uses `lstatSync` instead of `statSync` in `_collectBackupFiles()`. Symlinks are detected with `isSymbolicLink()` and skipped, preventing backup from following symlinks outside the environment root.
12+
- **GHSA-48x2-6pr9-2jjf** (Moderate) — `EnvironmentManager.restore()` validates `backupId` against `/^[\w\-]+$/` and checks `dirname(backupPath) === resolve(backupsDir)` before any filesystem access, blocking path-traversal backup IDs such as `../../etc`.
13+
- **GHSA-2fmp-9rvw-hc96** (High) — `EnvironmentManager.pruneBackups()` no longer uses `entry.path` from the manifest for `rmSync`. The deletion path is recomputed from `entry.backupId` after format validation, and a `dirname` check ensures it is exactly one level under the backups directory. A poisoned `path: "/"` in a manifest is now harmless.
14+
- **GHSA-jvcm-f35g-w78p** (Moderate) — `SandboxPolicy.resolvePath()` and `isPathAllowed()` now use sep-anchored prefix checks (`basePath + sep`) instead of bare `startsWith(basePath)`. This prevents `/foo/barextra` from being accepted as a subpath of basePath `/foo/bar`.
15+
- **GHSA-mxjx-28vx-xjjj** (Moderate) — `ApprovalInbox` HTTP server now supports a `secret` option. When set, `POST /:id/approve` and `POST /:id/deny` require `Authorization: Bearer <secret>`. Validation uses `timingSafeEqual` (constant-time) to prevent timing attacks.
16+
17+
### Changed
18+
- Version bump 5.12.1 → 5.12.2 across `package.json`, `skill.json`, `openapi.yaml`, README badge, Claude Code plugin manifests, and documentation headers.
19+
820
## [5.12.1] - 2026-06-17
921

1022
### Added

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file is read automatically by Claude Code when working in this repository.
44

55
## Project Overview
66

7-
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination. Version 5.12.1.
7+
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination. Version 5.12.2.
88

99
## Build & Test Commands
1010

CODEX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file is read automatically by OpenAI Codex CLI when working in this reposit
44

55
## Project Overview
66

7-
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination. Version 5.12.1.
7+
Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination. Version 5.12.2.
88

99
## Build & Test Commands
1010

INTEGRATION_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,4 +564,4 @@ Run these before declaring the integration production-ready:
564564

565565
---
566566

567-
*Network-AI v5.12.1 · MIT License · https://github.com/Jovancoding/Network-AI*
567+
*Network-AI v5.12.2 · MIT License · https://github.com/Jovancoding/Network-AI*

0 commit comments

Comments
 (0)