New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dsh-reverse-image-search

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-reverse-image-search

Search by image for DeepSeek Harness: give it a picture, get back what it shows and where it comes from. Keyless and proxy-free, driven through Baidu 识图.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

English | 中文

Search by image for DeepSeek Harness. The query is a picture, not words: give it an avatar, a screenshot, a photo, or a product shot, and it returns what the image shows and where it appears on the web.

This is the opposite direction from a text image search. DSH's web_search already covers "find pages by words", and multimodal input already covers "tell me what this image is"; neither can look a picture up. This plugin adds that missing direction.

Tools

image_search({ image_path: "attachments/avatar.png" })
image_search({ image_url: "https://example.com/photo.jpg", limit: 12 })
image_download({ url: "<thumbnailUrl from the result>", path: "assets/match.jpg" })
Result fieldMeaning
recognitionThe engine's one-line reading, for example "图中可能是戴眼镜男子卡通头像".
imagesSimilar images, each with thumbnailUrl and usually pageUrl.
pagesExternal pages referencing the image or a near match, with host.
engine, resultUrlWhich engine ran, plus the live result page.
notesWhat the engine does not guarantee, including a changed-layout warning.

Exactly one of image_path or image_url is required; a text query is rejected.

Engine

Baidu 识图 (graph.baidu.com). It is the only reverse-image engine that answers from the reference network without an API key and without an outbound proxy:

EngineDirect?Why not used
Baidu 识图yesused
Yandex imagesyes, but captchaSmartCaptcha on the reference network
Bing visual searchupload endpoint gone/images/searchbyimage/upload answers 404
Sogou 识图no upload entryno file input on the page
Google Lens, TinEyeunreachable directlywould need the proxy the user does not run

Baidu publishes no keyless reverse-image API, so the plugin drives the page with a real browser: it opens the entry page, hands the image to the page's file input, and reads the recognition phrase and similar-image grid from the rendered result. Baidu can change its layout, rate-limit, or disable the service; the tool then reports what it actually saw instead of inventing a match.

Requirements

  • playwright (installed with the plugin) and a browser: Playwright's bundled Chromium, or an installed Google Chrome / Microsoft Edge. DSH_IMAGE_SEARCH_BROWSER pins a channel; DSH_IMAGE_SEARCH_HEADLESS=false shows the window.
  • Network access to graph.baidu.com.

Install

dsh plugin --profile <profile> add dsh-reverse-image-search
dsh plugin --profile <profile> add ./packages/reverse-image-search

Verification

node scripts/check.mjs
node scripts/verify-plugins.mjs

The adapter was exercised against the live page with a real 150×150 avatar: the upload succeeded, the result page carried 图中可能是戴眼镜男子卡通头像, and the similar-image grid parsed into records.

Keywords

dsh

FAQs

Package last updated on 30 Sep 2026

Related posts