lean-lsp-mcp
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:
remote-code.pipe-shell: Pipes a download into a shell (high, 2× · first at PKG-INFO:67)
- Kind
- MCP server
- Source
- pypi
- Version
0.33.0- Popularity
- 128,076 PyPI downloads/week (2026-11-20)
- Link
- https://pypi.org/project/lean-lsp-mcp/0.33.0/
- Scanned
- 2026-11-20T21:57:40+00:00
- Scan time
- 3.9 s
Review note: README install instructions for uv, and an environment copy passed to the package's own lake subprocess.
Findings (3)
remote-code.pipe-shell: Pipes a download into a shell high
PKG-INFO:67
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0050 Command and Scripting InterpreterCWE CWE-494 Download of Code Without Integrity Check
[Install uv](https://docs.astral.sh/uv/getting-started/installation/) for your system. On Linux/MacOS: `curl -LsSf https://astral.sh/uv/install.sh | sh`
What this means: Executes whatever the remote server returns, unreviewed.
The rule's general advice: Download, verify a checksum, then run. (see the review note for this case)
Expected for what this tool does
This is a README line telling users how to install uv with its official installer. It is documentation only and is not executed by the package.
Reviewed by Bawwab maintainers, 2026-11-20
exfil.combo: Reads credentials and makes network calls med
src/lean_lsp_mcp/loogle.py:277
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
run_env = env if env is not None else os.environ.copy()
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)
Known false alarm
The copy of os.environ is used only as the environment for the 'lake' build commands that the Loogle helper launches itself (with LAKE_ARTIFACT_CACHE set to false). It is not sent over the network.
Reviewed by Bawwab maintainers, 2026-11-20
remote-code.pipe-shell: Pipes a download into a shell high
src/lean_lsp_mcp.egg-info/PKG-INFO:67
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0050 Command and Scripting InterpreterCWE CWE-494 Download of Code Without Integrity Check
[Install uv](https://docs.astral.sh/uv/getting-started/installation/) for your system. On Linux/MacOS: `curl -LsSf https://astral.sh/uv/install.sh | sh`
What this means: Executes whatever the remote server returns, unreviewed.
The rule's general advice: Download, verify a checksum, then run. (see the review note for this case)
Expected for what this tool does
The same README install instruction for uv, duplicated in the egg-info metadata copy. It is documentation only.
Reviewed by Bawwab maintainers, 2026-11-20
2 low-severity notes (informational, do not affect the result)
credential-access: Touches credentials or secrets low
src/lean_lsp_mcp/loogle.py:277
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
run_env = env if env is not None else os.environ.copy()
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
tests/test_transport_disconnect.py: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
env = os.environ.copy()
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
Dispute this result
Maintainer and think this is wrong? Open a dispute on GitHub with the target id mcp-pypi-lean-lsp-mcp-3bc5bb.