Loading npm security reports…
Loading npm security reports…
farming-code@2.2.51: Agent extension lifecycle risk – flagged | 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 Aug 14, 2026, 20:28 UTC · by lpm-firewall-ai The package has a real runtime AI-agent extension surface, warranting a warning. It does not meet the block threshold because mutation is runtime-triggered and confined to Farming-owned configuration.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Explicit execution of the farming CLI/service
Impact
Runtime mutation of Farming agent instruction files under its config directory.
Mechanism
Farming-owned AI-agent workspace initialization
Evidence
package.json backend/storage-layout.cjs backend/config-manager.cjs backend/main-agent-skills.cjs backend/acp-runtime-host-client.cjs dist/acp/claude-agent-acp-0.68.0.mjs bin/farming $HOME/.farming/AGENTS.md $HOME/.farming/CLAUDE.md $HOME/.farming/QWEN.md $HOME/.farming/skills/index.json
Decision evidencepublic snapshot Evidence for warning
Runtime initialization creates Farming agent-instruction files. It writes managed AGENTS.md and compatibility blocks for CLAUDE.md/QWEN.md. It launches a detached local ACP runtime host. Evidence against
No preinstall, install, or postinstall lifecycle hook is present. Agent files are under the package-owned Farming config directory, not a foreign agent config. The flagged Function call is bundled AJV schema compilation; no remote-payload chain was found. No credential harvesting or external exfiltration endpoint was confirmed. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Protestware · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 522 files · 18.3 MB of source
50 external domains referenced
127.0.0.1 agent-plugins.org api.openai.com bugzilla.mozilla.org cdn.jsdelivr.net cdnjs.cloudflare.com chevrotain.io code.google.com developer.mozilla.org developers.google.com docs.docker.com docs.expo.dev download.eclipse.org drafts.csswg.org en.wikipedia.org engelschall.com esm.sh fonts.bunny.net fonts.googleapis.com fonts.gstatic.com github.com googlechrome.github.io googlechromelabs.github.io hacks.mozilla.org help.yahoo.com html.spec.whatwg.org jquery.org json-schema.org langium.org lodash.com openjsf.org opensource.org r12a.github.io react-dnd.github.io react.dev reactjs.org redux.js.org registry.npmjs.org registry.npmmirror.com sass-lang.com schema.org stackoverflow.com support.google.com tldrlegal.com tools.ietf.org underscorejs.org unpkg.com wiki.whatwg.org www.bing.com www.dmoz.org Oversized source lightweight scan
dist/acp/claude-agent-acp-0.68.0.mjs 2.15 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto Shell High entropy strings URL strings docs.expo.dev
dist/assets/editor.api2-Dgap08w1.js 3.46 MB file, sampled 256 KB
Child process Possible obfuscation High entropy strings Minified
dist/assets/ts.worker-BwM5Ha3L.js 6.57 MB file, sampled 256 KB
Filesystem Network Child process
dist/crt-mermaid-renderer.js 3.29 MB file, sampled 256 KB
Network Child process
Findings5 critical · 9 high · 9 medium · 6 low Source & flagged code20 flagged High Child process
Package source references child process execution.
dist/crt-markdown-renderer.js View on unpkg · L9 Code excerpt · 3 lines 9 `).replace(Zx,"")}function $3(e,t){return t=o4(t),o4(e)===t}function Le(e,t,n,r,i,a){switch(n){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||al(e,r):(typeof...
10 `,kb="/",_b="*",ca="",Gw="comment",Kw="declaration";function Xw(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1...
11 https://github.com/highlightjs/highlight.js/issues/2277`),_=I,ie=Y),Z===void 0&&(Z=!0);let ue={code:ie,language:_};$("before:highlight",ue);let ye=ue.result?ue.result:f(ue.language...
dist/acp/claude-agent-acp-0.68.0.mjs View file Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/acp/claude-agent-acp-0.68.0.mjs View on unpkg · L15 Critical Reverse shell
Source matches reverse-shell style process and socket wiring.
dist/acp/claude-agent-acp-0.68.0.mjs View on unpkg · L15 Critical Remote response code execution
Source passes code obtained from a remote response into a dynamic execution sink.
dist/acp/claude-agent-acp-0.68.0.mjs View on unpkg · L15 Shared code excerpt · 3 findings · 12 lines 15 import * as tn from "node:path" ;
16 import { execFile as eQ } from "node:child_process" ;
17 import { promisify as tQ } from "node:util" ;
⋯
31 jpe ;
Medium Dynamic require
Package source references dynamic require/import behavior.
frontend/skins/crt/app.js View on unpkg · L692 Code excerpt · 3 lines 692 try {
693 return require ('./session-modal-bridge.js' );
694 }
Low Weak crypto
Package source references weak cryptographic algorithms.
backend/workspace-file-service.cjs View on unpkg · L61 Code excerpt · 12 lines 61 const { diffChars } = require ("diff" );
62 const { execFile, spawn } = require ("child_process" );
63 const readline = require ("readline" );
⋯
201 function resolveBundledRipgrepPath () {
202 const script = path.join (__dirname, ".." , "node_modules" , "ripgrep" , "lib" , "rg.mjs" );
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
backend/shell-busy-integration.cjs View on unpkg · L86 Code excerpt · 12 lines 86 " unset FARMING_SHELL_LOGIN" ,
87 ' elif [ -r "$HOME/.bashrc" ]; then' ,
88 ' . "$HOME/.bashrc"' ,
⋯
220 'if [[ "${FARMING_SHELL_INJECTION:-}" = "1" && $options[norcs] = off && -r "${USER_ZDOTDIR:-$HOME}/.zshrc" ]]; then' ,
221 ' HISTFILE="${USER_ZDOTDIR:-$HOME}/.zsh_history"' ,
222 ' __farming_saved_zdotdir="$ZDOTDIR"' ,
⋯
306 normalized.args = isZshLogin ? ["-il" ] : ["-i" ];
307 normalized.env.USER_ZDOTDIR = normalized.env.ZDOTDIR || normalized.env.HOME || os.homedir ();
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
backend/acp-runtime-host-client.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = farming-code@2.2.50
matchedIdentity = npm:ZmFybWluZy1jb2Rl:2.2.50
similarity = 0.800
summary = stored previous version shares package body but lacks this dangerous source file
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
backend/acp-runtime-host-client.cjs View on unpkg · L152 Code excerpt · 9 lines 152 const env = {
153 ...process.env,
154 FARMING_CONFIG_DIR: this .configDir,
dist/assets/FileEditorMarkdownPreview-CXatYGQv.js View file Critical Trojan source unicode
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/assets/FileEditorMarkdownPreview-CXatYGQv.js View on unpkg · L92 Code excerpt · 2 lines 92 contains invisible/control Unicode U+FEFF (zero width no-break space)
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]===` \r`&&--e,this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buff
dist/runtime/agent-browser/linux-arm64/agent-browser View file Medium Ships native binary
Package ships native binary artifacts.
dist/runtime/agent-browser/linux-arm64/agent-browser View on unpkg Scanner record · 4 lines path = dist/runtime/agent-browser/linux-arm64/agent-browser
kind = native_binary
sizeBytes = 11424360
magicHex = [redacted]
frontend/vendor/ghostty-web/ghostty-vt.wasm View file Medium Ships WASM module
Package ships WebAssembly modules.
frontend/vendor/ghostty-web/ghostty-vt.wasm View on unpkg Scanner record · 4 lines path = frontend/vendor/ghostty-web/ghostty-vt.wasm
kind = wasm_module
sizeBytes = 423045
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/assets/ts.worker-BwM5Ha3L.js View on unpkg Scanner record · 4 lines path = dist/assets/ts.worker-BwM5Ha3L.js
kind = oversized_source_file
sizeBytes = 6894193
magicHex = [redacted]
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/assets/App-isgVGN1H.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 3
dist/assets/chunk-4I5QYGJK-_tYz-MPC.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/assets/chunk-4I5QYGJK-_tYz-MPC.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @inkeep/open-knowledge@0.36.0
matchedPath = dist/chunk-HOUHSVGY-msG2U0fQ.mjs
matchedIdentity = npm:QGlua2VlcC9vcGVuLWtub3dsZWRnZQ:0.36.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/assets/chunk-JQJVKLGR-DOCNB4RG.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/assets/chunk-JQJVKLGR-DOCNB4RG.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @inkeep/open-knowledge@0.36.0
matchedPath = dist/chunk-PUDLZKDR-7CuClQq1.mjs
matchedIdentity = npm:QGlua2VlcC9vcGVuLWtub3dsZWRnZQ:0.36.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/assets/diagram-Q27KOJAE-7SNHOyAw.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/assets/diagram-Q27KOJAE-7SNHOyAw.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @inkeep/open-knowledge@0.31.0
matchedPath = dist/public/assets/diagram-G4DWMVQ6-Ba38EFwg.js
matchedIdentity = npm:QGlua2VlcC9vcGVuLWtub3dsZWRnZQ:0.31.0
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
dist/assets/wardleyDiagram-T6FBY63Y-DwbLVRLT.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/assets/wardleyDiagram-T6FBY63Y-DwbLVRLT.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @inkeep/open-knowledge@0.36.0
matchedPath = dist/wardleyDiagram-EHGQE667-BSbgK3Gt.mjs
matchedIdentity = npm:QGlua2VlcC9vcGVuLWtub3dsZWRnZQ:0.36.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High entropy strings
Telemetry
URL strings
en.wikipedia.org
engelschall.com
github.com
jquery.org
lodash.com
openjsf.org
opensource.org
tldrlegal.com
underscorejs.org
www.w3.org
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
import
from
"stream"
32 import Zpe from "http" ;
33 import Ype from "https" ;
180 function D (e, t, n, r, o) {
181 if (r === "m" ) throw TypeError ("Private method is not writable" );
182 if (r === "a" && !o) throw TypeError ("Private accessor was defined without a setter" );
327 return JSON.parse (e);
Code excerpt · 3 lines 23208 var yk = {};
23209 Wt (yk, { CLAUDE_AX_SCREEN_READER: () => Kfe, CLAUDE_AX_STARTUP_QUIET_MS: () => qfe, CLAUDE_CHROME_CLASSIFIER_FLOOR: () => Wfe, CLAUDE_CODE_ACCESSIBILITY: () => Che, CLAUDE_CODE_ACT...
23210 var Kfe = d.triBool ();
High Eval
Package source references dynamic code evaluation.
dist/acp/claude-agent-acp-0.68.0.mjs View on unpkg · L14968 Code excerpt · 3 lines 14968 try {
14969 return new Function ("" ), true ;
14970 } catch (e) {
203 if (fs.existsSync (script)) return script;
204 const binaryName = process.platform === "win32" ? "rg.cmd" : "rg" ;
205 const bin = path.join (__dirname, ".." , "node_modules" , ".bin" , binaryName);
229 function resolveCommandRunnerNodePath (options = {}) {
230 return options.nodePath || process.env.FARMING_NODE_BIN || process.execPath;
320 const rl = readline.createInterface ({
308 normalized.env.ZDOTDIR = tempDir;
330 data: text.slice (0 , lastOscIndex),
157 const spawnCommand = acpRuntimeHostSpawnCommand (this .hostScript, env);
158 const child = (0 , import_child_process.spawn)(spawnCommand.command, spawnCommand.args, {
168 const socket = net.createConnection (this .socketPath);
169 await new Promise ((resolve, reject) => {