Loading npm security reports…
Loading npm security reports…
@deveco-test/deveco-harness@0.2.0-test.6: npm security report – | LPM Firewall
Allowed — no malicious behavior detected
29 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 10, 2026, 17:26 UTC · by lpm-firewall-ai The flagged network and process behavior belongs to the bundled DevEco CLI and its trace uploader. The inspected source shows default CN-region telemetry with a privacy statement link and an explicit opt-out, without evidence of secret or unrelated data exfiltration.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The bundled CLI starts for CN-region users; its telemetry scheduler starts unless disabled by environment variable.
Impact
Telemetry may reveal CLI usage and runtime details to the DevEco service. Inspected source did not establish credential theft or unrelated data collection.
Mechanism
It records CLI trace events and uploads batches to the DevEco trace endpoint. The CLI provides a Huawei privacy statement link and an opt-out variable.
Evidence
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/cli.js vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/internal/telemetry-upload-background.js
Network endpoints1
cn.devecostudio.huawei.com /codeGenie/cli/trace/upload
Decision evidencepublic snapshot Evidence for AI clean decision
The package is an OpenCode plugin for DevEco and HarmonyOS workflows, with its main export at dist/index.js. Bundled DevEco CLI telemetry starts by default for CN users and is disabled when DEVECO_CLI_DISABLE_TELEMETRY is set to 1 or true. The CLI exposes a Huawei DevEco privacy statement link in its description. The bundled uploader sends trace payloads to cn.devecostudio.huawei.com; the telemetry code records event and runtime details. Evidence against
Telemetry is opt-out rather than opt-in, but the source provides an explicit disable environment variable. The uploader includes an installation identifier and event details; the inspected code does not show collection or transmission of credentials or unrelated local files. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · URL strings
Manifest No manifest risk signals triggered.
Scanned 20 files · 3.42 MB of source
5 external domains referenced
cn.devecostudio.huawei.com github.com json-schema.org raw.githubusercontent.com yargs.js.org Findings12 high · 9 medium · 8 low Source & flagged code21 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/runtime.js View on unpkg · L697 Code excerpt · 3 lines 697 var require_cross_spawn = __commonJS (function (exports, module) {
698 var cp = __require ("child_process" );
699 var parse = require_parse ();
Code excerpt · 3 lines 621 parsed.args = ["/d" , "/s" , "/c" , `"${shellCommand}"` ];
622 parsed.command = process.env.comspec || "cmd.exe" ;
623 parsed.options.windowsVerbatimArguments = true ;
vendor/ui-verification-mcp/uiVerification.mjs View file Low EvalCleared
Package source references a known benign dynamic code generation pattern.
vendor/ui-verification-mcp/uiVerification.mjs View on unpkg · L4121 Code excerpt · 3 lines 4121 X = `${u.scopeRefs(r.default.scope)}return ${F}` , this .opts.code.process && (X = this .opts.code.process (X, y));
4122 const Q = new Function (`${r.default.self}` , `${r.default.scope}` , X)(this , this .scope.get ());
4123 if (this .scope.value (I, { ref: Q }), Q.errors = null , Q.schema = y.schema, Q.schemaEnv = y, y.$async && (Q.$async = !0 ), this .opts.code.source === !0 && (Q.source = { validateName:...
dist/skill/hmos-dfx-analyzer/references/jscrash/scripts/hstack/lib/index.js View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/skill/hmos-dfx-analyzer/references/jscrash/scripts/hstack/lib/index.js View on unpkg · L1 Code excerpt · 2 lines 1 /*! For license information please see index.js.LICENSE.txt */
2 (()=>{var e={16 (e){"use strict" ;e.exports=require ("url" )},23 (e){"use strict" ;e.exports=require ("util" )},41 (e,t,n){const r=n (92 ),i=n (251 ),o=n ( ).C,s= ( ).P; u{ (e...
vendor/deveco-cli/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts View file Medium Unsafe vm contextCleared
Package source executes code through a VM context API.
vendor/deveco-cli/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts View on unpkg · L1 Code excerpt · 2 lines 1 import v8 from "node:v8" ;
2 import vm from "node:vm" ;
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/cli.js View file Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/cli.js View on unpkg · L1 Code excerpt · 7 lines 1 #!/usr/bin/env node
2 var yL=Object.defineProperty;var wL=(r,e)=>{for (var t in e)yL (r,t,{get:e[t],enumerable:!0 })};import *as Og from "path" ;import {program as de}from "commander" ;import {red as Zte}from "col...
3 `)}static parseDurationToSeconds(e,t="value"){let i=e.trim().toLowerCase().match(/^(\d+(?:\.\d+)?)([sm])?$/);if(!i)throw new Error(` ${t} must be like 30s, 5m or .5 (only s/m supp...
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/internal/telemetry-upload-background.js View file High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/internal/telemetry-upload-background.js View on unpkg · L1 Code excerpt · 3 lines 1 import _r from "path" ;import *as x from "fs" ;import *as ve from "path" ;import {homedir as ct}from "os" ;import *as me from "fs" ; * v ; (r){ e=v. (r),t=[],...
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.js View on unpkg · L115 High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index.js View on unpkg · L115 Shared code excerpt · 2 findings · 12 lines 115 var B = (t, e) => {
116 let { pathExt: r = process.env.PATHEXT || "" } = e, s = r.split (D.delimiter);
117 if (s.indexOf ("" ) !== -1 )
⋯
173 X (p (), exports);
vendor/deveco-cli/node_modules/.bin/devecocli.exe View file High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
vendor/deveco-cli/node_modules/.bin/devecocli.exe View on unpkg Scanner record · 4 lines path = vendor/deveco-cli/node_modules/.bin/devecocli.exe
kind = payload_in_excluded_dir
sizeBytes = 8192
magicHex = [redacted]
Medium Ships native binaryCleared
Package ships native binary artifacts.
vendor/deveco-cli/node_modules/.bin/devecocli.exe View on unpkg Scanner record · 4 lines path = vendor/deveco-cli/node_modules/.bin/devecocli.exe
kind = native_binary
sizeBytes = 8192
magicHex = [redacted]
dist/skill/hmos-dfx-analyzer/references/jscrash/scripts/hstack/lib/mappings.wasm View file Medium Ships WASM moduleCleared
Package ships WebAssembly modules.
dist/skill/hmos-dfx-analyzer/references/jscrash/scripts/hstack/lib/mappings.wasm View on unpkg Scanner record · 4 lines path = dist/skill/hmos-dfx-[redacted].wasm
kind = wasm_module
sizeBytes = 48526
magicHex = [redacted]
dist/skill/hmos-dfx-analyzer/references/cppcrash/scripts/collector.py View file Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
dist/skill/hmos-dfx-analyzer/references/cppcrash/scripts/collector.py View on unpkg Scanner record · 4 lines path = dist/skill/hmos-dfx-[redacted].py
kind = build_helper
sizeBytes = 3130
magicHex = [redacted]
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip View file High Ships high entropy blobCleared
Package ships high-entropy non-source blobs.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip View on unpkg Scanner record · 4 lines path = vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip
kind = high_entropy_blob
sizeBytes = 54372054
magicHex = [redacted]
Medium Ships compressed blobCleared
Package ships compressed or archive-like blobs.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip View on unpkg Scanner record · 4 lines path = vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/deveco-cli/proxy.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 23
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = m365-api@0.1.5
matchedPath = node_modules/@[redacted].js
matchedIdentity = npm:bTM2NS1hcGk:0.1.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = m365-api@0.1.5
matchedPath = node_modules/@[redacted].js
matchedIdentity = npm:bTM2NS1hcGk:0.1.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = m365-api@0.1.5
matchedPath = node_modules/@[redacted].js
matchedIdentity = npm:bTM2NS1hcGk:0.1.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
vendor/deveco-cli/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = m365-api@0.1.5
matchedPath = node_modules/@[redacted].js
matchedIdentity = npm:bTM2NS1hcGk:0.1.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code↓
Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
735
n
302
class
constructor
2
m
4 `)}static resolveTimeBounds(e,t,n){let i=e?new Date(n.getTime()-e*1e3):null,o=t?new Date(n.getTime()-t*1e3):null;return i&&o?i<o?[i,o]:[o,i]:i?[i,n]:o?[null,o]:[null,null]}static i...
51 `,"utf8")}catch{return}try{await xe.promises.unlink(e)}catch{}}takeNewestWithinBudget(e,t){if(t<=0)return[];let n=[],i=0;for(let o=e.length-1;o>=0;o--){let s=Buffer.byteLength(e[o]...
import
as
from
"path"
function
ge
let
resolve
2 `;if(this.mode==="file"&&this.currentLogFile){if(this.fd===null&&this.openLogFile(),this.fd!==null)try{let c=Buffer.from(a);d.writeSync(this.fd,c),this.checkRotation(c.byteLength)}...
174
var H = process.env._ISEXE_TEST_PLATFORM_ || process.platform;
175 var b = H === "win32" ? O : E;
193 const pathEnv = cmd.match (rSlash) ? ["" ] : [
194 ...isWindows ? [process.cwd ()] : [],
195 ...(optPath || "" ).split (optDelimiter)
621 parsed.args = ["/d" , "/s" , "/c" , `"${shellCommand}"` ];
622 parsed.command = process.env.comspec || "cmd.exe" ;
623 parsed.options.windowsVerbatimArguments = true ;
kind = compressed_blob
Low Nested archive needs inspectionCleared
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip View on unpkg Scanner record · 4 lines path = vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-knowledgebase/docs.zip
kind = nested_archive_needs_inspection
sizeBytes = 54372054
magicHex = [redacted]