Loading npm security reports…
Loading npm security reports…
@agentprojectcontext/apx@1.125.0: Agent extension lifecycle risk | LPM Firewall
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Oct 13, 2026, 23:31 UTC · by lpm-firewall-ai The postinstall hook automatically modifies global coding-agent skill directories, a concrete first-party agent-extension lifecycle capability. The inspected behavior supports a warning, while the source does not establish a separate malicious attack chain.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Package installation or update invokes the postinstall hook.
Impact
Installed skills can affect how supported coding agents interact with APX in later sessions.
Mechanism
Postinstall refreshes the APX context skill and copies bundled skills into global skill directories, updating changed files and pruning retired APX skills.
Evidence
package.json src/interfaces/cli/postinstall.js src/core/apc/scaffold.js src/core/apc/skill-sync.js ~/.claude/skills/ ~/.cursor/skills/ ~/.codex/skills/ ~/.agents/skills/
Network endpoints1
/agentprojectcontext/agentprojectcontext/main/skills/apc-context/SKILL.md
raw.githubusercontent.com
Decision evidencepublic snapshot Evidence for warning
The manifest’s postinstall hook runs the CLI postinstall file. Postinstall calls the global skill installer without an affirmative-consent check; the skip variable only skips the skill refresh. The installer targets global skill directories for Claude Code, Cursor, Codex, and `.agents`. It copies bundled skills into those directories, overwriting changed copies, and can remove retired APX skills. The installed `apx` skill is an APX-owned guide for using the APX CLI and daemon. Project-scoped IDE skill installation is documented as part of `apx init` or `apx skills add`; foreign IDE MCP configuration files are read-only. Evidence against
The observed lifecycle behavior installs APX-owned skills; the inspected source does not establish unrelated agent configuration changes or credential disclosure. Project-scoped skill installation is tied to explicit CLI commands, and APX describes foreign IDE MCP files as read-only. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,211 files · 10.6 MB of source
50 external domains referenced
127.0.0.1 192.168.1.50 accounts.google.com agentprojectcontext.com agentprojectcontext.github.io api.anthropic.com api.cerebras.ai api.elevenlabs.io api.example.com api.github.com api.groq.com api.openai.com api.search.brave.com api.telegram.org app.asana.com auth.openai.com base-ui.com box.lan bun.sh cdn.discordapp.com cdn.tailwindcss.com chatgpt.com claude.ai console.anthropic.com console.cloud.google.com discord.com discord.gg example.com generativelanguage.googleapis.com github.com html.duckduckgo.com maquina.lan mcp.example.com nominatim.openstreetmap.org oauth2.googleapis.com opencode.ai opencode.internal openrouter.ai platform.claude.com raw.githubusercontent.com react.dev reactrouter.com registry.npmjs.org router.project-osrm.org routing.openstreetmap.de t.me tailscale.com unpkg.com valhalla1.openstreetmap.de wttr.in Findings22 high · 8 medium · 8 low Source & flagged code29 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 src/interfaces/cli/postinstall.js
High Child process
Package source references child process execution.
src/core/artifacts/tunnel.js View on unpkg · L12 Code excerpt · 3 lines 12 // on daemon exit.
13 import { spawn, spawnSync } from "node:child_process" ;
14 import { randomUUID } from "node:crypto" ;
High Runtime package install
Package source invokes a package manager install command at runtime.
src/core/artifacts/tunnel.js View on unpkg · L6 Code excerpt · 6 lines 6 // (no account needed; prints an https://*.trycloudflare.com URL)
7 // - localtunnel → `npx -y localtunnel --port PORT`
8 // (prints https://*.loca.lt; fallback when cloudflared absent)
⋯
12 // on daemon exit.
13 import { spawn, spawnSync } from "node:child_process" ;
14 import { randomUUID } from "node:crypto" ;
Code excerpt · 3 lines 45 try {
46 const found = execFileSync ("command" , ["-v" , "tailscale" ], { shell: true , encoding: "utf8" }).trim ();
47 if (found) return (cachedBinary = found);
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/net/tailscale.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
src/core/voice/transcription.js#virtual:normalized:round1 View file Medium Dynamic require
Package source references dynamic require/import behavior.
src/core/voice/transcription.js#virtual:normalized:round1 View on unpkg · L52 Code excerpt · 3 lines 52 * else faster-whisper cpu.
53 * Safety net: if the chosen mlx model isn"t downloaded yet, fall back to\n * faster-whisper so a live voice turn never stalls on a multi-GB download —\n * the model-manager UI hand...
54 }
Low Weak crypto
Package source references weak cryptographic algorithms.
src/core/mcp/catalog.js View on unpkg · L1 Code excerpt · 2 lines 1 // What each MCP server offers, remembered from the last time its tools were
2 // listed. The agent cannot use a server it does not know exists, and starting
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/core/desktop/autostart.js View on unpkg · L7 Code excerpt · 12 lines Trigger-reachable persistence chain: scripts.start -> src/host/daemon/index.js -> src/host/daemon/api.js -> src/host/daemon/api/desktop.js -> src/core/desktop/autostart.js
7 //
8 // macOS → ~/Library/LaunchAgents/dev.apx.desktop.plist + launchctl load -w
9 // win32 → HKCU\Software\Microsoft\Windows\CurrentVersion\Run\APXDesktop
⋯
19 import { DESKTOP_AUTOSTART_LOG_PATH } from "#core/config/paths.js" ;
20 import { execFileSync } from "node:child_process" ;
21 import { fileURLToPath } from "node:url" ;
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/interfaces/cli/http.js View on unpkg · L7 Code excerpt · 9 lines 7 import fs from "node:fs" ;
8 import nodeHttp from "node:http" ;
9 import os from "node:os" ;
⋯
11 import { TOKEN_PATH, LOG_PATH, PID_PATH, APX_HOME } from "#core/config/paths.js" ;
12 import { spawn } from "node:child_process" ;
13 import { fileURLToPath } from "node:url" ;
src/interfaces/cli/http.js#virtual:normalized:round1 View file High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
src/interfaces/cli/http.js#virtual:normalized:round1 View on unpkg · L52 High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
src/interfaces/cli/http.js#virtual:normalized:round1 View on unpkg · L52 Shared code excerpt · 2 findings · 6 lines 52 const FORBIDDEN_CODES = new Set(["EPERM", "EACCES", "EROFS"]);
53 const SANDBOX_DOCS = "https://agentprojectcontext.github.[redacted]/#using-apx-from-a-sandboxed-coding-cli";
54
⋯
62
63 /** The pid in the daemon"s pid file, when that process is alive; else null. */\nfunction liveDaemonPid() {\n try {\n const pid = parseInt(fs.readFileSync(PID_PATH, \"utf8\"), ...
64 //
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
src/host/daemon/pty-bridge.py View on unpkg Scanner record · 4 lines path = src/host/daemon/pty-bridge.py
kind = build_helper
sizeBytes = 3335
magicHex = [redacted]
Medium Ships compressed blob
Package ships compressed or archive-like blobs.
src/interfaces/web/dist/sw.js.gz View on unpkg Scanner record · 4 lines path = src/interfaces/web/dist/sw.js.gz
kind = compressed_blob
sizeBytes = 1818
magicHex = [redacted]
src/interfaces/web/dist/modules/blobs/onyx.svg.br View file High Ships high entropy blob
Package ships high-entropy non-source blobs.
src/interfaces/web/dist/modules/blobs/onyx.svg.br View on unpkg Scanner record · 4 lines path = [redacted].svg.br
kind = high_entropy_blob
sizeBytes = 37288
magicHex = [redacted]
src/core/agent/shell/background.js#virtual:normalized: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.
src/core/agent/shell/background.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 12
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/host/daemon/api/admin.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/host/daemon/api/admin.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/agent/shell/background.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/agent/shell/background.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/desktop/process.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/desktop/process.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/routines/runner.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/routines/runner.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/voice/engines/gemini.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/voice/engines/gemini.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/host/daemon/api/skills.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/host/daemon/api/skills.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/host/daemon/deck-exec.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/host/daemon/deck-exec.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/host/daemon/terminal-ws.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/host/daemon/terminal-ws.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/host/daemon/whisper-server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/host/daemon/whisper-server.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/android-release.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/android-release.js
matchedIdentity = npm:[redacted]:1.123.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
src/interfaces/cli/http.js#virtual:normalized:round12 findings
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/net/tailscale.js
matchedIdentity = npm:[redacted]:1.123.1
summary = normalized source hash matched finalized malicious source
⋯
24 const __filename = fileURLToPath (import .meta.url);
25 const __dirname = path.dirname (__filename);
91 // The three functions below take `platform` instead of reading process.platform
92 // inline so the unsupported-platform branch is reachable fro
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/core/desktop/autostart.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @agentprojectcontext/apx@1.123.1
matchedPath = src/core/desktop/autostart.js
matchedIdentity = npm:[redacted]:1.123.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.
src/core/desktop/autostart.js View on unpkg · L7 Code excerpt · 12 lines 7 //
8 // macOS → ~/Library/LaunchAgents/dev.apx.desktop.plist + launchctl load -w
9 // win32 → HKCU\Software\Microsoft\Windows\CurrentVersion\Run\APXDesktop
⋯
19 import { DESKTOP_AUTOSTART_LOG_PATH } from "#core/config/paths.js" ;
20 import { execFileSync } from "node:child_process" ;
21 import { fileURLToPath } from "node:url" ;
⋯
24 const __filename = fileURLToPath (import .meta.url);
25 const __dirname = path.dirname (__filename);
26
⋯
90
91 // The three functions below take `platform` instead of reading process.platform
92 // inline so the unsupported-platform branch is reachable from a test on any
18 const DEFAULT_PORT = parseInt (process.env.APX_PORT || "7430" , 10 );
19 const DEFAULT_HOST = process.env.APX_HOST || "127.0.0.1" ;