registry  /  kafecms  /  0.30.1

kafecms@0.30.1

Astro-native CMS with WordPress migration support

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 9 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 926 file(s), 6.35 MB of source, external domains: challenges.cloudflare.com, cloudflare-dns.com, cron.kafecms.internal, kafecms.com, marketplace.kafecms.com, schema.org, www.google.com, www.sitemaps.org, www.w3.org

Source & flagged code

2 flagged · loading source
dist/cli/index.mjsView file
985const types = await client.schemaTypes(); L986: const { writeFile, mkdir } = await import("node:fs/promises"); L987: const { resolve: resolvePath, dirname } = await import("node:path");
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/cli/index.mjsView on unpkg · L985
dist/ssrf-DWqC5Zi3.mjsView file
4* L5: * Validates that URLs don't target internal/private network addresses. L6: * Applied before any fetch() call in the import pipeline. L7: */ ... L196: if (hasProperty(raw, "Answer") && Array.isArray(raw.Answer)) { L197: for (const entry of raw.Answer) if (hasProperty(entry, "data") && typeof entry.data === "string") answers.push({ data: entry.data }); L198: } ... L205: * Resolve a hostname via DNS over HTTPS (Cloudflare). Returns all A and AAAA L206: * records. Works in both Workers and Node without requiring node:dns. L207: * ... L224: if (!response.ok) throw new Error(`DoH lookup failed: ${response.status}`); L225: const body = parseDohResponse(await response.json());
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

dist/ssrf-DWqC5Zi3.mjsView on unpkg · L4

Findings

1 High4 Medium4 Low
HighCloud Metadata Accessdist/ssrf-DWqC5Zi3.mjs
MediumDynamic Requiredist/cli/index.mjs
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings