Loading npm security reports…
Loading npm security reports…
@onepointfour-packs/flaredeck-agent@0.2.233: AI-agent capability | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Nov 12, 2026, 08:48 UTC · by lpm-firewall-ai The package provides a real remote shell capability that runs manager-requested commands as the local user, and it is on by default. The authenticated manager trigger and local off switch make this a warning rather than evidence of a malicious attack.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The running agent receives a FlareDeck exec event with a command request.
Impact
A manager request can access files and capabilities available to the local user, and command output is sent to FlareDeck.
Mechanism
The service claims the request using the agent token, runs the command through bash, and posts its output to FlareDeck. A local remote-off file blocks execution.
Evidence
dist/serve.js dist/remote-exec.js dist/main.js dist/cli.js dist/config.js
public snapshot
Evidence for warning
The package exposes a CLI that starts the agent service. The service handles FlareDeck exec events and claims requests using the agent's token. When remote commands are enabled, the claimed command runs as the current user and its output is returned to FlareDeck. Remote commands are enabled by default; the CLI offers a local command to turn them off. Evidence against
Execution is triggered by a FlareDeck manager request, not by package installation or import alone. A local remote-off setting refuses requests and cannot be removed through FlareDeck. Behavioral surface
Source Child process · Crypto · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No license
Scanned 132 files · 1.62 MB of source
14 external domains referenced
127.0.0.1 api.github.com app.flaredeck.app flaredeck-agent-861259873190.us-central1.run.app generativelanguage.googleapis.com github.com jam.dev mcp.cnjure.design mcp.flaredeck.app mcp.jam.dev mcp.sceneflo.ai openrouter.ai pypi.org registry.npmjs.org Findings1 critical · 6 high · 5 medium · 8 low Source & flagged code11 flagged High Child process
Package source references child process execution.
dist/tmux.js View on unpkg · L1 Code excerpt · 2 lines 1 import { execFile } from 'node:child_process' ;
2 import { appendFileSync, existsSync, readFileSync } from 'node:fs' ;
Code excerpt · 3 lines 63 // clone held JARVIS's keyboard for four hours (15 Oct). See runs.ts UNATTENDED_ENV.
64 const child = spawn (command, { cwd, shell: true , detached: true , stdio: ['ignore' , 'pipe' , 'pipe' ], env: { ...process.env, ...UNATTENDED_ENV } });
65 let out = '' ;
Low Eval
Package source references a known benign dynamic code generation pattern.
dist/distill/driver.js View on unpkg · L272 Code excerpt · 3 lines 272 the inline block this replaced; the golden test guards it. */
273 const nameOf = eval ('(' + src + ')' );
274 return els.map ((e) => {
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/testing/run.js View on unpkg · L164 Code excerpt · 9 lines 164 };
165 const stateKey = () => createHash ('sha1' ).update (`${lastSnapshot?.body.replace(/\d+/g, '#') ?? ''}|${handles.length}` ).digest ('base64' ).slice (0 , 16 );
166 const afterAction = async (mode = 'diff' ) => {
⋯
180 to a file the tester cannot open. Cut at a line, and said. */
181 const MAX_RESULT = Number (process.env['FLAREDECK_TEST_RESULT_CHARS' ] ?? 40000 );
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/setup.js View on unpkg · L13 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/setup.js View on unpkg · L13 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.bin -> dist/cli.js -> dist/main.js -> dist/setup.js
13 */
14 import { execFileSync } from 'node:child_process' ;
15 import { appendFileSync, existsSync, mkdirSync, readFileSync } from 'node:fs' ;
⋯
30 stdio: opts.quiet ? ['ignore' , 'pipe' , 'ignore' ] : 'inherit' ,
31
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/release.js View on unpkg · L30 Code excerpt · 9 lines 30 const auth = token ? ['-c' , `http.extraHeader=Authorization: Basic ${Buffer.from(` x-access-token:${token}`).toString('base64')}` ] : [];
31 const child = spawn ('git' , ['-c' , `user.name=${who.name}` , '-c' , `user.email=${who.email}` , ...auth, ...args], {
32 cwd,
33 stdio: ['ignore' , 'pipe' , 'pipe' ],
34 env: { ...process.env, GIT_TERMINAL_PROMPT: '0' , GIT_SSH_COMMAND: 'ssh -o BatchMode=yes' , GCM_INTERACTIVE: },
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/remote-exec.js View on unpkg · L74 High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/remote-exec.js View on unpkg · L74 Shared code excerpt · 2 findings · 12 lines 74 stdout: tail (out),
75 stderr: tail (err + (timedOut ? `\n[stopped after ${timeoutSec}s]` : '' ) + note),
76 truncated: cut,
⋯
83 /** FlareDeck's exec routes, called as this agent. */
84 export function execApi (mcpUrl, tenantId, auth) {
85
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
python/sidecar.py View on unpkg Scanner record · 4 lines path = python/sidecar.py
kind = build_helper
sizeBytes = 21358
magicHex = [redacted]
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/engine-antigravity.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @onepointfour-packs/flaredeck-agent@0.2.232
matchedIdentity = npm:[redacted]:0.2.232
similarity = 0.958
summary = stored previous version shares package body but lacks this dangerous source file
Code↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
381 { type: 'image' , data: shot.toString ('base64' ), mimeType: 'image/jpeg' },
382 { type: 'text' , text: `This is the screen at ${viewport.width}×${viewport.height}. Judge only what is plain to see; never give a size in pixels.${takeStuckNote()}` },
// npx puts npm[redacted] in the environment, and the environment beats the config FILE
32 // we just wrote — which is why `npm config set prefix` appeared to work and the install
58 function shellProfile () {
59 const home = homedir ();
60 const shell = process.env['SHELL' ] ?? '' ;
61 const candidates = shell.includes ('zsh' )
62 ? ['.zshrc' , '.zprofile' , '.profile' ]
63 : ['.bashrc' , '.bash_profile' , '.profile' ];
'never'
45 /** `https://github.com/Owner/Repo(.git)` → `owner__repo`: the clone's folder name. */
46 export const cloneName = (url) => url.replace (/\.git$/, '' ).replace (/\/+$/, '' ).split (/[/:]/).slice (-2 ).join ('__' ).toLowerCase ().replace (/[^\w.-]/g, '_' );
const origin = new URL (mcpUrl).origin;
86 return async (path, body) => {
87 const res = await fetch (`${origin}/api/v1/${encodeURIComponent(tenantId)}/exec/${path}` , {
89 headers: { authorization: `Bearer ${await auth()}` , 'content-type' : 'application/json' },
90 body: JSON.stringify (body ?? {}),
91 signal: AbortSignal.timeout (30_000),