registry  /  doc-fetch-cli  /  2.5.2

doc-fetch-cli@2.5.2

Dynamic documentation fetching CLI that converts entire documentation sites to single markdown files for AI/LLM consumption

Static Scan Results

scanned 5h ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 10 file(s), 22.0 KB of source, external domains: docfetch.dev, docs.example.com, github.com, golang.org, www.google.com, www.sitemaps.org, www.w3.org

Source & flagged code

5 flagged · loading source
package.jsonView file
scripts.postinstall = node ./bin/postinstall.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node ./bin/postinstall.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/install.jsView file
3const path = require('path'); L4: const { execSync } = require('child_process'); L5: const fs = require('fs');
High
Child Process

Package source references child process execution.

bin/install.jsView on unpkg · L3
bin/doc-fetch.jsView file
53console.error(' npm uninstall -g doc-fetch-cli'); L54: console.error(' npm install -g doc-fetch-cli@latest'); L55: process.exit(1); ... L60: // Spawn the Go binary L61: const child = spawn(binaryPath, args, { L62: stdio: 'inherit'
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

bin/doc-fetch.jsView on unpkg · L53
doc-fetch_linux_amd64View file
path = doc-fetch_linux_amd64 kind = native_binary sizeBytes = 9162279 magicHex = [redacted]
Medium
Ships Native Binary

Package ships native binary artifacts.

doc-fetch_linux_amd64View on unpkg

Findings

4 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/install.js
HighShell
HighRuntime Package Installbin/doc-fetch.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumShips Native Binarydoc-fetch_linux_amd64
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings