MCP ScannerCustom audit
All servers

sepehr071/digikala-mcp

Unofficial read-only MCP server for Digikala: search products, find the cheapest real match, compare sellers, price history, reviews, deals and Fresh supermarket for AI agents. دیجی‌کالا، مقایسه قیمت، ارزان‌ترین، شگفت‌انگیز

Packagedigikala-mcp
Version0.6.3 in pyproject.toml
Publishersepehr071 community
MCP Registryio.github.sepehr071/digikala-mcp
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 43Forks 5Last push 2026-11-11
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure8.9Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence94%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure8.9/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 6 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 1 of 24 tools, prompts and resources could not be followed through the code
  • 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • MEDIUM1 production dependency has known vulnerabilities (worst: medium).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use opentelemetry-api 1.45.2 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 24 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Connect to the internet or other hostssend requests or open connections
Best picks for a budget, Best sellers, Browse a brand, Browse a category, Compare products, Current deals and 17 more
23 of 24
Read environment variablesoften where API keys are kept
Best picks for a budget, Best sellers, Browse a brand, Browse a category, Compare products, Current deals and 17 more
23 of 24

No tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (24: 24 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

(name computed at run time)tool
No description.
Best picks for a budgettool Rank the best-rated in-stock products within a budget (Toman) by a rating weighted by its count.NetworkEnv vars
Rank the best-rated in-stock products within a budget (Toman) by a rating weighted by its count.

    A 5.0 from 3 buyers does not beat a 4.6 from 900. Use for "best X under Y".
Best sellerstool List current best sellers, overall or in one main category; also returns the main categories' ids for category_id.NetworkEnv vars
List current best sellers, overall or in one main category; also returns the main categories' ids for category_id.
Browse a brandtool List a brand's products with sort and price filters (Toman), plus the brand id for brand_ids.NetworkEnv vars
List a brand's products with sort and price filters (Toman), plus the brand id for brand_ids.

    One brand in one category: dk_category_products(brand_code=...).
Browse a categorytool List one category's products with sort and filters (price in Toman), strict order.NetworkEnv vars
List one category's products with sort and filters (price in Toman), strict order.

    No text query. Filter ids: dk_filters(category_code=...).
Compare productstool Compare 2-4 products side by side: price and rating, then the spec rows where they differ.NetworkEnv vars
Compare 2-4 products side by side: price and rating, then the spec rows where they differ.

    A `specs` row's `values` follow `products` order (null = no such spec); identical rows fold into `same_specs`.
Current dealstool List today's Incredible Offers (flash deals), biggest discount first, in-stock only.NetworkEnv vars
List today's Incredible Offers (flash deals), biggest discount first, in-stock only.

    deal_ends is Tehran time.
Digikala Plus planstool List Digikala Plus plans (monthly free shipments; fresh = supermarket) with price in Toman and benefits.NetworkEnv vars
List Digikala Plus plans (monthly free shipments; fresh = supermarket) with price in Toman and benefits.
Filter optionstool List the filters of a category or a search: attributes, colors, sellers, price range (Toman), brands.NetworkEnv vars
List the filters of a category or a search: attributes, colors, sellers, price range (Toman), brands.

    Maps are {title: id}; an attribute with over 15 values has only `value_count` (call again with
    attribute_id). Pass the ids to dk_category_products or dk_search.
Find categoriestool Find category codes for dk_category_products and main-category ids for dk_best_sellers.NetworkEnv vars
Find category codes for dk_category_products and main-category ids for dk_best_sellers.

    No arguments lists the main categories. A parent category mixes in accessories: browse its leaf.
Find cheapest producttool Find the cheapest in-stock products that really match a query, sorted by price (Toman).NetworkEnv vars
Find the cheapest in-stock products that really match a query, sorted by price (Toman).

    Keeps titles with every query word and drops accessories. Then dk_product on the winner:
    another seller may be cheaper.
Find locationtool Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id.NetworkEnv vars
Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id.

    Prices are the same everywhere; location only affects delivery.
Gold and coin pricestool Get the live 18k gold price per gram and gold coin prices, in Toman.NetworkEnv vars
Get the live 18k gold price per gram and gold coin prices, in Toman.

    Period change, low and high cover ~3 months. A coin with price null is not for sale.
Installment planstool Get the Digipay credit-line offers for a product, in Toman.NetworkEnv vars
Get the Digipay credit-line offers for a product, in Toman.

    A plan is a fixed credit line repaid in `months` installments, not sized to the product price:
    never present it as "this product for X a month".
Price historytool Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest.NetworkEnv vars
Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest.

    `lowest_2_days` is the lowest price held two days in a row (`lowest` can be a one-day dip). Days are Jalali.
Product details and offerstool Get one product's price, stock, rating, specs and every seller's offer (cheapest first).NetworkEnv vars
Get one product's price, stock, rating, specs and every seller's offer (cheapest first).

    An offer is one color/size from one seller; stock_left only when low; ships_by 'jet' = same-day
    Tehran/Karaj. lowest_price_30d can be a one-day dip (dk_price_history's lowest_2_days is steadier).
Product questions and answerstool Read customers' questions (20 per page) with up to 2 answers each (answered_by: buyer, seller, ...).NetworkEnv vars
Read customers' questions (20 per page) with up to 2 answers each (answered_by: buyer, seller, ...).

    Texts are cut to 300 characters (full_text=true: whole).
Product reviewstool Read customer reviews: stars 1-5 (null = none), text, pros/cons, verified buyer flag.NetworkEnv vars
Read customer reviews: stars 1-5 (null = none), text, pros/cons, verified buyer flag.

    Texts are cut to 300 characters, pros/cons to 5 of 80 (full_text=true: whole).
Re-check a shortlisttool Re-price up to 10 products in one call: price, cheapest offer, stock, rating and 30-day low (Toman).NetworkEnv vars
Re-price up to 10 products in one call: price, cheapest offer, stock, rating and 30-day low (Toman).

    `low_30d` is the lowest price held two days in a row, `vs_30d_low_pct` today's price above it.
Search groceriestool Search or browse Digikala Fresh (supermarket). category_code beats query and also returns sub-categories.NetworkEnv vars
Search or browse Digikala Fresh (supermarket). category_code beats query and also returns sub-categories.
Search productstool Search products by name: price (Toman), discount, seller, rating, 20 per page.NetworkEnv vars
Search products by name: price (Toman), discount, seller, rating, 20 per page.

    Each product has `match` ('all', 'some' + `missing_words`, 'none'); prefer 'all'.
    Filter ids: dk_filters(query=...).
Search suggestionstool Autocomplete a vague or misspelled query into keywords and categories.NetworkEnv vars
Autocomplete a vague or misspelled query into keywords and categories.
Seller profile and productstool Get a seller's reputation (rating 0-5, on-time shipping, cancellations, returns) and products.NetworkEnv vars
Get a seller's reputation (rating 0-5, on-time shipping, cancellations, returns) and products.

    Percentages are the share of good orders (100 = never late).
Similar productstool List products similar to one (same kind, other models and brands); sort='cheapest' for cheaper ones.NetworkEnv vars
List products similar to one (same kind, other models and brands); sort='cheapest' for cheaper ones.

Text the model reads (24)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

Search products tool
Search products by name: price (Toman), discount, seller, rating, 20 per page.

    Each product has `match` ('all', 'some' + `missing_words`, 'none'); prefer 'all'.
    Filter ids: dk_filters(query=...).
Find cheapest product tool
Find the cheapest in-stock products that really match a query, sorted by price (Toman).

    Keeps titles with every query word and drops accessories. Then dk_product on the winner:
    another seller may be cheaper.
Best picks for a budget tool
Rank the best-rated in-stock products within a budget (Toman) by a rating weighted by its count.

    A 5.0 from 3 buyers does not beat a 4.6 from 900. Use for "best X under Y".
Search suggestions tool
Autocomplete a vague or misspelled query into keywords and categories.
Filter options tool
List the filters of a category or a search: attributes, colors, sellers, price range (Toman), brands.

    Maps are {title: id}; an attribute with over 15 values has only `value_count` (call again with
    attribute_id). Pass the ids to dk_category_products or dk_search.
Find categories tool
Find category codes for dk_category_products and main-category ids for dk_best_sellers.

    No arguments lists the main categories. A parent category mixes in accessories: browse its leaf.
Browse a category tool
List one category's products with sort and filters (price in Toman), strict order.

    No text query. Filter ids: dk_filters(category_code=...).
Browse a brand tool
List a brand's products with sort and price filters (Toman), plus the brand id for brand_ids.

    One brand in one category: dk_category_products(brand_code=...).
Seller profile and products tool
Get a seller's reputation (rating 0-5, on-time shipping, cancellations, returns) and products.

    Percentages are the share of good orders (100 = never late).
Current deals tool
List today's Incredible Offers (flash deals), biggest discount first, in-stock only.

    deal_ends is Tehran time.
Best sellers tool
List current best sellers, overall or in one main category; also returns the main categories' ids for category_id.
Search groceries tool
Search or browse Digikala Fresh (supermarket). category_code beats query and also returns sub-categories.
Product details and offers tool
Get one product's price, stock, rating, specs and every seller's offer (cheapest first).

    An offer is one color/size from one seller; stock_left only when low; ships_by 'jet' = same-day
    Tehran/Karaj. lowest_price_30d can be a one-day dip (dk_price_history's lowest_2_days is steadier).
Price history tool
Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest.

    `lowest_2_days` is the lowest price held two days in a row (`lowest` can be a one-day dip). Days are Jalali.
Product reviews tool
Read customer reviews: stars 1-5 (null = none), text, pros/cons, verified buyer flag.

    Texts are cut to 300 characters, pros/cons to 5 of 80 (full_text=true: whole).
Product questions and answers tool
Read customers' questions (20 per page) with up to 2 answers each (answered_by: buyer, seller, ...).

    Texts are cut to 300 characters (full_text=true: whole).
Similar products tool
List products similar to one (same kind, other models and brands); sort='cheapest' for cheaper ones.
Compare products tool
Compare 2-4 products side by side: price and rating, then the spec rows where they differ.

    A `specs` row's `values` follow `products` order (null = no such spec); identical rows fold into `same_specs`.
Re-check a shortlist tool
Re-price up to 10 products in one call: price, cheapest offer, stock, rating and 30-day low (Toman).

    `low_30d` is the lowest price held two days in a row, `vs_30d_low_pct` today's price above it.
Installment plans tool
Get the Digipay credit-line offers for a product, in Toman.

    A plan is a fixed credit line repaid in `months` installments, not sized to the product price:
    never present it as "this product for X a month".
(name computed at run time) tool
Digikala Plus plans tool
List Digikala Plus plans (monthly free shipments; fresh = supermarket) with price in Toman and benefits.
Gold and coin prices tool
Get the live 18k gold price per gram and gold coin prices, in Toman.

    Period change, low and high cover ~3 months. A coin with price null is not for sale.
Find location tool
Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id.

    Prices are the same everywhere; location only affects delivery.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure8.9
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 24 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 24 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    23 of 24 capabilities call the network
Where the code is: 24 handlers in 4 files at commit c6b9dc154523
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies MEDIUM
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    mcp >=2.2,<3
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 24 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Environment variables
    23 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
opentelemetry-apiPyPI 1.45.0 MEDIUM 2 advisories 1.45.11.45.2
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
  • MEDIUMGHSA-xcq7-p3pf-p88h CVE-2026-114603OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKmcp >=2.2,<3
Servers in the code1 (digikala-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-11
Signed releasesnot checked yet

Where it is published

MCP Registryio.github.sepehr071/digikala-mcp
Listed in4 catalogs (github_search, glama, mcp_registry, mcp_toplist)
LicenseMIT
Created2026-10-03
Topicsai-agents claude claude-code cursor digikala e-commerce github-copilot iran mcp mcp-server

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.