Static Scan Results
scanned 5d ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkWebSocket
HighEntropyStringsUrlStrings
Source & flagged code
1 flagged · loading sourcedist/tools/web.jsView file
24/^127\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/, // 127.x.x.x (localhost range)
L25: /^10\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/, // 10.x.x.x (private class A)
L26: /^192\.168\.(\d{1,3})\.(\d{1,3})$/, // 192.168.x.x (private class C)
...
L180: // Issue #20 修复:启用 redirect: 'follow' 自动跟随重定向
L181: const response = await fetch(url, {
L182: headers: {
...
L214: }
L215: const text = await response.text();
L216: // Convert to markdown if HTML
...
L436: output: result.output,
L437: metadata: { source: 'websearch-mcp', provider: result.provider, endpoint: result.endpoint, tool: result.toolName },
L438: };
High
Cloud Metadata Access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/tools/web.jsView on unpkg · L24Findings
1 High3 Medium5 Low
HighCloud Metadata Accessdist/tools/web.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings