Skip to main content
Scans/npm/@contextstream/mcp-server

@contextstream/mcp-server

npm

Share

Summary

@contextstream/mcp-server v0.4.66 was classified as CRITICAL RISK with a risk score of 851. Sigil detected 37 findings across 30 files, covering phases including network exfiltration, install hooks, code patterns, obfuscation. Review the findings below before installing this package.

CRITICAL RISK(851)

v0.4.66

26 March 2026, 22:09 UTC

by Sigil Bot

Risk Score

851

Findings

37

Files Scanned

30

Provenance

Findings by Phase

Phase Ordering

Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:1098

When mentioning the update, provide these commands (user can choose their preferred method):
- macOS/Linux: curl -fsSL https://contextstream.io/scripts/setup.sh | bash
- Windows: irm https://contextstream.io/scripts/setup.ps1 | iex
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:1184

        command = "bash";
        args = ["-c", "curl -fsSL https://contextstream.io/scripts/setup.sh | bash"];
        shell = false;
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:1263

      npm: "npm install -g @contextstream/mcp-server@latest",
      macLinux: "curl -fsSL https://contextstream.io/scripts/setup.sh | bash",
      windows: "irm https://contextstream.io/scripts/setup.ps1 | iex"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:2742

  2. Provide update commands (user chooses preferred method):
     - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
     - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:3108

- **[VERSION_NOTICE]** or **[VERSION_CRITICAL]**: Tell user about the update in a helpful, non-annoying way. Provide update commands:
  - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
  - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/runner.js:3339

\`\`\`bash
curl -fsSL https://contextstream.io/scripts/setup.sh | bash
\`\`\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:24

  npm: "npm install -g @contextstream/mcp-server@latest",
  macLinux: "curl -fsSL https://contextstream.io/scripts/setup.sh | bash",
  windows: "irm https://contextstream.io/scripts/setup.ps1 | iex"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:176

When mentioning the update, provide these commands (user can choose their preferred method):
- macOS/Linux: curl -fsSL https://contextstream.io/scripts/setup.sh | bash
- Windows: irm https://contextstream.io/scripts/setup.ps1 | iex
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:262

        command = "bash";
        args = ["-c", "curl -fsSL https://contextstream.io/scripts/setup.sh | bash"];
        shell = false;
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:653

  2. Provide update commands (user chooses preferred method):
     - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
     - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:1019

- **[VERSION_NOTICE]** or **[VERSION_CRITICAL]**: Tell user about the update in a helpful, non-annoying way. Provide update commands:
  - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
  - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/session-init.js:1250

\`\`\`bash
curl -fsSL https://contextstream.io/scripts/setup.sh | bash
\`\`\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/user-prompt-submit.js:17

  npm: "npm install -g @contextstream/mcp-server@latest",
  macLinux: "curl -fsSL https://contextstream.io/scripts/setup.sh | bash",
  windows: "irm https://contextstream.io/scripts/setup.ps1 | iex"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/hooks/user-prompt-submit.js:169

When mentioning the update, provide these commands (user can choose their preferred method):
- macOS/Linux: curl -fsSL https://contextstream.io/scripts/setup.sh | bash
- Windows: irm https://contextstream.io/scripts/setup.ps1 | iex
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:247

When mentioning the update, provide these commands (user can choose their preferred method):
- macOS/Linux: curl -fsSL https://contextstream.io/scripts/setup.sh | bash
- Windows: irm https://contextstream.io/scripts/setup.ps1 | iex
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:350

        command = "bash";
        args = ["-c", "curl -fsSL https://contextstream.io/scripts/setup.sh | bash"];
        shell = false;
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:429

      npm: "npm install -g @contextstream/mcp-server@latest",
      macLinux: "curl -fsSL https://contextstream.io/scripts/setup.sh | bash",
      windows: "irm https://contextstream.io/scripts/setup.ps1 | iex"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:3818

  2. Provide update commands (user chooses preferred method):
     - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
     - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:4184

- **[VERSION_NOTICE]** or **[VERSION_CRITICAL]**: Tell user about the update in a helpful, non-annoying way. Provide update commands:
  - macOS/Linux: \`curl -fsSL https://contextstream.io/scripts/setup.sh | bash\`
  - Windows: \`irm https://contextstream.io/scripts/setup.ps1 | iex\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/index.js:4415

\`\`\`bash
curl -fsSL https://contextstream.io/scripts/setup.sh | bash
\`\`\`
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

package/dist/test-server.js:4058

  npm: "npm install -g @contextstream/mcp-server@latest",
  macLinux: "curl -fsSL https://contextstream.io/scripts/setup.sh | bash",
  windows: "irm https://contextstream.io/scripts/setup.ps1 | iex"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-npm-postinstall

CRITICAL

npm lifecycle script — runs automatically on install

package/package.json:34

    "prepublishOnly": "npm run build",
    "postinstall": "node scripts/postinstall.js"
  },
Why was this flagged?

npm lifecycle scripts like postinstall run automatically during package installation with no user interaction required. This is the #1 attack vector for malicious npm packages — attackers embed data theft or backdoor installation in these hooks. Rated CRITICAL because code executes before the developer can review it.

Badge

Sigil scan badge for npm/@contextstream/mcp-server

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/npm/@contextstream/mcp-server)](https://sigilsec.ai/scans/1200DA67-42A3-4B1D-B499-E6AAED02D077)

HTML

<a href="https://sigilsec.ai/scans/1200DA67-42A3-4B1D-B499-E6AAED02D077"><img src="https://sigilsec.ai/badge/npm/@contextstream/mcp-server" alt="Sigil Scan"></a>

Run This Scan Yourself

Scan your own packages

Run Sigil locally to audit any package before it touches your codebase.

curl -sSL https://sigilsec.ai/install.sh | sh
Read the docs →Free. Apache 2.0.

Early Access

Get cloud scanning, threat intel, and CI/CD integration.

Join 150+ developers on the waitlist.

Get threat intelligence and product updates

Security research, new threat signatures, and product updates. No spam.

Other npm scans

Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.

Scanned bySigil Bot