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

# evolcore@0.0.32 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 as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 0.0.32
- **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 postinstall path does not install the Codex hook: on Windows it only prints setup guidance, while runtime setup is limited to missing hooks for configured Codex agents and uses Windows elevation. The package also has opt-in login autostart; the remaining concern is its guarded machine-wide Codex integration, so a warning is appropriate.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 87.0%
- **Started:** 2026-10-13T14:30:13.329Z
- **Finished:** 2026-10-13T14:33:10.191Z
- **Download time:** 775 ms
- **Static scan time:** 11413 ms
- **AI review time:** 164672 ms
- **Total time:** 176862 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:** On Windows, starting or restarting EvolCore can install a machine-wide Codex managed hook when an enabled agent uses Codex and the hook is missing. Installation requires elevation, and the hook applies EvolCore policy to sessions carrying an EvolCore token; no unconsented attack was established.

- **Trigger:** Run \`ec start\` or \`ec restart\` on Windows with an enabled Codex agent and a missing managed hook.

- **Impact:** The hook adds a system-wide Codex integration that enforces EvolCore policy for its managed sessions. This is a guarded extension capability, not confirmed malicious behavior.

- **Evidence paths:** package.json, bin/install-codex-managed-hooks.mjs, dist/cli/daemon-commands.js, dist/agents/codex/diagnostics.js, bin/codex-managed-hook.mjs, dist/cli/init.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-13T14:33:10.191Z

### AI review details

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

- **Mechanism:** The installer updates Codex managed-hook settings and registers an EvolCore pre-tool hook; the installer is launched with Windows elevation.

- **Rationale:** The postinstall path does not install the Codex hook: on Windows it only prints setup guidance, while runtime setup is limited to missing hooks for configured Codex agents and uses Windows elevation. The package also has opt-in login autostart; the remaining concern is its guarded machine-wide Codex integration, so a warning is appropriate.

- **Files touched:** bin/install-codex-managed-hooks.mjs, dist/agents/codex/diagnostics.js, bin/codex-managed-hook.mjs

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 87.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json runs the hook installer on postinstall; that path only prepares a Linux mountpoint or prints a Windows notice, then returns., On Windows, \`ec start\` or \`ec restart\` checks for a managed Codex hook only when an enabled agent uses Codex; a missing hook triggers elevation., The installer adds a wildcard Codex pre-tool hook and updates managed-hook settings in Codex requirements., The hook contacts EvolCore only when a session token is present; unmanaged Codex calls return without contacting the daemon., The flagged macOS login persistence requires an explicit \`ec init\` choice or option.

## Affected versions and remediation

This report applies to evolcore@0.0.32.

- Review the evidence and your use of evolcore@0.0.32 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node bin/install-codex-managed-hooks.mjs
```

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

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

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

