Skip to content

Scan rules

DSH Universe statically checks each new plugin version. It downloads the npm tarball or GitHub commit archive and analyzes source files in memory. It never executes plugin code.

RuleWhat it checksRisk levels
Install scriptspreinstall, install, and postinstall are high risk. prepare is low risk.Low, High
Child processesImporting child_process is medium risk. Building a dynamic command for exec or execSync is high risk.Medium, High
Network accessNetwork calls are low risk. Calls to literal IP addresses or known relay services are high risk.Low, High
Environment variables and sensitive pathsReading an individual variable is low risk. Enumerating the environment is medium risk. Referencing a sensitive path is high risk.Low, Medium, High
Obfuscation and dynamic executionDynamic execution, long lines, and long encoded strings are medium risk individually. Two or more categories in one file are high risk.Medium, High
Direct dependenciesMore than 30 direct dependencies is low risk. A direct dependency from a non-registry source is medium risk.Low, Medium

Findings include the rule, its risk level, and the file and line when available.

How do findings affect a version’s rating?

Section titled “How do findings affect a version’s rating?”

When a scan completes without medium- or high-risk findings, the version is marked Scanned. Medium- or high-risk findings give the version a Warning rating. Low-risk findings are shown on the version without changing its rating.

Archives whose download exceeds 3 MiB skip deep scanning. The version remains Listed.

Check the rule and source location in the plugin’s security details. Describe why the plugin needs the capability in its README, then follow the report and appeal guide. If the capability is unnecessary, remove it and publish a new version so the scanner can check the change.