Bawwab: Top 302 scan

@xeroapi/xero-mcp-server

Not malicious, needs a look Reviewed: expected behaviour

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.0.18
Popularity
20,699 npm downloads/week (2026-11-20)
Link
https://www.npmjs.com/package/@xeroapi/xero-mcp-server/v/0.0.18
Scanned
2026-11-20T22:34:11+00:00
Scan time
2.5 s
Review note: Uses your Xero client credentials to talk to Xero, as intended.

Findings (2)

credential-access: Touches credentials or secrets high

dist/clients/xero-client.js:11

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

throw Error("Environment Variables not set - please check your .env file");

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)

Expected for what this tool does

Loads XERO_CLIENT_ID/XERO_CLIENT_SECRET or XERO_CLIENT_BEARER_TOKEN from the environment or .env, and uses them only with identity.xero.com and api.xero.com. That is the server's purpose.

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

exfil.combo: Reads credentials and makes network calls med

dist/clients/xero-client.js:11

OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0037 Data from Local SystemMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0025 Exfiltration via Cyber Means

throw Error("Environment Variables not set - please check your .env file");

What this means: Credential access together with outbound requests in one file is the shape of data theft.

The rule's general advice: Do not install unless the flow is understood and benign. (see the review note for this case)

Expected for what this tool does

Loads XERO_CLIENT_ID/XERO_CLIENT_SECRET or XERO_CLIENT_BEARER_TOKEN from the environment or .env, and uses them only with identity.xero.com and api.xero.com. That is the server's purpose.

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

1 low-severity notes (informational, do not affect the result)

install-script: Runs code at install time low

package.json:19

OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0010.001 Supply Chain Compromise: SoftwareMITRE ATLAS AML.T0011.001 User Execution: Malicious Package

npm run build

What this means: Install hooks run automatically with your privileges before you can review anything.

What you can do: Read the script; prefer packages with no install hooks.

Dispute this result

Maintainer and think this is wrong? Open a dispute on GitHub with the target id mcp-npm-xeroapi-xero-mcp-server-358032.