Loading npm security reports…
Loading npm security reports…
@circuitwall/jarela@2.5.0: Credential exfiltration – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 31 findings warrant review before installing.
AI security reviewscanned on Oct 18, 2026, 10:57 UTC · by lpm-firewall-ai The package sends Gmail authorization material to a publisher-selected proxy, including during automatic health checks. The proxy has an apparent token-broker role, but its handling and recipient-specific consent are not established by the inspected source, so warn rather than block.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A user connects Gmail, or the app starts its automatic health probes with a saved Gmail refresh token.
Impact
The proxy receives authorization material that can enable Gmail access. The inspected package source does not show what the proxy does with it.
Mechanism
The bundled-client path selects the Jarela proxy and POSTs OAuth token data to it; the health probe repeats this flow during its checks.
Evidence
lib/integrations/gmail-oauth.ts app/api/v1/integrations/gmail/oauth/callback/route.ts lib/health/probes.ts lib/scheduler/index.ts lib/health/runner.ts
Network endpoints3
jarela-oauth-proxy-134669812881.europe-west1.run.app
oauth2.googleapis.com
gmail.googleapis.com
Decision evidencepublic snapshot Evidence for warning
The app loads a saved Gmail refresh token, falling back to its bundled client when no saved client ID is present. The bundled Google client routes token requests to a fixed Jarela OAuth proxy unless a client secret is supplied. The shared Google auth helper sends the saved refresh token in a POST to the selected token endpoint. The Gmail health probe also refreshes the saved token through that endpoint, and the scheduler starts health probes automatically. The Gmail OAuth callback exchanges the authorization code through the same endpoint; the source describes the proxy as injecting the bundled client secret. Evidence against
The proxy is described as a token broker for the app’s bundled Google client, and users initiate Gmail connection through the OAuth flow. BYO Google credentials with a client secret use Google’s token endpoint directly; the inspected source does not establish how the proxy handles or stores tokens. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,067 files · 6.69 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.cohere.com api.deepseek.com api.example.com 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 cnn.com cohere.com console.cloud.google.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.org example.test foo.example.com gemini-proxy.example gemini.google generativelanguage.googleapis.com github.com gmail.googleapis.com graph.microsoft.com hostname.tail.ts huggingface.co Findings2 critical · 15 high · 8 medium · 6 low Source & flagged code23 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 166 if (process.platform === "win32" ) {
167 console.error (`[jarela] (admin PowerShell) npm i -g github:${REPO}#main` );
168 } 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/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 ) {
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
lib/health/probes.ts View on unpkg · L12 Code excerpt · 12 lines 12 import { resolvePackageAuth } from "@/lib/tools/runtime/auth-registry" ;
13 import { spawnSync } from "node:child_process" ;
14
⋯
23 import { registerDefaultPackages } from "@/lib/tools/packages/default-packages" ;
24 if (process.env.NEXT_PHASE !== "phase-production-build" ) {
25 registerDefaultPackages ();
⋯
106 try {
107 const res = ( , {
.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]
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
scripts/installed-launcher.ps1 View on unpkg Scanner record · 4 lines path = scripts/installed-launcher.ps1
kind = build_helper
sizeBytes = 10118
magicHex = [redacted]
.next/standalone/.next/server/chunks/1427.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/1427.js View on unpkg Scanner record · 4 lines path = .next/standalone/.next/server/chunks/1427.js
kind = payload_in_excluded_dir
sizeBytes = 6089618
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
.next/standalone/.next/server/chunks/1427.js View on unpkg Scanner record · 4 lines path = .next/standalone/.next/server/chunks/1427.js
kind = oversized_source_file
sizeBytes = 6089618
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 = 88
.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.1.0
matchedPath = .next/standalone/node_modules/@langchain/core/dist/utils/async_caller.cjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.1.0
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.1.0
matchedPath = .next/standalone/node_modules/@langchain/core/dist/utils/async_caller.js
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.1.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Known malware source similarity
Code↓
.next/standalone/node_modules/@huggingface/transformers/dist/transformers.node.mjs2 findings
High Eval Code↓ 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" ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/update.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.1.0
matchedPath = scripts/update.mjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.1.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
matchType = normalized_sha256
matchedPackage = @circuitwall/jarela@2.1.0
matchedPath = .next/standalone/node_modules/@[redacted].node.mjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.1.0
summary = normalized source hash matched finalized malicious source
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.1.0
matchedPath = scripts/service-install.mjs
matchedIdentity = npm:QGNpcmN1aXR3YWxsL2phcmVsYQ:2.1.0
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 {
await
fetch
`${auth.url}/rest/api/3/myself`
109 Authorization: "Basic " + Buffer.from (`${auth.email}:${auth.apiToken}` ).toString ("base64" ),
110 Accept: "application/json" ,
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)) {\