Loading npm security reports…
Loading npm security reports…
@umsai/ums-code@0.21.11-v4: AI-agent capability abuse – flagged | 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 Sep 28, 2026, 02:27 UTC · by lpm-firewall-ai The package exposes a guarded agent workflow that executes a configured external uploader. Its explicit confirmation and lack of lifecycle execution rule out a confirmed malicious attack, but the capability warrants a warning.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
A user-approved Artifact publish action with the host publisher configured.
Impact
A configured external program can run and upload the generated artifact; this is a guarded but powerful agent capability.
Mechanism
Configured upload tokens are substituted with an artifact file and key, then passed to a child-process executable.
Evidence
chunks/artifact-tool-A43CHTJG.js
Decision evidencepublic snapshot Evidence for warning
The artifact host publisher builds an executable command from configured upload settings and invokes it. The artifact feature is available as an agent tool and publishes the supplied file through that publisher. Evidence against
The publish invocation requires an explicit permission prompt. No install lifecycle hook is declared in the package manifest. No covert endpoint or automatic execution path was identified. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No license
Scanned 783 files · 53.1 MB of source
50 external domains referenced
10.11.33.235 127.0.0.1 169.254.169.254 172.16.3.100 accounts.google.com ai-agent.chinaums.com aiplatform.googleapis.com api.anthropic.com api.dingtalk.com api.github.com api.openai.com api.sgroup.qq.com api.telegram.org bots.qq.com bucket.example.com cdn.example.com cdn.jsdelivr.net chat.qwen.ai chevrotain.io cloud.google.com cloudresourcemanager.googleapis.com codeload.github.com coding.dashscope.aliyuncs.com crystal-lang.org dashscope.aliyuncs.com dev.w3.org docs.anthropic.com docs.example.com docs.expo.dev docs.fireworks.ai docs.github.com docs.microsoft.com docs.neo4j.org dummy.com en.cppreference.com en.wikipedia.org example.com example.invalid fb.me fburl.com fishshell.com generativelanguage.googleapis.com ghe.example.com gist.githubusercontent.com git.new github.com gitlab.com gitlab.example.com grpc.io help.aliyun.com Oversized source lightweight scan
chunks/chunk-X4LCLG3L.js 4.76 MB file, sampled 256 KB
Filesystem Eval High entropy strings URL strings json-schema.org
chunks/dist-WULCAGLB.js 4.59 MB file, sampled 256 KB
Filesystem Network Crypto High entropy strings URL strings open.feishu.cn open.larksuite.com
Findings5 critical · 13 high · 9 medium · 6 low Source & flagged code25 flagged High Child process
Package source references child process execution.
chunks/chunk-MB4W45UE.js View on unpkg · L2157 Code excerpt · 3 lines 2157 init_esbuild_shims ();
2158 import * as childProcess from "node:child_process" ;
2159 var debugLogger = createDebugLogger ("GIT" );
Code excerpt · 3 lines 1741 const nodeArgs = [
1742 ...process.execArgv,
1743 ...additionalNodeArgs,
Code excerpt · 3 lines 270 site.name = fn.name;
271 var deprecatedfn = new Function (
272 "fn" ,
Low Weak crypto
Package source references weak cryptographic algorithms.
chunks/chunk-AGFHNRXA.js View on unpkg · L38 Code excerpt · 12 lines 38 module.exports = depd;
39 var basePath = process.cwd ();
40 function containsNamespace (str, namespace) {
⋯
117 }
Medium Dynamic require
Package source references dynamic require/import behavior.
chunks/chunk-75W573VD.js View on unpkg · L164 Code excerpt · 2 lines 165 // import("./locales/**/*.js") in packages/cli/src/i18n/index.js
166 var globImport_locales_js = __glob ({
Medium Unsafe vm context
Package source executes code through a VM context API.
chunks/workflow-GXJASUZY.js View on unpkg · L341 Code excerpt · 6 lines 341 }
342 const envSec = Number (process.env["QWEN_CODE_MAX_WORKFLOW_SECONDS" ]);
343 if (Number.isFinite (envSec) && envSec > 0 ) return envSec * 1e3;
⋯
591 // cannot reach host process.
592 globalThis.args = __b.argsJson === null ? undefined : JSON.parse (__b.argsJson);
593
Critical Same file environment network execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
chunks/chunk-X4LCLG3L.js View on unpkg · L53829 Code excerpt · 7 lines 53829 const callCommand = this .config.getToolCallCommand ();
53830 const child = spawn (callCommand, [this .toolName], {
53831 env: normalizePathEnvForWindows (sanitizeChildEnv (process.env))
53832 });
⋯
53839 let signal = null ;
53840 await new Promise ((resolve43) => {
53841 const onStdout = /* @__PURE__ */ __name ((data) => {
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
chunks/chunk-7ANACFUV.js View on unpkg · L19 Code excerpt · 12 lines 19 import * as path from "node:path" ;
20 import * as childProcess from "node:child_process" ;
21 var PackageManager = /* @__PURE__ */ ((PackageManager2) => {
⋯
33 })(PackageManager || {});
34 function getNpmCliPath (nodePath = process.execPath, platform = process.platform) {
35 if (platform === "win32" ) {
⋯
63 var debugLogger = ( );
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
chunks/chunk-AMDSOFFV.js View on unpkg · L103 Code excerpt · 11 lines 104 // node_modules/gaxios/package.json
105 var require_package = __commonJS ({
⋯
397 case "json" :
398 return JSON.parse (JSON.stringify (data));
399 case "arraybuffer" :
⋯
430 return ;
431 } else if (obj instanceof FormData || obj instanceof URLSearchParams || // support `node-fetch` FormData/URLSearchParams
Critical Remote asset decode execute
Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
chunks/server-VVAVTR7N.js View on unpkg · L24 Code excerpt · 12 lines 24 import {
25 deriveWebSocketBase,
26 openQwenAsrRealtimeStream,
⋯
118 safeLogValue,
119 sanitizeForStderr,
120 sendJsonBodyParserError,
⋯
671 __name (isSoftwareNetwork, "isSoftwareNetwork" );
672 function listLanCandidates (interfaces = networkInterfaces ()) {
673 const candidates = [];
⋯
691 super (
692
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
chunks/chunk-2IIJTXYF.js View on unpkg · L35 Code excerpt · 12 lines Cross-file remote execution chain: chunks/chunk-2IIJTXYF.js spawns chunks/devtools-4QFYJT6U.js; helper contains network access plus dynamic code execution.
35 ];
36 if (process.platform !== "win32" ) {
37 module.exports.push (
⋯
184 }
185 process14.exitCode = code || /* istanbul ignore next */
186 0 ;
⋯
560 function formatProdErrorMessage (code) {
561 var url = "https://react.dev/errors/" + code;
Medium Ships native binary
Package ships native binary artifacts.
vendor/ripgrep/x64-darwin/rg View on unpkg Scanner record · 4 lines path = vendor/ripgrep/x64-darwin/rg
kind = native_binary
sizeBytes = 4742676
magicHex = [redacted]
Medium Ships WASM module
Package ships WebAssembly modules.
vendor/tree-sitter/tree-sitter.wasm View on unpkg Scanner record · 4 lines path = vendor/tree-sitter/tree-sitter.wasm
kind = wasm_module
sizeBytes = 190779
magicHex = [redacted]
bundled/ui-ux-pro-max/scripts/design_system.py View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
bundled/ui-ux-pro-max/scripts/design_system.py View on unpkg Scanner record · 4 lines path = bundled/ui-ux-pro-max/scripts/design_system.py
kind = build_helper
sizeBytes = 63694
magicHex = [redacted]
bundled/ui-ux-pro-max/scripts/tests/test_core.py View file High Payload in excluded dir
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
bundled/ui-ux-pro-max/scripts/tests/test_core.py View on unpkg Scanner record · 4 lines path = bundled/ui-ux-pro-max/scripts/tests/test_core.py
kind = payload_in_excluded_dir
sizeBytes = 5901
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
chunks/dist-WULCAGLB.js View on unpkg Scanner record · 4 lines path = chunks/dist-WULCAGLB.js
kind = oversized_source_file
sizeBytes = 4814553
magicHex = [redacted]
↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
118
var str = process.env.NO_DEPRECATION || "" ;
119 return containsNamespace (str, namespace);
178 var format = process.stderr.isTTY ? formatColor : formatPlain;
179 var output = format.call (this , msg, caller, stack.slice (i));
180 process.stderr.write (output + "\n" , "utf8" );
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
chunks/chunk-X4LCLG3L.js View on unpkg · L270 Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
chunks/chunk-X4LCLG3L.js View on unpkg · L270 High Obfuscated payload loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
chunks/chunk-X4LCLG3L.js View on unpkg · L270 High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
chunks/chunk-X4LCLG3L.js View on unpkg · L270 Shared code excerpt · 4 findings · 12 lines 270 NextSpeakerCheckEvent,
271 PRIVATE_ACP_CAPABILITY_ENV,
272 RipgrepFallbackEvent,
⋯
381 VISION_BRIDGE_MAX_IMAGES,
382 VISION_BRIDGE_MAX_IMAGE_BASE64_BYTES,
383 detectFileType,
⋯
529 import {
530 axios_default
531 } from "./chunk-I4NZIBDP.js" ;
⋯
900 }
901 if (typeof process !== "undefined" && process.platform) {
902 return process.platform === "win32" ;
Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
chunks/chunk-X4LCLG3L.js View on unpkg · L53829 High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
chunks/chunk-X4LCLG3L.js View on unpkg · L53829 Shared code excerpt · 2 findings · 11 lines 53829 const callCommand = this .config.getToolCallCommand ();
53830 const child = spawn (callCommand, [this .toolName], {
53831 env: normalizePathEnvForWindows (sanitizeChildEnv (process.env))
53832 });
53833 child.stdin.write (JSON.stringify (this .params));
53834 child.stdin.end ();
53835 let stdout = "" ;
53836 let stderr = "" ;
⋯
53839 let signal = null ;
53840 await new Promise ((resolve43) => {
53841 const onStdout = /* @__PURE__ */ __name ((data) => {
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
chunks/chunk-X4LCLG3L.js View on unpkg Scanner record · 8 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
chunks/chunk-X4LCLG3L.jsnormalizeImageGenerationBaseUrl,
readLines,
atomicWriteFile,
atomicWriteFileSync,
getUMSBaseUrl,
var readline2 = __require("readline");
const rl = readline2.createInterface({
readline2.emitKeypressEvents(this.in, rl);
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
chunks/chunk-X4LCLG3L.js View on unpkg · L183 Code excerpt · 12 lines 183 import {
184 normalizeImageGenerationBaseUrl,
185 resolveNetworkTarget
⋯
14499 import * as path4 from "node:path" ;
14500 import { execSync } from "node:child_process" ;
14501 import { stripVTControlCharacters } from "node:util" ;
⋯
14712 function getDefaultCoreIdentitySentence (role) {
14713 return `You are UMS Code, ${role} developed by \u94F6\u5546\u5929\u7801\u56E2\u961F, specializing in software engineering tasks. Your primary goal is to help users safely and effic...
14714 }
⋯
14732 }
14733 const contents = fs5.readFileSync (identityPath, "utf8" );
14734 if (!contents.trim ()) {
createDebugLogger
"INSTALLATION_INFO"
64 var STANDALONE_UNIX_INSTALLER = "https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh" ;
65 var STANDALONE_WINDOWS_INSTALLER = "https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1" ;
116 const normalizedProjectRoot = projectRoot?.replace (/\\/g, "/" );
117 const isGit = isGitRepository (process.cwd ());
432 "forEach" in obj && "set" in obj) {
792 const noProxyList = [...noProxy];
793 const noProxyEnvList = (process.env.NO_PROXY ?? process.env.no_proxy)?.split ("," ) || [];
794 for (const rule of noProxyEnvList) {
"No private IPv4 address is available. Local Control needs the host to be on a local network (Wi-Fi or Ethernet)."
562
if (1 < arguments.length) {
1450 controller: new AbortControllerLocal (),
1451 data: /* @__PURE__ */ new Map (),