Security Certification Data API

Served from the CDN (2026-11-11). This endpoint's canonical address is https://cdn.dsh.so/artifact/@author/plugin.json; the bytes come straight from Cloudflare R2. https://www.dsh.so/artifact/@author/plugin.json still answers, but only as a 307 redirect to the same object — use the CDN address in new code. (Browser note: the CDN follows the bucket's CORS rules, which admit the www.dsh.so / dsh.so origins; curl and server-side clients are unaffected.)

Machine-readable security review results per plugin, in two layers — deterministic static scan records (verdict, counts, concrete findings, scan state levels, version binding) plus model-driven dynamic security audit conclusions — when a conclusion exists it is authoritative for the combined verdict (it may raise or lower it); without one the static scan tier (vet primary, dsh backstop) applies. The audit script never writes the exemption list (exemptions stay manual). All data is static, cached, and free to reuse with attribution.

Endpoints
URLDescriptionUpdate
https://cdn.dsh.so/data/security-scan.schema.jsonJSON Schema for the scan-record format — machine-readable contract for field validation (also validates the internal data file)append-only updates
/artifact/@author/plugin.jsonPer-plugin JSON — derived scan state + full scan record (verdict / counts / categories / findings) + version infodaily 01:10 Beijing (17:10 UTC)
https://cdn.dsh.so/plugins-index.jsonRegistry summary — every plugin's status / risk level (low / medium / high / critical, or unknown with no scan yet) / counts (no findings detail). Docs: /data/plugins-index/daily 01:10 Beijing (17:10 UTC)

JSON endpoints allow cross-origin reads: Access-Control-Allow-Origin: *. No API key or registration is required. Plugins without a scan record return 404.

Scan state levels

Derived from the scan verdict via deriveBadgeState (src/scripts/badge-state.ts). Evaluation order: outdated → critical → high-risk → warning → stale → passed → unscanned.

LevelConditionMeaning
criticalverdict = failCritical findings in blocking categories (secrets / network / destructive / mining) — badge label critical
high-riskverdict = warn && critical > 0Non-blocking critical findings (code-exec / shell / install / obfuscation) — shown as needs-review, badge label high
warningverdict = warn && critical = 0Warning-level findings only — badge label warning
passedverdict = passNo critical/warning findings (info allowed)
outdatedscan.commitSha ≠ plugin.latestCommitSha && scannedAt > 7d agoRepo has newer commits and the scan is older than 7 days; result no longer describes current code
stalepassed && scannedAt > 30d agoLast passing scan is older than 30 days
unscannedno scan recordNot yet scanned (new plugin or scan failure)
scopeExcludedtrue when the entry is outside the scanning scope (for example not yet through L4 install testing, or the discovery topic was removed)Follows the existing policy: the entry does not participate in the registry-wide risk statistics and is not given a published risk-badge value (the badge reads unknown). This is a policy exclusion, not a tier fallback — the authoritative tier for every entry is the plugin detail page and the per-plugin JSON
Risk levels

The published risk tier is one value out of four levels, derived from finding counts rather than from a verdict string (single source of truth src/data/risk-level.ts). It is published as security.riskLevel in /plugins-index.json; the tier of a recorded dynamic conclusion appears as dynamicOverride.level in the per-plugin JSON.

LevelConditionMeaning
criticalAt least one critical (blocking-level) findingBlocking-level severity — do not install
highAt least one high-severity finding, none criticalNon-blocking severe findings or high-risk shapes that need review — read the evidence before installing
mediumAt least one medium or warning-level finding, none higherModerate findings — review the report before installing
lowNone of the aboveNo findings at these severities
unknownNo scan record yetTier unknown — not a pass, never read as low

Order is low < medium < high < critical. With a dynamic conclusion in effect the tier is the tier of that conclusion's finding counts; without one it is the static scan tier (vet primary, dsh backstop). Entries outside the scanning scope keep their historical tier but are flagged scopeExcluded and excluded from the registry-wide statistics (exemptions live in a separate hand-maintained list and never change a tier).

