Loading npm security reports…
Loading npm security reports…
@litfamily/litcodex@1.0.9: Install hook abuse – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 21 findings warrant review before installing.
AI security reviewscanned on Sep 29, 2026, 00:54 UTC · by lpm-firewall-ai The package has a concrete automatic install-time network and dependency-install behavior, so it warrants a warning. The inspected implementation constrains the scope and includes pinned assets and disabled dependency scripts, but it still runs without an explicit runtime-install command.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A non-CI global npm installation invokes the post-install hook.
Impact
This creates an unprompted install-time network and local-cache modification surface, but no confirmed credential theft, remote code execution, or agent-control hijack was found.
Mechanism
The hook spawns the motion-runtime installer, which runs npm installation with scripts disabled and fetches hash-checked assets.
Evidence
package.json dist/postinstall.js marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/fonts.mjs
raw.githubusercontent.com /quiple/galmuri/v2.40.4/dist/Galmuri9.ttf
raw.githubusercontent.com /romkatv/powerlevel10k-media/145eb9fbc2f42ee408dacd9b22d8e6e0e553f83d/MesloLGS%20NF%20Regular.ttf
Decision evidencepublic snapshot Evidence for warning
The package declares a post-install lifecycle hook. That hook is limited to non-CI global installs, but automatically starts the motion-runtime installer. The installer runs a pinned npm dependency installation and downloads cached font assets during that lifecycle path. The font URLs are fixed and paired with SHA-256 values, reducing but not eliminating install-time network and supply-chain risk. The inspected Codex plugin probe only lists installed plugins and is read-only. Evidence against
No credential collection, secret forwarding, destructive action, or broad agent-configuration write was found in the inspected lifecycle path. The automatic dependency installation disables dependency lifecycle scripts. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 309 files · 2.05 MB of source
11 external domains referenced
127.0.0.1 api.typesafe.ai biomejs.dev clangd.llvm.org doi.org github.com lit.stage raw.githubusercontent.com registry.npmjs.org www.apache.org www.w3.org Findings2 critical · 6 high · 7 medium · 6 low Source & flagged code13 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
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 dist/postinstall.js
marketplace/plugins/litcodex/components/auto-update/dist/auto-update.js View file High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
marketplace/plugins/litcodex/components/auto-update/dist/auto-update.js View on unpkg · L1 Code excerpt · 12 lines 1 import { spawnSync } from "node:child_process" ;
2 import { randomUUID } from "node:crypto" ;
⋯
11 export const AUTO_UPDATE_SCHEMA_VERSION = 1 ;
12 export const OFFICIAL_NPM_REGISTRY = "https://registry.npmjs.org/" ;
13 export function resolveNpmCommand (platform = process.platform) {
marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs View file Critical Encoded package runner execution
Source decodes numeric character arrays into a child-process package-runner command and executes it.
marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs View on unpkg · L4 Code excerpt · 12 lines 4 // (MO-A-42/43). This module also carries the five doctor/status probes (MO-A-44/55).
5 import { spawnSync } from "node:child_process" ;
6 import { createHash } from "node:crypto" ;
⋯
18
19 export function cacheRoot (env = process.env) {
20 return join (env.XDG_CACHE_HOME || (env.HOME || (), ), , );
dist/install/install-presentation.js View file Critical AI agent control hijack
Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
dist/install/install-presentation.js View on unpkg · L6 Code excerpt · 13 lines Install-time code directly mutates a foreign AI-agent control surface:
67 : `${opts.subagentModel} · ${opts.subagentEffort ?? "max"} (selected helper route)` ),
68 row ("Marketplace" , `${result.codexHome}/marketplaces/litcodex` ),
69 row ("Subagents" , agents),
Write operation from [redacted]-typographic-motion/engine/runtime.mjs:
6 import { createHash } from "node:crypto" ;
7 import { closeSync, copyFileSync, existsSync, mkdirSync, mkdtempSync, openSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from ;
marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx View file High Ships high entropy blob
Package ships high-entropy non-source blobs.
marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx View on unpkg Scanner record · 4 lines path = [redacted]-docx/templates/docx/korean-generic.docx
kind = high_entropy_blob
sizeBytes = 37588
magicHex = [redacted]
Medium Ships compressed blob
Package ships compressed or archive-like blobs.
marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx View on unpkg Scanner record · 4 lines path = [redacted]-docx/templates/docx/korean-generic.docx
kind = compressed_blob
sizeBytes = 37588
marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/page-probe.mjs#virtual:string-array:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/page-probe.mjs#virtual:string-array:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 9
↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
14 return platform === "win32" ? "npm.cmd" : "npm" ;
17 const platform = options.platform ?? process.platform;
18 const npmExecPath = Object.hasOwn (options, "npmExecPath" ) ? options.npmExecPath : process.env["npm_execpath" ];
19 const nodePath = options.nodePath ?? process.execPath;
81 const dataRoot = env["LITCODEX_DATA_ROOT" ]?.trim () || join (homedir (), ".litcodex" );
82 return join (dataRoot, "auto-update" );
join
homedir
".cache"
"litcodex"
"motion-runtime"
24 export function cacheDir (env = process.env) {
25 const id = sha256 (Buffer.concat ([readFileSync (join (RUNTIME_SOURCES, "package-lock.json" )), Buffer.from (JSON.stringify (FETCHED))])).slice (0 , 16 );
26 return join (cacheRoot (env), id);
52 const requirementsDigest = () => sha256 (readFileSync (AUDIO_REQUIREMENTS));
53 export const venvPython = (dir) => join (dir, "audio-venv" , process.platform === "win32" ? "Scripts/pyt
High Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @litfamily/litcodex@1.0.7
matchedIdentity = npm:QGxpdGZhbWlseS9saXRjb2RleA:1.0.7
similarity = 0.942
summary = stored previous version shares package body but lacks this dangerous source file
"node:fs"
8 import { homedir, tmpdir } from "node:os" ;
100 function withLock (root, action) {
101 mkdirSync (root, { recursive: true });
102 const lock = join (root, ".install.lock" );
138 await withLock (cacheRoot (env), async () => {
Low Nested archive needs inspection
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx View on unpkg Scanner record · 4 lines path = [redacted]-docx/templates/docx/korean-generic.docx
kind = nested_archive_needs_inspection
sizeBytes = 37588
magicHex = [redacted]