---
canonical: "https://firewall.lpm.dev/npm/@agentsky/sky/v/3.45.0"
markdown: "https://firewall.lpm.dev/npm/@agentsky/sky/v/3.45.0.md"
package: "@agentsky/sky"
report_status: "published"
title: "@agentsky/sky@3.45.0 npm security report"
verdict: "clean"
version: "3.45.0"
---

# @agentsky/sky@3.45.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Allowed — no malicious behavior detected** — 20 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 3.45.0
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The flagged execution and network behavior supports the package’s agent trace and recording features. Upload is described as redacted and gated on explicit enablement, while local recording hooks are installed only through an explicit command; no hidden malicious behavior was identified in the reviewed paths.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-15T21:34:06.801Z
- **Finished:** 2026-11-15T21:35:07.516Z
- **Download time:** 519 ms
- **Static scan time:** 5568 ms
- **AI review time:** 54628 ms
- **Total time:** 60715 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** No attack was identified; the flagged collection and network behavior belongs to the CLI’s disclosed, user-enabled trace features.

- **Trigger:** User runs a trace command; uploading requires prior explicit sync enablement, and local recording hooks require --enable.

- **Impact:** No unauthorized collection or transmission was identified in the inspected paths.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-15T21:35:07.516Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Trace sync reads agent sessions, redacts them, and sends them to the configured AgentSky API using the user’s AgentSky token. Local recording stores session data in the configured vault.

- **Rationale:** The flagged execution and network behavior supports the package’s agent trace and recording features. Upload is described as redacted and gated on explicit enablement, while local recording hooks are installed only through an explicit command; no hidden malicious behavior was identified in the reviewed paths.

- **Network endpoints:** https://api.agentsky.dev/v1

### Review decision

- **Verdict:** Clean

- **Confidence:** 91.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest exposes a CLI and declares no install lifecycle scripts., Trace sync is described as uploading agent sessions to the matching workspace, redacted first; it refuses to run until sync has been enabled., The trace library sends the login token to the configured API base, which defaults to AgentSky’s API host., Recording hooks are installed only in the explicit --enable branch.

- **Evidence against:** The CLI can read agent sessions and send them to a workspace, but the command describes this behavior and requires sync to be enabled., The package can install Claude Code hooks for local recording, but that requires an explicit enable command.

## Affected versions and remediation

This report applies to @agentsky/sky@3.45.0.

- No action is needed for @agentsky/sky@3.45.0. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/trace-vault-IUNYRVGZ.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/trace-vault-IUNYRVGZ.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L6: // src/trace-vault.ts
L7: import { execFile, spawn, spawnSync } from "child_process";
L8: import { createHash, randomBytes } from "crypto";
```

### 3. Low: Eval (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 4. Medium: Dynamic Require (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/chunk-EO32DG3Z.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/chunk-EO32DG3Z.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1019: collectorModules ??= Promise.all([
L1020: import(pathToFileURL(join4(dir, "collect.mjs")).href),
L1021: import(pathToFileURL(join4(dir, "sinks", "agentsky.mjs")).href)
```

### 5. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Medium: Install Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/chunk-EO32DG3Z.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/chunk-EO32DG3Z.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L17: stillExcluded,
L18: writePrivateJson
L19: } from "./chunk-YYDO5WB5.js";
...
L48: import { fileURLToPath, pathToFileURL } from "url";
L49: import { createGunzip } from "zlib";
L50: 
...
L75: async function probe(session) {
L76: const res = await fetch(session.upload_url, {
L77: method: "PUT",
...
L95: },
L96: body: chunk
L97: });
```

### 8. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** vendor/trace-collect/sinks/agentsky.mjs
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/vendor/trace-collect/sinks/agentsky.mjs>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L8: import { createHash } from "node:crypto";
L9: import { spawnSync } from "node:child_process";
L10: 
L11: const SKY = () => process.env.SKY_CONFIG_DIR ?? path.join(os.homedir(), ".config", "sky");
L12: const readJson = (p, d) => { try { return JSON.parse(fs.readFileSync(p, "utf8")); } catch { return d; } };
...
L15: const token = () => process.env.SKY_API_TOKEN ?? skyConfig().token;
L16: const apiBase = () => (process.env.SKY_API_URL ?? skyConfig().apiBase ?? "https://api.agentsky.dev/v1").replace(/\/$/, "");
L17:
```

