---
canonical: "https://firewall.lpm.dev/npm/@causyne/agent/v/1.20.120"
markdown: "https://firewall.lpm.dev/npm/@causyne/agent/v/1.20.120.md"
package: "@causyne/agent"
report_status: "published"
title: "@causyne/agent@1.20.120 npm security report"
verdict: "suspicious"
version: "1.20.120"
---

# @causyne/agent@1.20.120 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
**Flagged — allowed with a warning** — Allowed by default policy, but 17 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote code execution
- **Selected version:** 1.20.120
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The earlier review correctly identified a reachable, default self-update, and the architecture documentation inaccurately says none runs. The current rules specifically classify an update to the same package from npm as suspicious when it has an off switch; CAUSYNE\_DISABLE\_AUTOUPDATE provides that switch, so the update does not warrant a block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 95.0%
- **Started:** 2026-11-22T11:21:11.093Z
- **Finished:** 2026-11-22T11:22:59.707Z
- **Download time:** 1030 ms
- **Static scan time:** 11708 ms
- **AI review time:** 95876 ms
- **Total time:** 108614 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:** The CLI automatically checks for and installs newer releases of itself.

- **Trigger:** Running the causyne CLI from an npm-managed installation; the check is enabled by default.

- **Impact:** A newer package release can replace the installed CLI. The explicit self-update off switch makes this a warning under the current self-update rule, not a block.

- **Evidence paths:** bin/causyne.js, src/autoUpdate.js, docs/ARCHITECTURE.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-22T11:22:59.707Z

### AI review details

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

- **Mechanism:** It fetches the latest @causyne/agent version from the npm registry and uses npm to install that version globally with scripts disabled, then restarts.

- **Rationale:** The earlier review correctly identified a reachable, default self-update, and the architecture documentation inaccurately says none runs. The current rules specifically classify an update to the same package from npm as suspicious when it has an off switch; CAUSYNE\_DISABLE\_AUTOUPDATE provides that switch, so the update does not warrant a block.

- **Files touched:** src/autoUpdate.js update-state.json under the configured Causyne home, The npm-managed global @causyne/agent installation

- **Network endpoints:** https://registry.npmjs.org/@causyne%2fagent/latest

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 95.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** The CLI launcher calls startUpdateChecker before importing the main entry point., The updater checks the npm registry for @causyne/agent and validates the returned package name and version., When a newer version is available, npm installs that same package globally with install scripts disabled., The update check runs by default on every launch, but CAUSYNE\_DISABLE\_AUTOUPDATE=1 or true turns it off., The architecture document says no self-updater runs, which conflicts with the launcher and updater source.

- **Evidence against:** The updater is limited to this package from the npm registry and uses npm with --ignore-scripts., The updater has an explicit environment-variable off switch.

## Affected versions and remediation

This report applies to @causyne/agent@1.20.120.

- Review the evidence and your use of @causyne/agent@1.20.120 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/causyne.js
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/bin/causyne.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L28: process.stderr.write(`Causyne Agent updated to ${update.latest}. Restarting...\n`);
L29: const { spawnSync } = await import('node:child_process');
L30: const child = spawnSync(process.execPath, process.argv.slice(1), {
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** src/tools/archive.ts\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/tools/archive.ts%23virtual%3Anormalized%3Around1>)

Package source references shell execution.

Public source snippet (untrusted):

```text
L84: } catch {
L85: // Fall through to python3 or powershell
L86: }
```

### 5. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** src/cortex/provisioner.ts
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/cortex/provisioner.ts>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```typescript
L23: }
L24: const req = createRequire(path.join(CORTEX_DIR, 'package.json'));
L25: const resolved = req.resolve(moduleName);
```

### 7. Medium: Unsafe Vm Context
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** src/tools/executeProceduralMedia.js
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/tools/executeProceduralMedia.js>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```javascript
L2: import path from 'path';
L3: import { exec } from 'child_process';
L4: import util from 'util';
...
L27: const { code, language } = args;
L28: let outputFilePath = args.outputFileName.replace(/^~\//, os.homedir() + '/');
L29: outputFilePath = path.resolve(outputFilePath);
...
L67: if (fs.existsSync(scriptPath)) fs.unlinkSync(scriptPath);
L68: return { success: false, error: `[AUTO-CORRECTION REQUIRED] Python Execution Error: ${pyError.message || pyError.stderr}\nPlease fix the math/syntax and retry.` };
L69: }
```

### 8. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 9. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 10. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 11. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** src/autoUpdate.js
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/autoUpdate.js>)

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

Public source snippet (untrusted):

```javascript
L9: import { fileURLToPath } from 'node:url';
L10: import { spawnSync } from 'node:child_process';
L11: import { UI } from './utils/cli_ui.js';
...
L14: const PACKAGE_NAME = '@causyne/agent';
L15: const REGISTRY_LATEST = 'https://registry.npmjs.org/@causyne%2fagent/latest';
L16: const DEFAULT_CHECK_INTERVAL_MS = 0; // A bare 'causyne' checks the published version on every launch
...
L21: return path.resolve(options.stateFile);
L22: const env = options.env || process.env;
L23: const root = env.CAUSYNE_HOME && String(env.CAUSYNE_HOME).trim()
```

### 12. High: Cloud Metadata Access
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** src/browser/urlPolicy.js
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/browser/urlPolicy.js>)

Source reaches cloud instance metadata or link-local credential endpoints.

Public source snippet (untrusted):

```javascript
L1: import { lookup } from 'node:dns/promises';
L2: import { isIP } from 'node:net';
...
L4: const hostCache = new Map();
L5: function isPrivateIpv4(address) {
L6: const parts = address.split('.').map(Number);
```

### 13. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 14. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 15. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** src/tool-scripts/ax\_snapshot.ps1
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/tool-scripts/ax_snapshot.ps1>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = src/tool-scripts/ax_snapshot.ps1
kind = build_helper
sizeBytes = 477
magicHex = [redacted]
```

### 16. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

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

### 17. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** src/tools/nativeEngine.js
- **Public source:** [View source](<https://unpkg.com/@causyne/agent@1.20.120/src/tools/nativeEngine.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 = @causyne/agent@1.20.118
matchedIdentity = npm:QGNhdXN5bmUvYWdlbnQ:1.20.118
similarity = 0.892
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 3
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 7
- **Published dependency-graph edges:** 3

### Published dependency entries
- @modelcontextprotocol/client ^2.4.0 (Dependency)
- acorn-walk ^8.3.5 (Dependency)
- commander ^11.1.0 (Dependency)

## Package metadata
- **Package:** @causyne/agent
- **Ecosystem:** npm
- **Version:** 1.20.120
- **License:** BUSL-1.1
- **Version published:** 2026-11-19T16:07:20.259Z
- **Package first seen:** 2026-10-19T10:45:26.627Z
- **Package last seen:** 2026-11-22T11:23:09.954Z
- **Known versions:** 79
- **Latest version:** 1.20.122
- **Appeal under review:** No
- **Description:** Agentic AI for software, tools, and computer workflows
- **Maintainers:** ikbal\_fadilah\_vanexa01
- **Keywords:** ai, agent, automation, causyne, cli
- **Runtime engines:** node: \>=24.0.0
- **Artifact files:** 758
- **Artifact unpacked size:** 7,722,945 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@causyne/agent/v/1.20.120>)
- [Repository](<https://github.com/ikbal-causyne/causyne-agent>)
- [Homepage](<https://causyne.com/>)
- [Issues](<https://github.com/ikbal-causyne/causyne-agent/issues>)