Fields
FieldTypeSemantics
verdictpass|warn|failScan conclusion (see levels above)
countsobjectFinding counts by severity: critical / warning / info
criticalByCategoryobjectCritical findings grouped by category (shell, code-exec, secrets, network, destructive, obfuscation, install, mining)
findingsarrayConcrete findings — ruleId / severity / category / file / line / snippet, capped at 12 per plugin
filesScannedintegerSource files scanned (capped at 15)
scannerVersionstring | nullRuleset content fingerprint (e.g. dsh-static:xxxxxxxx) — identifies which rule set this scan ran under; same fingerprint = same rules, so consumers can align or reproduce the result. May be null for records scanned before this field was persisted (backfilled by the daily full rescan)
rulesCheckedinteger | nullRules from the set that actually ran against at least one file (doc-only repos skip skipInDocs rules, so this may be below the full set size). Together with scannerVersion it makes coverage perceivable. May be null for legacy records
scannedAtstring (ISO)When the scan ran
commitShastring | nullHEAD commit SHA at scan time — result valid only for this revision
pkgVersionstring | nullPlugin's own version from package.json (zero-cost extraction)
pkgDshbooleanWhether the repo declares a dsh manifest (package.json dsh field)
latestCommitShastring | nullRegistry's latest known HEAD (updated by update-plugins; used for outdated detection)
latestReleaseTagstring | nullLatest GitHub release tag (plugin's published semantic version)
dynamicAuditobject | nullPer-plugin conclusion of the model-driven dynamic security audit — null when the plugin has no dynamic-audit record (see Dynamic security audit)
dynamicOverrideobject | nullThe dynamic conclusion recorded for this plugin (null when it has none): level (the 4-tier tier that conclusion maps to — low / medium / high / critical, see Risk levels), mode (raised / lowered / same versus the static verdict), verdict, staticVerdict, auditedAt, active (false once a human review withdrew it) and review
dynamicEscalatedbooleantrue = an in-effect dynamic conclusion raised the published site risk tier (tiers come from the audit's finding counts — see Risk levels); false/absent = no raise in effect, though the tier may still follow a lowering conclusion recorded in dynamicOverride (see Tier changes and review)
dynamicEscalatedAtstring (ISO) | nullWhen the tier change in effect was produced (auditedAt of that audit); null when no tier change is in effect
dynamicEscalationReviewwithdrawn | confirmed | nullHuman review verdict on that dynamic conclusion — withdrawn = reviewed and withdrawn, so the tier falls back to the static scan value (vet primary, dsh backstop); confirmed = reviewed and kept; null = not reviewed. The static verdict is not affected either way

latestCommitSha and latestReleaseTag are plugin-level metadata from plugins.json, exposed through per-plugin JSON for convenience. They may be null while the pipeline backfills discovery data.

Boundary: findings rows (rule id / file / line / snippet) are per-plugin evidence so authors can see what triggered and contest it — they describe this plugin's code, not how the scanner's rules are implemented. Rule implementations stay private; only the rule-set fingerprint (scannerVersion) is published.

Dynamic security audit

A second layer runs on top of the static scan: a model-driven dynamic security audit. The pipeline harvests a bounded snapshot of the plugin's source, drops secret-looking files, redacts inline secrets, and hands the sanitized snapshot to a model for context review — runtime intent, whether a suspicious list is defensive or offensive, whether risky code is actually reachable. Like the static scan, it never executes plugin code. Conclusive audits are written to dynamicAudit in the per-plugin JSON; audit reports themselves are internal artifacts with no public URL.

FieldTypeSemantics
statuscompleted | errorcompleted = the audit has a conclusion; error = harvest or model call failed, so there is no conclusion
verdictpass|warn|fail | nullThe dynamic audit's own verdict
staticVerdictpass|warn|fail | nullThe static verdict in force when the audit ran
combinedVerdictpass|warn|fail | nullPublished combined verdict = the dynamic verdict when the audit has a conclusion (it may be stricter or softer than the static verdict), otherwise the static scan tier (vet primary, dsh backstop); order pass < warn < fail
escalatedbooleantrue = the dynamic verdict is stricter than the static verdict (an upward tier change); false when it is more lenient, in which case the tier moves down
auditedAtstring (ISO) | nullWhen the audit ran — set even for error records, so it does not by itself mean the audit concluded
findingsarrayPer-finding detail (sorted by severity, max 8): severity / category / title / file + line / impact / remediation — the evidence behind a fail/warn verdict. Empty array when status='error'
countsobject | nullFinding counts the model reported: critical / high / medium / low
summarystring | nullThe model's conclusion summary
modelstring | nullThe model id that produced the conclusion
source{ basis, revision } | nullThe artifact the audit actually read: basis = npm or git, revision = the npm version or commit SHA. A conclusion is only valid for that revision — compare it with the current release / commit before quoting it
stalebooleantrue = the audited artifact is no longer the current one (loaded from security-scan.json). The conclusion is kept for the tier conservatively and is queued for re-audit automatically; it is replaced when that audit lands
currentArtifact{ basis, revision } | nullThe artifact the current static scan read — the comparison baseline for stale

status = 'error' means the record carries no conclusion: verdict, combinedVerdict and counts are null, and the record must never be read as a pass. Plugins with no audit record at all — the common case, since the queue is a subset — have dynamicAudit: null.

Coverage. The dynamic-audit queue takes plugins whose static 4-level tier is medium or above (medium / high / critical) — since 2026-10-24 the gate was raised: entries the static tier rates low (typically vet-clean plugins whose dsh-only rules logged warnings) are no longer queued. So it is a subset of the static scan, not the whole registry. Harvest and model-call failures are recorded without a conclusion. Current state at build time: 2968 plugins have a dynamic-audit record — 2391 completed with a conclusion (305 fail / 1222 warn / 864 pass) and 577 without one; 335 audits ended stricter than the static verdict and 802 softer — both directions really set the published tier — the dynamic conclusion is authoritative either way.

Tier change: the dynamic conclusion really moves the site tier. When there is a dynamic conclusion, the plugin's site risk tier is the tier of that conclusion's finding counts: any critical finding sets critical (red badge; list filters, sorting, and registry-wide statistics follow), otherwise any high finding sets high, otherwise any medium finding sets medium, otherwise low — so a conclusion more lenient than the static scan lowers the tier accordingly. The static scan tier (vet primary, dsh backstop) applies only when there is no dynamic conclusion. The per-plugin JSON exposes this through dynamicEscalated, dynamicEscalatedAt and dynamicEscalationReview. Only an audit with status = 'completed' carries a conclusion and can change the tier: a status = 'error' record carries no conclusion, so it changes nothing and is never read as a pass. Scope limit: entries outside the scanning scope (scopeExcluded) follow the existing policy — a raise still sets their recorded tier, but they do not participate in the registry-wide risk statistics and are given no published risk-badge value (the badge reads unknown, not a tier fallback). For every entry, the authoritative tier is the plugin detail page and the per-plugin JSON.

Manual correction: withdrawing a dynamic conclusion. The model can also be wrong, so every tier change has a hand-maintained correction path: a human review records the plugin in the dynamic-escalation-review table (src/data/dynamic-escalation-review.json, contract in its JSON Schema) with decision: 'withdrawn', plus a reason and reviewedAt. That conclusion stops moving the site tier and the plugin falls back to its static scan tier (vet primary, dsh backstop); the static verdict itself is unchanged, because what is withdrawn is the dynamic conclusion, not the static findings. decision: 'confirmed' keeps a reviewed conclusion in place. The table is maintained by hand — the dynamic-audit pipeline never writes it. Build-time state: 2390 tier changes in effect, 1 withdrawn by human review. A withdrawal takes effect immediately — no pipeline recomputation is needed: the tier drops back as soon as the entry is committed, the detail page and the per-plugin JSON show the reverted tier on the next build, and the badge index catches up on its next refresh.

Artifact staleness: a conclusion is only current for the revision it audited. The audit reads a cached artifact (npm tarball or git snapshot) and records it as source; the comparison baseline comes from the latest static scan. When the two differ, the conclusion is marked stale and queued for re-audit automatically — including plugins whose static tier has since fallen below the audit-entry threshold, the exact case that used to leave an old conclusion frozen on the site. A stale conclusion is kept for the published tier conservatively (it is not silently dropped to the static tier without fresh evidence), so a version bump alone never erases a finding; the tier updates when the re-audit lands. The per-plugin JSON exposes this as stale / currentArtifact.

Merging: the dynamic conclusion is authoritative, and it can go either way. When there is a dynamic conclusion the published tier is that conclusion — stricter or more lenient than the static verdict: the model may judge a finding less severe than the static rules did (for example confirming a false positive), and the tier drops accordingly. The static scan tier (vet primary, dsh backstop) applies only when there is no dynamic conclusion. A dynamic conclusion is never an exemption: exemptions exist only in the hand-maintained list security-scan-suppressions.json, and the dynamic-audit pipeline never writes one; a human review that records withdrawn falls back to the static scan tier.

Read it from the per-plugin JSON — GET https://cdn.dsh.so/artifact/@author/plugin.json, the same endpoint as the static record (see Usage). Dynamic-audit numbers above are derived at build time from the committed audit data (snapshot November 24, 2026) with engine deepseek/deepseek-v4.1-flash and change with every pipeline run.

Version binding

A scan result only describes the code at commitSha (the revision it ran on). New commits within 7 days are tolerated (the rating still counts); if the repository keeps moving and the scan is older than 7 days, the state degrades to outdated until the daily pipeline rescans. This prevents "certified-then-poisoned" scenarios.

Dispute a scan result

Scan verdicts come from deterministic static rules and can misfire — false positive, wrong basis, or a stale revision. Plugin authors can contest a result through the feedback page (filed as a tracked issue, no GitHub account needed). Include the plugin id, the scan's commitSha, the offending ruleId and a short reason; maintainers review and schedule a re-scan. Dynamic audit conclusions can be contested the same way — they are model output and can be wrong — but a dispute never bypasses the dynamic conclusion: until a human review changes the record, the published tier follows the audit's finding counts (any critical finding means critical, otherwise any high finding means high, otherwise any medium finding means medium, otherwise low). A human review that judges the conclusion wrong — whether it raised or lowered the tier — records it as withdrawn in the dynamic-escalation-review table: the tier falls back to the static scan tier (vet primary, dsh backstop) and the static verdict is unchanged.

Usage

Query one plugin (or open /artifact/@dsh-so/dsh-code-security.json in a browser):

curl https://cdn.dsh.so/artifact/@dsh-so/dsh-code-security.json

Security scan data is aggregated from public GitHub repositories by the dsh.so pipelines: incremental discovery every 2h at Beijing even hours (02:00-22:00), manual submissions on Beijing odd hours (03:00-23:00), full refresh daily at 00:00 Beijing, and security scan daily at 01:10 Beijing. Fields are append-only: existing fields are never removed or renamed, and new fields are added with a schema update. Per-plugin JSON and the schema are free to reuse with attribution to dsh.so. Check changelog for additions.

Was this page helpful?