Bawwab: Top 302 scan

@metamask/device-mcp

Not malicious, needs a look Reviewed: false alarm

Bawwab's static rules found patterns that deserve a human look. This is not a finding that the package is malicious; the review notes below say what each pattern turned out to be.

Why it was flagged

The static rules marked this “Not malicious, needs a look” because of:

Kind
MCP server
Source
npm
Version
0.9.0
Popularity
52,510 npm downloads/week (2026-11-20)
Link
https://www.npmjs.com/package/@metamask/device-mcp/v/0.9.0
Scanned
2026-11-20T22:12:59+00:00
Scan time
4.7 s
Review note: Both flags are the server passing its connection env to the local idb simulator tool; nothing malicious.

Findings (2)

credential-access: Touches credentials or secrets high

dist/backends/idb-backend.cjs:216

OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration

env: __classPrivateFieldGet(this, _IdbBackend_connection, "f").env,

What this means: Reads files or environment holding keys, tokens or sessions.

The rule's general advice: Confirm the tool needs this; otherwise do not install. (see the review note for this case)

Known false alarm

Passes the configured connection's env object to child processes of the local 'idb' iOS simulator tool (snapshot, video recording). No credential files are read.

Reviewed by Claude (AI-assisted review), 2026-11-21

credential-access: Touches credentials or secrets high

dist/backends/idb-backend.mjs:210

OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration

env: __classPrivateFieldGet(this, _IdbBackend_connection, "f").env,

What this means: Reads files or environment holding keys, tokens or sessions.

The rule's general advice: Confirm the tool needs this; otherwise do not install. (see the review note for this case)

Known false alarm

Passes the configured connection's env object to child processes of the local 'idb' iOS simulator tool (snapshot, video recording). No credential files are read.

Reviewed by Claude (AI-assisted review), 2026-11-21

Dispute this result

Maintainer and think this is wrong? Open a dispute on GitHub with the target id mcp-npm-metamask-device-mcp-f65af2.