network-ai 5.12.1 → 5.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/socket.json CHANGED
@@ -1,6 +1,16 @@
1
- {
1
+ {
2
2
  "version": 2,
3
3
  "ignore": {
4
+ "gptSecurity": [
5
+ {
6
+ "path": "bin/console.ts",
7
+ "reason": "Intentional — `--pipe` mode is an opt-in LOCAL control surface. It reads newline-delimited JSON only from this process's own stdin (no network listener is opened) and writes JSON to stdout. `exec`/`spawn` are gated by the same AgentRuntime SandboxPolicy (command allow-list, audit log, approval gate); approval-required operations are denied in pipe mode unless the operator passes --auto-approve. Anyone able to write to the process stdin already controls the process, so no privilege boundary is crossed. Operators bridging pipe mode to a network transport must add their own authentication."
8
+ },
9
+ {
10
+ "path": "dist/bin/console.js",
11
+ "reason": "Intentional — compiled output of bin/console.ts. `--pipe` mode reads JSON only from this process's own stdin (no network listener); exec/spawn are SandboxPolicy-gated and approval-required ops are denied unless --auto-approve is set. No privilege boundary is crossed by local stdin input."
12
+ }
13
+ ],
4
14
  "evalDynamicCodeExecution": [
5
15
  {
6
16
  "path": "lib/blackboard-validator.ts",
@@ -203,6 +213,50 @@
203
213
  {
204
214
  "path": "dist/lib/telemetry-provider.js",
205
215
  "reason": "False positive — compiled output of telemetry-provider. No direct network calls; the OTel exporter is supplied by the caller. Flagged by Socket.dev's transitive import-graph analysis only."
216
+ },
217
+ {
218
+ "path": "dist/esm/adapters/a2a-adapter.js",
219
+ "reason": "Intentional — ESM build output of A2AAdapter. It talks only to agent endpoints explicitly registered by the user."
220
+ },
221
+ {
222
+ "path": "dist/esm/adapters/codex-adapter.js",
223
+ "reason": "Intentional — ESM build output of CodexAdapter. It talks to OpenAI or a caller-provided base URL."
224
+ },
225
+ {
226
+ "path": "dist/esm/adapters/custom-adapter.js",
227
+ "reason": "Intentional — ESM build output of CustomAdapter. It calls a caller-supplied endpoint as part of documented BYOC adapter behavior."
228
+ },
229
+ {
230
+ "path": "dist/esm/adapters/minimax-adapter.js",
231
+ "reason": "Intentional — ESM build output of MiniMaxAdapter. It talks to MiniMax endpoints as configured by the caller."
232
+ },
233
+ {
234
+ "path": "dist/esm/adapters/pydantic-ai-adapter.js",
235
+ "reason": "Intentional — ESM build output of PydanticAIAdapter. Uses fetch for outbound HTTP calls to caller-supplied PydanticAI endpoints."
236
+ },
237
+ {
238
+ "path": "dist/esm/lib/approval-inbox.js",
239
+ "reason": "Intentional — ESM build output of ApprovalInbox. The HTTP approval server binds to 127.0.0.1 by default and supports a required bearer secret (5.12.2); flagged via transitive imports, it makes no direct outbound fetch calls."
240
+ },
241
+ {
242
+ "path": "dist/esm/lib/control-plane.js",
243
+ "reason": "Intentional — ESM build output of ControlPlane; flagged via transitive imports. It makes no direct outbound HTTP calls."
244
+ },
245
+ {
246
+ "path": "dist/esm/lib/dashboard-server.js",
247
+ "reason": "Intentional — ESM build output of DashboardServer; flagged via transitive imports. It makes no direct outbound HTTP calls via fetch."
248
+ },
249
+ {
250
+ "path": "dist/esm/lib/mcp-tool-consumer.js",
251
+ "reason": "Intentional — ESM build output of McpToolConsumer. Uses fetch for HTTP/SSE MCP transport to a caller-configured MCP server URL."
252
+ },
253
+ {
254
+ "path": "dist/esm/lib/swarm-transport.js",
255
+ "reason": "Intentional — ESM build output of SwarmTransport. Uses fetch to relay messages to a caller-configured HTTP endpoint."
256
+ },
257
+ {
258
+ "path": "dist/esm/lib/work-tree-dashboard.js",
259
+ "reason": "Intentional — ESM build output of WorkTreeDashboard; flagged via transitive imports. It makes no direct outbound HTTP calls."
206
260
  }
207
261
  ],
208
262
  "urlStrings": [
@@ -319,6 +373,14 @@
319
373
  {
320
374
  "path": "dist/lib/mcp-tool-consumer.js",
321
375
  "reason": "Intentional — compiled output of McpToolConsumer. Imports child_process to launch caller-configured MCP server subprocesses for stdio transport."
376
+ },
377
+ {
378
+ "path": "dist/esm/lib/agent-runtime.js",
379
+ "reason": "Intentional — ESM build output of AgentRuntime. Imports child_process for ShellExecutor; sandboxed by SandboxPolicy, opt-in only."
380
+ },
381
+ {
382
+ "path": "dist/esm/lib/mcp-tool-consumer.js",
383
+ "reason": "Intentional — ESM build output of McpToolConsumer. Imports child_process to launch caller-configured MCP server subprocesses for stdio transport."
322
384
  }
323
385
  ],
324
386
  "filesystemAccess": [