### 10. High: Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/index.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L2705: }
L2706: process.stdout.write(".");
L2707: }
...
L2712: import { createHash as createHash5 } from "crypto";
L2713: import { spawn as spawn2 } from "child_process";
L2714: import { accessSync, chmodSync as chmodSync2, constants, copyFileSync, createWriteStream as createWriteStream2, existsSync as existsSync3, mkdirSync as mkdirSync2, mkdtempSync as m...
...
L2720: var DEFAULT_ENGINE = "codex";
L2721: var CLAUDE_INSTALLER = "https://claude.ai/install.sh";
L2722: var CODEX_RELEASE = "https://api.github.[redacted]";
```

### 11. High: Sandbox Evasion Gated Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/index.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L198: const path2 = `/consumer/artifact-activations/${seg(source)}`;
L199: if (operation === "proof" || operation === "history") return api("GET", `${path2}${operation === "history" ? "/history" : ""}?${new URLSearchParams({ ...selector, ...options.after ...
L200: return api("POST", operation === "prepare" ? path2 : `${path2}/${operation}`, selector);
...
L208: if (!options.content) throw new Error("Exact raw bytes are required.");
L209: return api("PUT", concrete, { content_base64: Buffer.from(options.content).toString("base64") });
L210: }
...
L222: function [redacted](artifact2) {
L223: artifact2.command("list-adopted").description("list canonical owner files; execution origin selects private generated meeting notes with read-only bodies").option("--origin <origin...
L224: artifact2.com
```

### 12. High: Cross File Remote Execution Context (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/index.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/index.js spawns dist/chunk-AM6GOGA6.js; helper contains network access plus dynamic code execution.
L198: const path2 = `/consumer/artifact-activations/${seg(source)}`;
L199: if (operation === "proof" || operation === "history") return api("GET", `${path2}${operation === "history" ? "/history" : ""}?${new URLSearchParams({ ...selector, ...options.after ...
L200: return api("POST", operation === "prepare" ? path2 : `${path2}/${operation}`, selector);
...
L208: if (!options.content) throw new Error("Exact raw bytes are required.");
L209: return api("PUT", concrete, { content_base64: Buffer.from(options.content).toString("base64") });
L210: }
...
L222: function [redacted](artifact2) {
L223: artifact2.command("list-adopted").description("list canonical o
```

### 13. High: Trigger Reachable Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/index.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/index.js
L2705: }
L2706: process.stdout.write(".");
L2707: }
...
L2712: import { createHash as createHash5 } from "crypto";
L2713: import { spawn as spawn2 } from "child_process";
L2714: import { accessSync, chmodSync as chmodSync2, constants, copyFileSync, createWriteStream as createWriteStream2, existsSync as existsSync3, mkdirSync as mkdirSync2, mkdtempSync as m...
...
L2720: var DEFAULT_ENGINE = "codex";
L2721: var CLAUDE_INSTALLER = "https://claude.ai/install.sh";
L2722: var CODEX_RELEASE = "https://api.github.[redacted]";
```

### 14. High: Trigger Reachable Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/chunk-EO32DG3Z.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/chunk-EO32DG3Z.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.bin -> dist/index.js -> dist/chunk-EO32DG3Z.js
L17: stillExcluded,
L18: writePrivateJson
L19: } from "./chunk-YYDO5WB5.js";
...
L48: import { fileURLToPath, pathToFileURL } from "url";
L49: import { createGunzip } from "zlib";
L50: 
...
L75: async function probe(session) {
L76: const res = await fetch(session.upload_url, {
L77: method: "PUT",
...
L95: },
L96: body: chunk
L97: });
```

### 15. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 16. Low: Telemetry (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

### 17. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 18. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 95.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 19. Medium: Wildcard Dependency (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

### 20. Critical: Previous Version Dangerous Delta (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/chunk-OYSSK6GS.js
- **Public source:** [View source](<https://unpkg.com/@agentsky/sky@3.45.0/dist/chunk-OYSSK6GS.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @agentsky/sky@3.43.0
matchedIdentity = npm:QGFnZW50c2t5L3NreQ:3.43.0
similarity = 0.877
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 5
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 7
- **Published dependency-graph edges:** 5

### Published dependency entries
- commander ^14.0.0 (Dependency)
- smol-toml ^1.4.2 (Dependency)
- ws ^8.18.0 (Dependency)
- yaml ^2.9.1 (Dependency)
- zod 4.5.4 (Dependency)

## Package metadata
- **Package:** @agentsky/sky
- **Ecosystem:** npm
- **Version:** 3.45.0
- **License:** Apache-2.0
- **Version published:** 2026-11-15T21:32:03.757Z
- **Package first seen:** 2026-07-31T14:42:49.807Z
- **Package last seen:** 2026-11-23T08:29:30.547Z
- **Known versions:** 99
- **Latest version:** 3.54.1
- **Appeal under review:** No
- **Description:** sky — the AgentSky developer CLI: launch and talk to long-lived agents from your terminal.
- **Maintainers:** nsrunloop
- **Runtime engines:** node: \>=20
- **Artifact files:** 97
- **Artifact unpacked size:** 2,461,549 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@agentsky/sky/v/3.45.0>)
