Loading npm security reports…
Loading npm security reports…
loki-mode@11.95.0: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
38 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 31, 2026, 09:35 UTC · by lpm-firewall-ai The install hook is limited to Loki setup tasks. Runtime telemetry is enabled by default for interactive individual users, but the package discloses it, provides opt-out controls, and filters event properties through an allowlist.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Package installation runs the postinstall hook; interactive CLI use may send telemetry.
Impact
The reviewed behavior does not show credential collection, unrelated data exfiltration, or unauthorized account actions.
Mechanism
The hook invokes skill-link repair and completion setup. Telemetry sends filtered diagnostic events to PostHog and can be disabled.
Evidence
${HOME}/.loki/.telemetry-disclosed ${HOME}/.loki-telemetry-id
public snapshot
Evidence for AI clean decision
The postinstall hook runs the package’s skill-link repair and shell-completion setup. Runtime telemetry is disclosed, reports limited diagnostic data, and has documented opt-out controls. Telemetry events and properties are filtered through an allowlist schema before sending. Evidence against
Anonymous runtime telemetry is enabled by default for interactive individual installs. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 225 files · 11.4 MB of source
45 external domains referenced
127.0.0.1 adaptivecards.io api.anthropic.com api.github.com api.honeycomb.io api.linear.app api.npmjs.org app.netlify.com autonomi.dev beacon.claude-ai.staging.ant.dev bun.sh cdn.jsdelivr.net claude-staging.fedstart.com claude.ai claude.com claude.fedstart.com cli.github.com code.claude.com deno.land discord.gg docs.anthropic.com docs.expo.dev github.com hooks.example.com hooks.slack.com img.shields.io in-toto.io json-schema.org json.schemastore.org mcp-proxy.anthropic.com my-app.vercel.app nodejs.org npm.example.com openrouter.ai platform.claude.com raw.githubusercontent.com react.dev reactrouter.com registry.npmjs.org reviews.example.com slack.com twitter.com vercel.com www.autonomi.dev www.w3.org Findings2 critical · 23 high · 7 medium · 6 low Source & flagged code30 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node bin/loki-postinstall.js || exit 0
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
loki-ts/dist/loki.js View on unpkg · L1 Code excerpt · 5 lines Source sends the broad process environment to a literal external destination.
1 // @bun
2 var H68=Object.create;var {getPrototypeOf:q68,defineProperty:aH,getOwnPropertyNames:l70,getOwnPropertyDescriptor:U68}=Object,i70=Object.prototype.hasOwnProperty;function a70 ($){retu...
3 `),!0}catch{return!1}}function d68($){let Z=$.replace(/\\/g,"/");if(Z.includes("/Cellar/"))return"brew upgrade loki-mode";if(/\/pnpm\//.test(Z)||Z.includes("/.pnpm/"))return"pnpm a...
⋯
6 `);return}let Y=await f68(Z.now,Z.fetcher,Z.cacheFile);if(Y===null)return;if(!oH(Y,$))return;J(` A newer Loki Mode is available: ${Y} (you have ${$}). Update: ${d68 (Z.installPath??p...
7 `)}catch{}}var D68="https://registry.npmjs.org/loki-mode/latest",_68=86400000,x68=1500,k68=900000;var xy=D(()=>{X8()});import{mkdtempSync
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
loki-ts/dist/loki.js View on unpkg · L1 High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
loki-ts/dist/loki.js View on unpkg · L1 High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
loki-ts/dist/loki.js View on unpkg · L1 High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
loki-ts/dist/loki.js View on unpkg · L1 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
loki-ts/dist/loki.js View on unpkg · L1 Shared code excerpt · 5 findings · 6 lines High Child processCleared
Package source references child process execution.
loki-ts/dist/loki.js View on unpkg · L6 Code excerpt · 3 lines 6 `);return}let Y=await f68(Z.now,Z.fetcher,Z.cacheFile);if(Y===null)return;if(!oH(Y,$))return;J(` A newer Loki Mode is available: ${Y} (you have ${$}). Update: ${d68 (Z.installPath??p...
7 `)}catch{}}var D68="https://registry.npmjs.org/loki-mode/latest",_68=86400000,x68=1500,k68=900000;var xy=D(()=>{X8()});import{mkdtempSync as i68,rmSync as a68,statSync as n68,lstat...
8 `)[0];if(U58.has(X[Q])&&W)Y.push(W)}return[...new Set(Y)]}function A58($){let Z=$??String(rH("git",["--version"],{encoding:"utf8",env:G1()}).stdout??""),J=/(\d+)\.(\d+)/.exec(Z);re...
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
loki-ts/dist/loki.js View on unpkg · L6 Code excerpt · 5 lines 6 `);return}let Y=await f68(Z.now,Z.fetcher,Z.cacheFile);if(Y===null)return;if(!oH(Y,$))return;J(` A newer Loki Mode is available: ${Y} (you have ${$}). Update: ${d68 (Z.installPath??p...
7 `)}catch{}}var D68="https://registry.npmjs.org/loki-mode/latest",_68=86400000,x68=1500,k68=900000;var xy=D(()=>{X8()});import{mkdtempSync as i68,rmSync as a68,statSync as n68,lstat...
8 `)[0];if(U58.has(X[Q])&&W)Y.push(W)}return[...new Set(Y)]}function A58($){let Z=$??String(rH("git",["--version"],{encoding:"utf8",env:G1()}).stdout??""),J=/(\d+)\.(\d+)/.exec(Z);re...
⋯
171 ${" " .repeat (12 )}`)||null}function D28($){let Z=[],J=new Map,X=new Set;for(let H of $){if(H.type!=="cost")continue;let q=H.stage||dA;if(!J.has(q))Z.push(q),J.set(q,0);if(mA(H.data....
172 ${J.stderr??"" }`);if(W){if(X.input_t
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
loki-ts/dist/loki.js View on unpkg · L57 Code excerpt · 3 lines 57 `);{let X=N6(Z,A48);if(X)process.stderr.write(` Did you mean '${X}' ?
58 `)}return g20(),2}}async function m20($){let{run:Z}=await Promise.resolve().then(() => (S9(),S20)),{resolve:J}=await import("path"),{REPO_ROOT:X}=await Promise.resolve().then(() =>...
59 `),cwd:ty(),timeout:R48,encoding:"utf8",env:{PATH:process.env.PATH??"/usr/bin:/bin"},maxBuffer:8388608,stdio:["pipe","pipe","ignore"]});if(J.error||J.status!==0)return[];let X=JSON...
packages/control-plane/dist/server.js View file High EvalCleared
Package source references dynamic code evaluation.
packages/control-plane/dist/server.js View on unpkg · L73412 Code excerpt · 3 lines 73412 try {
73413 return new Function ("" ), true ;
73414 } catch (e) {
High External AI agent control surface mutationCleared
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
autonomy/api-server.js View on unpkg Scanner record · 23 lines Runtime or CLI code links a write operation to an explicit external AI-agent control path:
port <= 65535;
}
function parseargs() {
const args = process.argv.slice(2);
let port = null;
for (let i = 0; i < args.length; i++) {
if (args[i] === '--port' || args[i] === '-p') {
if (i + 1 < args.length) {
const val = parseint(args[i + 1], 10);
if (isvalidport(val)) {
port = val;
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
api/test.js View on unpkg · L9 Code excerpt · 12 lines Cross-file remote execution chain: api/test.js spawns packages/control-plane/dist/server.js; helper contains network access plus dynamic code execution.
9 * node api/test.js
10 * npm test (if configured in package.json)
11 *
⋯
27
28 const http = require ('http' );
29 const { spawn, execSync } = require ('child_process' );
30 const path = require ('path' );
⋯
Medium Ships WASM moduleCleared
Package ships WebAssembly modules.
loki-ts/data/resvg.wasm View on unpkg Scanner record · 4 lines path = loki-ts/data/resvg.wasm
kind = wasm_module
sizeBytes = 2478606
magicHex = [redacted]
Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
web-app/auth.py View on unpkg Scanner record · 4 lines path = web-app/auth.py
kind = build_helper
sizeBytes = 10450
magicHex = [redacted]
High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
memory/tests/test_namespace.py View on unpkg Scanner record · 4 lines path = memory/tests/test_namespace.py
kind = payload_in_excluded_dir
sizeBytes = 18946
magicHex = [redacted]
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
bin/loki View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 5
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
api/server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = api/server.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
autonomy/verify.sh View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = autonomy/verify.sh
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/protocols/mcp-client.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = src/protocols/mcp-client.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/protocols/mcp-server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = src/protocols/mcp-server.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
tests/detect-mock-problems.sh View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = tests/detect-mock-problems.sh
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
autonomy/playwright-verify.sh View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = autonomy/playwright-verify.sh
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
autonomy/hooks/validate-bash.sh View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = autonomy/hooks/validate-bash.sh
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/loki-mode.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = bin/loki-mode.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
packages/control-plane/src/ask/worker.ts View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
packages/control-plane/src/ask/worker.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = packages/control-plane/src/ask/worker.ts
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Dynamic require
Code↓ Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
// @bun
2 var H68=Object.create;var {getPrototypeOf:q68,defineProperty:aH,getOwnPropertyNames:l70,getOwnPropertyDescriptor:U68}=Object,i70=Object.prototype.hasOwnProperty;function a70 ($){retu...
3 `),!0}catch{return!1}}function d68($){let Z=$.replace(/\\/g,"/");if(Z.includes("/Cellar/"))return"brew upgrade loki-mode";if(/\/pnpm\//.test(Z)||Z.includes("/.pnpm/"))return"pnpm a...
6 `);return}let Y=await f68(Z.now,Z.fetcher,Z.cacheFile);if(Y===null)return;if(!oH(Y,$))return;J(` A newer Loki Mode is available: ${Y} (you have ${$}). Update: ${d68 (Z.installPath??p...
7 `)}catch{}}var D68="https://registry.npmjs.org/loki-mode/latest",_68=86400000,x68=1500,k68=900000;var xy=D(()=>{X8()});import{mkdtempSync as i68,rmSync as a68,statSync as n68,lstat...
8 `)[0];if(U58.has(X[Q])&&W)Y.
}
} else if (args[i].startswith('--port=')) {
const val = parseint(args[i].split('=')[1], 10);
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
autonomy/api-server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = autonomy/api-server.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
39
const BASE_URL = `http://${HOST}:${PORT}` ;
40 const SERVER_PATH = path.join (__dirname, 'server.js' );
41 const TEST_DIR = path.join (__dirname, '..' , 'test-project' );
87 const json = data ? JSON.parse (data) : {};
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
api/test.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = loki-mode@11.91.0
matchedPath = api/test.js
matchedIdentity = npm:bG9raS1tb2Rl:11.91.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source