---
canonical: "https://firewall.lpm.dev/npm/@framer/agent"
markdown: "https://firewall.lpm.dev/npm/@framer/agent/report.md"
package: "@framer/agent"
report_status: "published"
title: "@framer/agent@0.0.48 npm security report"
verdict: "clean"
version: "0.0.48"
---

# @framer/agent@0.0.48 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** — 14 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:** 0.0.48
- **Selected version is latest:** Yes
- **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 manifest has no install hook, and the flagged subprocess launches the package’s own relay server. The reviewed telemetry is disclosed, opt-out, and sent to Framer; the CLI’s credential flow is for Framer project authentication.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-11-07T03:43:47.388Z
- **Finished:** 2026-11-07T03:45:08.523Z
- **Download time:** 506 ms
- **Static scan time:** 2339 ms
- **AI review time:** 78289 ms
- **Total time:** 81135 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 identified. The reviewed credential flow, local relay subprocess, and disclosed telemetry fit the package’s Framer CLI purpose.

- **Trigger:** User runs a CLI command; telemetry occurs when enabled, which is the default.

- **Impact:** Normal Framer project operations and disclosed, opt-out runtime telemetry.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-07T03:45:08.523Z

### AI review details

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

- **Mechanism:** The CLI authenticates to Framer and saves project credentials; it starts its own local relay server. Telemetry goes to Framer’s events endpoint and can be disabled with the documented command.

- **Rationale:** The manifest has no install hook, and the flagged subprocess launches the package’s own relay server. The reviewed telemetry is disclosed, opt-out, and sent to Framer; the CLI’s credential flow is for Framer project authentication.

- **Network endpoints:** framer.com, events.framer.com, 127.0.0.1

### Review decision

- **Verdict:** Clean

- **Confidence:** 94.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest has no install, preinstall, or postinstall script; its listed scripts are development and build commands., The CLI’s subprocess starts the package’s own relay-server file with Node or tsx., The CLI explains that Framer collects telemetry and gives a command to opt out., Relay telemetry targets Framer’s own events endpoint and includes platform, architecture, OS version, and a random machine ID., The project auth command takes a Framer project API key or resolves Framer session credentials, then saves the project.

## Affected versions and remediation

This report applies to @framer/agent@0.0.48.

- No action is needed for @framer/agent@0.0.48. 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/start-relay-server.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/start-relay-server.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L3: import path5 from 'path';
L4: import { execFileSync } from 'child_process';
L5: import 'net';
```

### 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/start-relay-server.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/start-relay-server.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L544: var EXECUTION_TIMEOUT = 10 * 60 * 1e3;
L545: var baseRequire = createRequire(import.meta.url);
L546: var ALLOWED_MODULES = /* @__PURE__ */ new Set([
```

### 5. Medium: Unsafe Vm Context (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** dist/start-relay-server.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/start-relay-server.js>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```javascript
L3: import path5 from 'path';
L4: import { execFileSync } from 'child_process';
L5: import 'net';
...
L8: import crypto, { randomUUID, timingSafeEqual } from 'crypto';
L9: import http from 'http';
L10: import { createHTTPHandler } from '@trpc/server/adapters/standalone';
...
L62: 
L63: // package.json
L64: var name = "@framer/agent";
...
L81: function getLogPath() {
L82: if (process.env.XDG_STATE_HOME) {
L83: return path5.join(process.env.XDG_STATE_HOME, "framer", "relay.log");
```

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

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

### 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: Credential Redirect Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/cli.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/cli.js:
fs8.writeFileSync(
fs8.writeFileSync(getSettingsPath(), JSON.stringify(settings2, null, "	"), {
"user.denied": "Authorization denied by user.",
"api_key.access_denied": "You don\u2019t have permission to create API keys for this project.",
unknown: "Authorization failed."
title: "Framer \u2014 Authorization failed",
heading: "Authorization failed",
const heading = code === "user.denied" ? "Authorization denied" : "Authorization failed";
```

### 10. 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/cli.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/cli.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/cli.js spawns dist/start-relay-server.js; helper contains network access plus dynamic code execution.
L5: import crypto, { randomUUID } from 'crypto';
L6: import http from 'http';
L7: import { spawn, execFile, execFileSync } from 'child_process';
L8: import { z } from 'zod';
...
L19: 
L20: // package.json
L21: var name = "@framer/agent";
...
L69: __name(normalizeAgentThreadContext, "normalizeAgentThreadContext");
L70: function resolveAgentThreadContext(env = process.env) {
L71: for (const { provider, envVar } of threadIdEnvVars) {
...
L88: function getOpenUrlCommand(url) {
L89: const platform = process.platform;
```

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

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

### 13. Low: No License (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 14. 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/start-relay-server.js
- **Public source:** [View source](<https://unpkg.com/@framer/agent@0.0.48/dist/start-relay-server.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 = @framer/agent@0.0.47
matchedIdentity = npm:QGZyYW1lci9hZ2VudA:0.0.47
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- @trpc/client ^11.17.0 (Dependency)
- @trpc/server ^11.17.0 (Dependency)
- commander ^12.1.0 (Dependency)
- framer-api ^5.0.0 (Dependency)
- is-wsl ^3.1.1 (Dependency)
- zod ^4.4.3 (Dependency)

## Package metadata
- **Package:** @framer/agent
- **Ecosystem:** npm
- **Version:** 0.0.48
- **Version published:** 2026-11-04T21:12:57.366Z
- **Package first seen:** 2026-08-05T19:55:39.930Z
- **Package last seen:** 2026-11-14T18:40:26.093Z
- **Known versions:** 8
- **Latest version:** 0.0.48
- **Appeal under review:** No
- **Description:** CLI and skills for connecting your AI agents to Framer.
- **Maintainers:** koenrh, framerjs-owner, tom-james-watson, elmarburke, hunterhcaron, lempsink, djovanni-framer
- **Runtime engines:** node: \>=22
- **Artifact files:** 12
- **Artifact unpacked size:** 983,064 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@framer/agent>)