Package declares npm scripts.

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/install-codex-managed-hooks.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/bin/install-codex-managed-hooks.mjs%23virtual%3Anormalized%3Around1>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```text
L185: try {
L186: await import(pathToFileURL(path.join(packageRoot, "bin", "codex-managed-hook.mjs")).href);
L187: } catch (error) {
```

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/core/message/response-depth.js
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/dist/core/message/response-depth.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: import crypto from 'crypto';
L2: export function computeTopicHash(content) {
```

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

Package source references network APIs.

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

Package source references environment variables.

### 8. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/utils/macos-autostart.js
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/dist/utils/macos-autostart.js>)

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

Public source snippet (untrusted):

```javascript
L3: import path from 'path';
L4: import { spawnSync } from 'child_process';
L5: import { getPackageRoot } from '../paths.js';
...
L7: function isMacos() {
L8: return process.platform === 'darwin';
L9: }
L10: function plistPath() {
L11: return path.join(os.homedir(), 'Library', 'LaunchAgents', `${MACOS_AUTOSTART_LABEL}.plist`);
L12: }
L13: function launchctl(args) {
L14: return spawnSync('/bin/launchctl', args, {
...
L19: function commandError(result, fallback) {
```

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

Package source references filesystem APIs.

### 10. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** bin/install-codex-managed-hooks.mjs
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/bin/install-codex-managed-hooks.mjs>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```javascript
Install-time AI-agent control hijack evidence:
L56: try {
L57: fs.mkdirSync(directory, { mode: 0o755 });
L58: fs.chmodSync(directory, 0o755);
...
L467: acl('preflight');
L468: fs.mkdirSync(configDirectory, { recursive: true });
L469: const lockPath = path.join(configDirectory, '.evolcore-hooks.install.lock');
...
L476: try {
L477: fs.writeFileSync(lock, JSON.stringify({ pid: process.pid, started: new Date().toISOString() }));
L478: const existing = existingFile(requirements, fs);
...
L487: } else {
L488: fs.mkdirSync(directory, { recursive: true, mode: 0o700 });
L489: acl('prepare', { path: directory, directory: true });
Payload evidence from kits/skills/.switches.json:
L1: {
L2: "ec-skill": { "enabled": true, "locked": true }
```

### 11. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/utils/macos-autostart.js
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/dist/utils/macos-autostart.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: scripts.start -> dist/index.js -> dist/cli/agent-create.js -> dist/cli/init-channel.js -> dist/cli/init.js -> dist/utils/autostart.js -> dist/utils/macos-autostart.js
L3: import path from 'path';
L4: import { spawnSync } from 'child_process';
L5: import { getPackageRoot } from '../paths.js';
...
L7: function isMacos() {
L8: return process.platform === 'darwin';
L9: }
L10: function plistPath() {
L11: return path.join(os.homedir(), 'Library', 'LaunchAgents', `${MACOS_AUTOSTART_LABEL}.plist`);
L12: }
L13: function launchctl(args) {
L14: return spawnSync('/bin/launchctl', args, {
...
L19: function commandError(result, fallback) {
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 14. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** bin/codex-managed-acl.ps1
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/bin/codex-managed-acl.ps1>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = bin/codex-managed-acl.ps1
kind = build_helper
sizeBytes = 10370
magicHex = [redacted]
```

### 15. 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.

### 16. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** bin/install-codex-managed-hooks.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/bin/install-codex-managed-hooks.mjs%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 6
```

### 17. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/agents/gemini-runner.js
- **Public source:** [View source](<https://unpkg.com/evolcore@0.0.32/dist/agents/gemini-runner.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 = evolcore@0.0.31
matchedIdentity = npm:ZXZvbGNvcmU:0.0.31
similarity = 0.833
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepublishOnly
- **Dependencies:** 17
- **Optional dependencies:** 5
- **Peer dependencies:** 0
- **Development dependencies:** 8
- **Published dependency-graph edges:** 22

### Published dependency entries
- @agentunion/fastaun 0.5.18 (Dependency)
- @anthropic-ai/claude-agent-sdk 0.3.280 (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- ajv ^8.20.0 (Dependency)
- chokidar ^5.0.0 (Dependency)
- cron-parser ^5.5.0 (Dependency)
- dotenv ^17.4.2 (Dependency)
- ignore 7.0.5 (Dependency)
- image-type ^6.0.0 (Dependency)
- partial-json 0.1.7 (Dependency)
- qrcode-terminal ^0.12.0 (Dependency)
- sharp 0.35.5 (Dependency)
- smol-toml 1.8.0 (Dependency)
- typebox 1.1.38 (Dependency)
- ws ^8.21.0 (Dependency)
- yaml 2.9.0 (Dependency)
- zod ^4.0.0 (Dependency)
- @larksuiteoapi/node-sdk ^1.59.0 (OptionalDependency)
- @wecom/aibot-node-sdk ^1.0.7 (OptionalDependency)
- dingtalk-stream ^2.1.6-beta.1 (OptionalDependency)
- form-data ^4.0.5 (OptionalDependency)
- pure-qqbot ^2.0.0 (OptionalDependency)

## Package metadata
- **Package:** evolcore
- **Ecosystem:** npm
- **Version:** 0.0.32
- **License:** ISC
- **Version published:** 2026-10-13T14:19:12.001Z
- **Package first seen:** 2026-07-24T22:04:04.043Z
- **Package last seen:** 2026-11-22T04:51:30.838Z
- **Known versions:** 36
- **Latest version:** 0.0.51
- **Appeal under review:** No
- **Description:** AI Agent gateway connecting Claude, Codex, Gemini, and the bundled ecagent runner to messaging channels with multi-project session management
- **Maintainers:** eleans
- **Runtime engines:** node: \>=22.16.0
- **Artifact files:** 634
- **Artifact unpacked size:** 9,410,030 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/evolcore/v/0.0.32>)
