Skills/Glama/slash-dhan-mcp

slash-dhan-mcp@0.1.0

CAUTION· not started

Publisher claims: "Enables AI assistants to query Indian market data from Dhan by writing Python scripts that run in an isolated subprocess, returning only printed output. It also runs scheduled, model-authored market watchers that email alerts when conditions become true, without consuming AI tokens." In our sandbox: Not started: dependency install failed; the server itself was not observed.

Registry GlamaPublisher madhan-cj · publishing for 12 daysInstalls 0Last detonated 12d ago

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-13, [email protected] read no files and called no hosts, and its code names 12 environment variables. Coverage: not started.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

DHAN_ACCESS_TOKEN, DHAN_BASE_URL, DHAN_CLIENT_ID, POSTHOG_HOST_API, POSTHOG_PERSONAL_API_KEY, POSTHOG_PROJECT_ID, SLASHDHAN_CACHE_DIR, SLASHDHAN_GATEWAY_URL, SLASHDHAN_NOW, SLASHDHAN_RUN_TOKEN, SLASHDHAN_SCRIP_MASTER_URL, SLASHDHAN_TODAY

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • server startup
  • the tool list
  • tool behavior
Run date2026-11-13
Coveragenot started
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try slash-dhan-mcp
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
DHAN_ACCESS_TOKENPOSTHOG_PERSONAL_API_KEYSLASHDHAN_RUN_TOKENConfiguration, not credentials: DHAN_BASE_URL, DHAN_CLIENT_ID, POSTHOG_HOST_API, POSTHOG_PROJECT_ID, SLASHDHAN_CACHE_DIR, SLASHDHAN_GATEWAY_URL, SLASHDHAN_NOW, SLASHDHAN_SCRIP_MASTER_URL, SLASHDHAN_TODAY
Where it talks to
no vendor host named in the codeAlso posthog.com, dhan.co, astral.sh, resend.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names posthog.com, dhan.co, astral.sh, resend.com as well as its own vendor. The guard injects DHAN_ACCESS_TOKEN, POSTHOG_PERSONAL_API_KEY, SLASHDHAN_RUN_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-13 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathssrc/slash_dhan_mcp/server.py:660 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy/update.sh:10 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesPORT=$(grep '^SLASH_DHAN_MCP_PORT=' "$APP/.env" | cut -d= -f2 || true)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/posthog_dashboard.py:19 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesload_dotenv(Path(__file__).resolve().parents[1] / ".env")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddeploy/setup-uat.sh:21 · File permission modification command — agent changes file ownership/permissionsmkdir -p "$STATE" && chown "$USER_NAME:$USER_NAME" "$STATE" && chmod 750 "$STATE"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsdeploy/setup-uat.sh:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# unit, .env with fresh secrets (Resend settings copied from the kite service), nginx site +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy/setup-uat.sh:18 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesKITE_ENV=/opt/zap-kite-mcp/.envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddeploy/setup-uat.sh:48 · File permission modification command — agent changes file ownership/permissionschown "$USER_NAME:$USER_NAME" "$APP/.env" && chmod 600 "$APP/.env"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsdeploy/setup-uat.sh:48 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileschown "$USER_NAME:$USER_NAME" "$APP/.env" && chmod 600 "$APP/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddeploy/setup-uat.sh:27 · File permission modification command — agent changes file ownership/permissionschown -R "$USER_NAME:$USER_NAME" "$APP"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsdeploy/setup-uat.sh:36 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescat > "$APP/.env" <<ENVFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/slash_dhan_mcp/server.py:657 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfor candidate in (Path(".env"), Path("..") / ".env"):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
CRITICAL
Pipe-to-shell patterndeploy/setup-uat.sh:29 · Pipe-to-shell pattern — downloads and immediately executes remote codesudo -u "$USER_NAME" -H bash -c 'command -v ~/.local/bin/uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh'Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
HIGH
Access to sensitive file pathsscripts/live_smoke.py:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesload_dotenv(Path(__file__).resolve().parents[1] / ".env")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy/remote.sh:53 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesssh "$HOST" "U=\$(grep '^SLASH_DHAN_MCP_PUBLIC_URL=' $APP/.env | cut -d= -f2); echo \"MCP: \$U/\"; echo \"Watchers: \$U/watchers\""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddeploy/setup-uat.sh:30 · File permission modification command — agent changes file ownership/permissionsmkdir -p "$UV_PYTHON_INSTALL_DIR" && chown "$USER_NAME:$USER_NAME" "$UV_PYTHON_INSTALL_DIR"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy/update.sh:15 · File permission modification command — agent changes file ownership/permissionschown -R slashdhan:slashdhan "$APP"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsdeploy/remote.sh:26 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesENV_VARS="A=\$(grep '^SLASH_DHAN_MCP_ADMIN_SECRET=' $APP/.env | cut -d= -f2); P=\$(grep '^SLASH_DHAN_MCP_PORT=' $APP/.env | cut -d= -f2)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
README links to an external installerREADME.md → https://host/slash-markets-dhan.ziphttps://host/slash-markets-dhan.zipFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Privileged sudo commanddeploy/update.sh:16 · Privileged sudo command — agent may execute with elevated privilegessudo -u slashdhan -H bash -c "export UV_PYTHON_INSTALL_DIR=$UV_PYTHON_INSTALL_DIR; cd $APP && ~/.local/bin/uv sync --no-dev --frozen"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/slash_dhan_mcp/server.py:666 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"--env-file", default=None, help="KEY=VALUE file to load first (default: .env)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy/setup-uat.sh:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif [ ! -f "$APP/.env" ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy/update.sh:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# over ssh). /opt/slash-dhan-mcp is disposable: it is reset hard to origin/main; .env isFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/live_smoke.py:1 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Live smoke against the real Dhan API with DHAN_CLIENT_ID / DHAN_ACCESS_TOKEN from .env.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/setup-uat.sh:31 · Privileged sudo command — agent may execute with elevated privilegessudo -u "$USER_NAME" -H bash -c "export UV_PYTHON_INSTALL_DIR=$UV_PYTHON_INSTALL_DIR; cd $APP && ~/.local/bin/uv python install 3.12 && ~/.local/bin/uv sync --no-dev --frozen"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Remote installer piped to shelldeploy/setup-uat.sh:29 · Remote installer piped to shellsudo -u "$USER_NAME" -H bash -c 'command -v ~/.local/bin/uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh'Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
HIGH
Privileged sudo commanddeploy/setup-uat.sh:29 · Privileged sudo command — agent may execute with elevated privilegessudo -u "$USER_NAME" -H bash -c 'command -v ~/.local/bin/uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/slash_dhan_mcp/runner.py:86 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈5,161 tok
1 file · 58 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  2. Unclaimed publisher≈ +8 on the totalClaim madhan-cj: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. README links to an external installer≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
  5. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim madhan-cjPropose a patch to the maintainer