MCP, MCP server
Mcp Apache Spark History Server
Connect AI agents and engineers to Apache Spark History Server for intelligent job analysis, performance monitoring, and investigation
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit f00ee51afde0.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
.devcontainer/postCreateCommand.sh, line 4
curl -LsSf https://astral.sh/uv/install.sh | sh
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
skills/cli/e2e/e2e_test.go, line 76
cmd := exec.Command("../bin/shs", append([]string{"-c", "config.yaml"}, args...)...)
src/spark_history_mcp/api_client/api_client.py, line 704
os.remove(path)
Install and update
Serious
install fetches a script from the network. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
.devcontainer/postCreateCommand.sh, line 4
curl -LsSf https://astral.sh/uv/install.sh | sh
examples/integrations/kiro/README.md, line 13
curl -LsSf https://astral.sh/uv/install.sh | sh
Network
Note
can reach api.github.com.
NETWORK_NAMED_HOST
skills/cli/README.md, line 52
VERSION=$(curl -s https://api.github.com/repos/kubeflow/mcp-apache-spark-history-server/releases | grep -m1 '"tag_name": "cli/' | cut -d'"' -f4 | sed 's|cli/||')
skills/cli/README.md, line 58
curl -sSL "https://github.com/kubeflow/mcp-apache-spark-history-server/releases/download/cli%2F${VERSION}/shs-${VERSION}-${OS}-${ARCH}.tar.gz" | tar xz
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
src/spark_history_mcp/config/config.py, line 219
env_file=".env",
src/spark_history_mcp/config/config.py, line 234
# 2. .env file
src/spark_history_mcp/config/config.py, line 253
env_file=".env",
Show more
.gitignore, line 73
.env
.gitignore, line 74
.env.local
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
examples/basic/events/eventlog_v2_spark-110be3a8424d4a2789cb88134418217b/events_1_spark-110be3a8424d4a2789cb88134418217b, line 1
{"Event":"SparkListenerLogStart","Spark Version":"3.5.3"}
examples/basic/events/eventlog_v2_spark-cc4d115f011443d787f03a71a476a745/events_1_spark-cc4d115f011443d787f03a71a476a745, line 1
{"Event":"SparkListenerLogStart","Spark Version":"3.5.3"}
Show more
skills/cli/client/client.gen.go, line 1
// Package client provides primitives to interact with the openapi HTTP API.
skills/cli/client/types.gen.go, line 1
// Package client provides primitives to interact with the openapi HTTP API.
skills/cli/e2e/spark-events/local-1776286786993.zstd, line 1
(�/�H�{"Event":"SparkListenerLogStart","Spark Version":"4.1.0"}
skills/cli/e2e/spark-events/local-1776286804625.zstd, line 1
(�/�H�{"Event":"SparkListenerLogStart","Spark Version":"4.1.0"}
src/spark_history_mcp/api_client/api/default_api.py, line 1
"""
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit f00ee51afde0. can delete files. install fetches a script from the network. can reach api.github.com. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: f00ee51afde039ad2a889d3e8f698fe52fcbdf83
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.