Loading npm security reports…
Loading npm security reports…
@circuitwall/jarela@3.3.2: Persistence – npm package flagged | LPM Firewall
npm / Persistence / @circuitwall/jarela / 3.3.2
@circuitwall/jarela@3.3.2 Jarela — local chat interface for LangGraph agents (multi-provider, single-process, SQLite-backed).
Flagged — allowed with a warning
Allowed by default policy, but 30 findings warrant review before installing.
AI security reviewscanned on Nov 2, 2026, 21:21 UTC · by lpm-firewall-ai The package’s first-run prompt treats Enter as consent to install a persistent login service, so the user must opt out to avoid persistence. The service runs Jarela itself, and the reviewed install hook only prints a global-install hint; no exfiltration or unrelated execution was found.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Starting Jarela interactively for the first time and accepting the autostart prompt; pressing Enter also accepts.
Impact
Jarela’s local server continues running at login until the user uninstalls or disables the service.
Mechanism
The prompt calls the service installer, which writes an OS login service and starts or enables it.
Evidence
scripts/jarela-bin.mjs scripts/first-run-prompt.mjs scripts/service-install.mjs ~/Library/LaunchAgents/com.jarela.app.plist ~/.config/systemd/user/jarela.service %LOCALAPPDATA%/Jarela/service/launcher.vbs
public snapshot
Evidence for warning
The launcher invokes the first-run autostart prompt when starting the app. The prompt treats an empty response as yes and calls the service installer; an explicit no skips installation. The service installer configures login persistence, including macOS RunAtLoad and KeepAlive or Linux systemd enable --now. The postinstall hint is gated to global installs and does not install the service. Evidence against
The autostart is for Jarela’s own local chat service and is offered only in an interactive first-run flow. The manifest’s postinstall hook runs a hint script; the reviewed hook does not set up persistence or send package, host, or project data. No credential exfiltration or unrelated remote code execution was identified in the reviewed package-owned paths. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,361 files · 8.61 MB of source
50 external domains referenced
127.0.0.1 169.254.169.254 a.atlassian.net a.io a0.example.com accounts.google.com acme.atlassian.net acme.jiraalign.com ai.google.dev aistudio.google.com anthropic.com anthropic.proxy.internal api-docs.deepseek.com api.anthropic.com api.atlassian.com api.cohere.com api.deepseek.com api.example.com api.example.test api.firecrawl.dev api.github.com api.githubcopilot.com api.openai.com attacker.example b.io blog.example c.example.com caldav.icloud.com cdn.example.com circuitwall.github.io cnn.com cohere.com console.cloud.google.com developers.openai.com docs.cohere.com docs.example.org docs.github.com docs.langchain.com entra.microsoft.com env.anthropic.example evil.com evil.test example.atlassian.net example.com example.invalid example.org example.test foo.example.com gemini-proxy.example gemini.google Findings1 critical · 14 high · 9 medium · 6 low Source & flagged code22 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Scanner record · 1 line scripts.postinstall = node scripts/postinstall-hint.mjs
High Child process
Package source references child process execution.
app/api/v1/update/apply/route.ts View on unpkg · L19 Code excerpt · 3 lines 19 import { join } from "node:path" ;
20 import { spawn } from "node:child_process" ;
21 import { NextResponse } from "next/server" ;
Code excerpt · 3 lines 194 if (process.platform === "win32" ) {
195 console.error (`[jarela] (admin PowerShell) npm i -g github:${REPO}#main` );
196 } else {
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/update.mjs View on unpkg · L13 Code excerpt · 9 lines 13 import { existsSync, readFileSync } from "node:fs" ;
14 import { spawnSync } from "node:child_process" ;
Medium Dynamic require
Package source references dynamic require/import behavior.
browser-extension/agent-overlay.js View on unpkg · L57 Code excerpt · 3 lines 57 let applyBrand = null ;
58 const brandReady = import (chrome.runtime.getURL ("lib/brand.mjs" ))
59 .then ((m) => {
lib/skills/process-owner-linux.test.ts View file Medium Unsafe vm context
Package source executes code through a VM context API.
lib/skills/process-owner-linux.test.ts View on unpkg · L6 Code excerpt · 9 lines 6 import { runInNewContext } from "node:vm" ;
7 import { spawn } from "node:child_process" ;
8 import { createSkillCgroup } from "./process-owner-cgroup" ;
⋯
16 it ("joins the cgroup before spawning any user code and kills on app IPC loss" , () => {
17 const source = readFileSync (join (process.cwd (), "lib" , "skills" , ), );
lib/embeddings/local-model-assets.mjs View file Low Weak crypto
Package source references weak cryptographic algorithms.
lib/embeddings/local-model-assets.mjs View on unpkg · L36 Code excerpt · 3 lines 36 "Queries use the `query: ` prefix; indexed passages use the `passage: ` prefix." ,
37 `Source: https://huggingface.co/${LOCAL_MODEL_REPOSITORY}` ,
38 "Base model: https://huggingface.co/intfloat/multilingual-e5-small" ,
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
scripts/service-install.mjs View on unpkg · L18 Code excerpt · 12 lines Trigger-reachable persistence chain: manifest.bin -> scripts/jarela-bin.mjs -> scripts/service-install.mjs
18
19 import { spawnSync, execFileSync } from "node:child_process" ;
20 import { existsSync, mkdirSync, writeFileSync, unlinkSync, rmSync, chmodSync } from "node:fs" ;
⋯
45 for (const k of PROXY_ENV_KEYS) {
46 const v = process.env[k];
47 if (v && v.length > 0 ) out[k] = v;
⋯
59 if (env && env.length > 0 ) {
.next/standalone/node_modules/next/dist/compiled/@vercel/nft/index.js View file High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
.next/standalone/node_modules/next/dist/compiled/@vercel/nft/index.js View on unpkg · L1 Code excerpt · 1 line 1 (()=>{var __webpack_modules__={4816 :(e,t,s)=>{"use strict" ;e.exports=t;const r=s (9896 );const o=s (6928 );const a=s (1825 );const c=s (1916 );const u=s (7650 );const d=s ( ).EventEmitter;...
.next/standalone/node_modules/next/dist/compiled/jest-worker/threadChild.js View file Critical Remote response code execution
Source passes code obtained from a remote response into a dynamic execution sink.
.next/standalone/node_modules/next/dist/compiled/jest-worker/threadChild.js View on unpkg · L1 Code excerpt · 1 line 1 (()=>{"use strict" ;var __webpack_modules__={994 :(e,r)=>{Object.defineProperty (r,"__esModule" ,{value:true });r.PARENT_MESSAGE_SETUP_ERROR=r.PARENT_MESSAGE_OK=r.PARENT_MESSAGE_CUSTOM=...
.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 View file Medium Ships native binary
Package ships native binary artifacts.
.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 View on unpkg Scanner record · 4 lines path = .next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7
kind = native_binary
sizeBytes = 18699288
magicHex = [redacted]
.next/standalone/lib/skills/process-owner-windows.ps1 View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
.next/standalone/lib/skills/process-owner-windows.ps1 View on unpkg Scanner record · 4 lines path = .[redacted]-owner-windows.ps1
kind = build_helper
sizeBytes = 15488
magicHex = [redacted]
.next/standalone/.next/server/chunks/5802.js View file High Payload in excluded dir
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
.next/standalone/.next/server/chunks/5802.js View on unpkg Scanner record · 4 lines path = .next/standalone/.next/server/chunks/5802.js
kind = payload_in_excluded_dir
sizeBytes = 4265070
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
.next/standalone/.next/server/chunks/5802.js View on unpkg Scanner record · 4 lines path = .next/standalone/.next/server/chunks/5802.js
kind = oversized_source_file
sizeBytes = 4265070
magicHex = [redacted]
.next/standalone/node_modules/@keyv/serialize/dist/index.js View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
.next/standalone/node_modules/@keyv/serialize/dist/index.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 97
.next/standalone/node_modules/@langchain/core/dist/utils/async_caller.cjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
.next/standalone/node_modules/@langchain/core/dist/utils/async_caller.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.5.1
matchedPath = .next/standalone/node_modules/@langchain/core/dist/utils/async_caller.cjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.5.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
.next/standalone/node_modules/@langchain/core/dist/utils/async_caller.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
.next/standalone/node_modules/@langchain/core/dist/utils/async_caller.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.5.1
matchedPath = .next/standalone/node_modules/@langchain/core/dist/utils/async_caller.js
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.5.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
15 import { join } from "node:path" ;
18 const REPO = "CircuitWall/jarela" ;
19 const REGISTRY_URL = `https://registry.npmjs.org/${PACKAGE_NAME}/latest` ;
20 const GH_COMMIT_URL = `https://api.github.com/repos/${REPO}/commits/main` ;
24 function resolveChannel () {
25 return (process.env.JARELA_UPDATE_CHANNEL ?? "" ).trim ().toLowerCase () === "main" ? "main" : "stable" ;
matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.5.1
matchedPath = .next/standalone/node_modules/@[redacted].node.mjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.5.1
summary = normalized source hash matched finalized malicious source
"process-owner-linux.cjs"
"utf8"
18 const processFixture = Object.assign (new EventEmitter (), { pid: 321 , connected: true , exit: vi.fn (), send: vi.fn () });
57 const broker = Object.assign (new EventEmitter (), {
58 stdout: new PassThrough (), stderr: new PassThrough (), stdin: new PassThrough (),
59 send: vi.fn (), kill: vi.fn (),
60 return env.startsWith ("~" ) ? env.replace (/^~/, homedir ()) : env;
93 if (!existsSync (kc)) continue ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/service-install.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.5.1
matchedPath = scripts/service-install.mjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.5.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
scripts/service-install.mjs View on unpkg · L18 Code excerpt · 11 lines 19 import { spawnSync, execFileSync } from "node:child_process" ;
20 import { existsSync, mkdirSync, writeFileSync, unlinkSync, rmSync, chmodSync } from "node:fs" ;
⋯
45 for (const k of PROXY_ENV_KEYS) {
46 const v = process.env[k];
47 if (v && v.length > 0 ) out[k] = v;
⋯
59 if (env && env.length > 0 ) {
60 return env.startsWith ("~" ) ? env.replace (/^~/, homedir ()) : env;
61 }
⋯
93 if (!existsSync (kc)) continue ;
94 let stdout;
95 try {
4434
260 // https://developer.apple.[redacted]ASLR_classes.html#//apple_ref/doc/uid/TP40000983-CH1g-BBCIAHJF:~:...
261 return input.replaceAll(/[\\"]/g, (original)=>`\\${original}`);\n}\nfunction launchEditor(fileName, line1, column1) {\n if (!_fs.default.existsSync(fileName)) {\