Loading npm security reports…
Loading npm security reports…
@deveco-test/deveco-harness@0.2.0-test.8: Telemetry – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 30 findings warrant review before installing.
AI security reviewscanned on Nov 12, 2026, 13:12 UTC · by lpm-firewall-ai The plugin sends runtime analytics to its vendor’s endpoint by default, including app and session identifiers, without a documented consent prompt. This is suspicious telemetry; the inspected events do not include the raw test plan or tool output.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
The plugin initializes its analytics uploader; reports are generated when UI verification tools are used, and queued events may be uploaded by the uploader.
Impact
The vendor can associate app bundle names and session or message identifiers with UI verification activity without a documented consent prompt.
Mechanism
The plugin queues event details, then posts them with session and message identifiers to the hard-coded Huawei DevEco endpoint. Analytics defaults to enabled unless state explicitly disables it.
Evidence
dist/index.js state/kv.json analytics/harness-ui/queue.json analytics/harness-ui/queue.key analytics/harness-ui/lock/owner.json
Network endpoints1
/codeGenie/cli/trace/upload
cn.devecostudio.huawei.com
Decision evidencepublic snapshot Evidence for warning
The UI verification tool adds the app bundle name to analytics details and reports the details after the tool completes. Uploaded events include the host session ID, message ID, and event details. Analytics is enabled by default unless `analytics_enabled` is explicitly set to a boolean value in state. The uploader targets `https://cn.devecostudio.huawei.com/codeGenie/cli/trace/upload`. The verification event records the test plan’s length; the inspected analytics event construction does not include the raw test plan. Evidence against
Analytics events are generated by UI verification tool activity, rather than by an install hook. The observed report contains metadata and identifiers; the inspected event construction does not send the test plan or tool output. 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.47 MB of source
5 external domains referenced
cn.devecostudio.huawei.com github.com json-schema.org raw.githubusercontent.com yargs.js.org Findings1 critical · 12 high · 9 medium · 8 low Source & flagged code22 flagged 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 Eval
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 require
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 context
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 Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/cli.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @deveco-test/deveco-harness@0.2.0-test.7
matchedIdentity = npm:[redacted]:0.2.0-test.7
similarity = 0.950
summary = stored previous version shares package body but lacks this dangerous source file
Low Weak crypto
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 vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/internal/telemetry-upload-background.js View 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.
vendor/deveco-cli/node_modules/@deveco-test/deveco-cli-common/dist/internal/telemetry-upload-background.js View on unpkg · L1 Code excerpt · 2 lines 1 import Vr from "path" ;import *as L from "fs" ;import *as Re from "path" ;import {homedir as Et}from "os" ;import *as Ae from "fs" ; * E ; (r){ e=E. (r),t=[],n...
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.js View on unpkg · L54 High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index.js View on unpkg · L54 Shared code excerpt · 2 findings · 12 lines 54 var cwd = null ;
55 var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
56 process.cwd = function () {
⋯
61 try {
62 process.cwd ();
63 } catch (er) {}
⋯
553 var fs$readFile = fs.readFile;
vendor/deveco-cli/node_modules/.bin/devecocli.exe View file High Payload in excluded dir
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 binary
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 module
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 helper
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 blob
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 = 54562672
magicHex = [redacted]
Medium Ships compressed blob
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
kind = compressed_blob
High Semantic analysis limited
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 similarity
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 similarity
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 similarity
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 similarity
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
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
vendor/ui-verification-mcp/uiVerification.mjs1 finding
Low Eval Code↓ 735
n
302
class
constructor
#!/usr/bin/env node
2 var EF=Object.defineProperty;var H=(r,e)=>()=>(r&&(e=r (r=0 )),e);var Tu=(r,e)=>{for (var t in e)EF (r,t,{get:e[t],enumerable:!0 })};import Rae from "path" ;import {fileURLToPath as Iae}fr...
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 2 .5m (only s/m supp...
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...
52 `)){let n=t.trim().split(/\s+/);if(n.length<3)continue;let i=Number(n[0]),o=Number(n[1]),s=Number(n[2]);isNaN(i)||isNaN(o)||isNaN(s)||e.push({pid:i,ppid:o,rssBytes:s*1024})}return ...
import
as
from
"path"
function
Y
let
resolve
2 `;if(this.mode==="file"&&this.currentLogFile){if(this.fd===null&&this.openLogFile(),this.fd!==null)try{let l=Buffer.from(a);d.writeSync(this.fd,l),this.checkRotation(l.byteLength)}...
554 fs.readFile = readFile;
555 function readFile (path, options, cb) {
834 this ._originalTimeouts = JSON.parse (JSON.stringify (timeouts));
835 this ._timeouts = timeouts;
sizeBytes = 54562672
Low Nested archive needs inspection
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 = 54562672
magicHex = [redacted]