Loading npm security reports…
Loading npm security reports…
@ddwang/magnitude-core@0.3.1-ddwang.20: Telemetry – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 26 findings warrant review before installing.
AI security reviewscanned on Nov 4, 2026, 23:13 UTC · by lpm-firewall-ai The package sends runtime usage telemetry to PostHog by default, without clear disclosure. The reviewed payload is metadata rather than prompts or credentials, so this warrants a warning rather than a malicious verdict.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The application starts an Agent; telemetry handlers then send events as the agent runs.
Impact
This exposes usage and project-linked identifiers to the analytics service without clear disclosure in the package source.
Mechanism
The package sends a persistent machine ID, a hashed codebase identifier, package version, event timing, action counts and model usage to PostHog.
Evidence
dist/index.cjs ~/.magnitude/user.json
public snapshot
Evidence for warning
Telemetry is enabled by default in the Agent configuration. When an agent starts, it registers handlers that send telemetry to PostHog at us.i.posthog.com. Telemetry includes a machine ID, a hashed codebase ID, agent event timings, action counts and model usage; the source does not disclose this collection to users. Evidence against
The package is an AI browser testing agent, and its telemetry is tied to agent activity. The reviewed telemetry sends usage metadata rather than prompts, file contents or API keys. The manifest has no preinstall, install or postinstall script. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 4 files · 652 KB of source
12 external domains referenced
api.novita.ai claude.ai console.anthropic.com docs.boundaryml.com docs.magnitude.run example.com inference.baseten.co magnitude-test-screenshots.s3.us-east-1.amazonaws.com magnitude.run openrouter.ai us.i.posthog.com www.w3.org Findings1 critical · 13 high · 6 medium · 6 low Source & flagged code18 flagged Code excerpt · 3 lines 2622 var os = __toESM (require ("os" ), 1 );
2623 var import_node_child_process = require ("child_process" );
2624 var import_cuid2 = __toESM (require ("@paralleldrive/cuid2" ), 1 );
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index.cjs View on unpkg · L83 Code excerpt · 12 lines 83 screenshot {
84 url "https://magnitude-test-screenshots.s3.us-east-1.amazonaws.com/do_not_overplan_1.png"
85 }
⋯
596
597 template_string TaskInstructions (task: string, taskData: MultiMediaContentPart[]) #"
598 Plan out actions that should be executed in order to complete the task:
⋯
702 // src/ai/baml_client/globals.ts
703 var env = { ...process.env };
704 var DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_RUNTIME = import_baml.BamlRuntime.fromFiles (
⋯
714 level: process.env.MAGNITUDE_LOG_LEVEL || "warn" ,
715 transport: process.stdout.isTTY ? {
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/index.cjs View on unpkg · L71 Code excerpt · 3 lines 71 // src/ai/baml_client/config.ts
72 var import_logging = require ("@boundaryml/baml/logging" );
73
node_modules/patchright-core/lib/utilsBundle.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/patchright-core/lib/utilsBundle.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules/playwright-core/lib/utilsBundle.js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Weak crypto
Package source references weak cryptographic algorithms.
node_modules/patchright-core/lib/utilsBundle.js View on unpkg · L123 Code excerpt · 12 lines 123 var hasFlag = require_has_flag ();
node_modules/playwright/lib/runner/index.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.
node_modules/playwright/lib/runner/index.js View on unpkg · L864 Code excerpt · 9 lines 864 const port = new URL (this ._options.url).port;
865 throw new Error (`${this._options.url ?? ` http://localhost${port ? ":" + port : ""}`} is already used, make sure that nothing is running on the port/url or set reuseExistingServer:t...
866 }
⋯
873 ...DEFAULT_ENVIRONMENT_VARIABLES,
874 ...process.env,
875 ...this ._options.env
⋯
878 stdio: "stdin" ,
node_modules/patchright-core/lib/coreBundle.js View file High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
node_modules/patchright-core/lib/coreBundle.js View on unpkg · L599 High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
node_modules/patchright-core/lib/coreBundle.js View on unpkg · L599 Shared code excerpt · 2 findings · 12 lines 599 function truncateDataUrl (url3) {
600 if (!url3.startsWith ("data:" ))
601 return url3;
⋯
694 default :
695 const code = c. ( );
node_modules/playwright/lib/common/index.js View file High Obfuscated payload loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
node_modules/playwright/lib/common/index.js View on unpkg · L78 Code excerpt · 12 lines 78 var { calculateSha1 } = require ("patchright-core/lib/coreBundle" ).utils;
79 var cacheDir = process.env.PWTEST_CACHE_DIR || (() => {
80 if (process.platform === "win32" )
81 return import_path.default .join (import_os.default .tmpdir (), `playwright-transform-cache` );
⋯
97 return {
98 map: JSON.parse (import_fs.default . (sourceMapPath, )),
node_modules/patchright-core/lib/vite/traceViewer/assets/defaultSettingsView-D9EV0iaS.js View file Critical Trojan source unicode
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
node_modules/patchright-core/lib/vite/traceViewer/assets/defaultSettingsView-D9EV0iaS.js View on unpkg · L165 Code excerpt · 2 lines 165 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
node_modules/patchright-core/lib/webp_codec.wasm View file Medium Ships WASM module
Package ships WebAssembly modules.
node_modules/patchright-core/lib/webp_codec.wasm View on unpkg Scanner record · 4 lines path = node_modules/patchright-core/lib/webp_codec.wasm
kind = wasm_module
sizeBytes = 565369
magicHex = [redacted]
node_modules/patchright-core/bin/reinstall_msedge_dev_win.ps1 View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
node_modules/patchright-core/bin/reinstall_msedge_dev_win.ps1 View on unpkg Scanner record · 4 lines path = node_modules/patchright-core/bin/reinstall_msedge_dev_win.ps1
kind = build_helper
sizeBytes = 869
magicHex = [redacted]
node_modules/playwright/lib/agents/generateAgents.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/agents/generateAgents.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules[redacted].js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/playwright/lib/mcp/test/testContext.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/mcp/test/testContext.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules[redacted].js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/util.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules/playwright/lib/util.js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
3 findings
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
716 target: "pino-pretty" ,
124 var env = process.env;
125 var forceColor = void 0 ;
158 var min = forceColor ? 1 : 0 ;
159 if (process.platform === "win32" ) {
160 var osRelease = os2.release ().split ("." );
207 supportsColor: getSupportLevel,
208 stdout: getSupportLevel (process.stdout),
209 stderr: getSupportLevel (process.stderr)
636 if (typeof theme === "string" ) {
637 console.log ("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the fi...
880 attemptToGracefullyClose: async () => {
charCodeAt
0
696 return "\\x" + code.toString (16 ).padStart (2 , "0" );
4225 ["BrowserContext.setNetworkInterceptionPatterns" , { title: "Route requests" , group: "route" }],
4226 ["BrowserContext.[redacted]" , { title: "Route WebSockets" , group: "route" }],
4227 ["BrowserContext.setOffline" , { title: "Set offline mode" , renderParams: ["offline" ] }],
6590 contextEntry.stdio.push (event);
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
node_modules/patchright-core/lib/coreBundle.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 2
readFileSync
"utf-8"
362 return import_path2.default .relative (process.cwd (), file2);
376 const packageJsonPath = import_path2.default .join (folderPath, "package.json" );