DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

lengrufeng2008 /

lengrufeng2008/dsh-skill-scan

Verified

Static, read-only security first pass for DSH skills and plugin bundles.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@05c5359b

Skill Scan for DSH

A static first pass for third-party skills and plugin bundles. Inspired by NVIDIA SkillSpector's supply-chain idea, implemented as a small DSH tool plus a CLI. It does not execute the bundle.

What it finds

  • Instruction override / exfiltration language
  • curl ... | sh remote shell
  • destructive root/home delete
  • credential paths (.ssh/id_rsa, .aws/credentials)
  • eval / new Function
  • long encoded payloads
  • hidden Unicode (bidi/zero-width)
  • package lifecycle scripts
  • !!js in Cordis patches

CLI

node bin/dsh-skill-scan.mjs /path/to/bundle
node bin/dsh-skill-scan.mjs /path/to/bundle --json

Exit 1 on a BLOCK, 0 on PASS/WARN, 2 on invalid input.

DSH plugin

dsh plugin --profile web add /home/lrf/dsh/products/dsh-skill-scan

Then ask: “Use skill_scan on this bundle.” The tool is read-only.

What a result means

PASS means no finding under these heuristics. It is not proof of safety. BLOCK means a high finding needs an explanation before installation. Read the exact file and line; the scanner is not a sandbox, AST taint engine, OSV lookup, or runtime monitor.

False positives are possible: a security document may quote an attack, and a legitimate package may use a lifecycle script. Context matters.

Tests

npm test

The fixtures include a deliberately unsafe bundle; the test only reads it as text and never executes it.

Provenance

Inspired by NVIDIA SkillSpector; no source code copied. See NOTICE.md. License: MIT.

—/ 5

No ratings yet

Verified DSH bundle

Commit 05c5359b03b9

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout