Summary
stackmemoryai/stackmemory v2026-03-20 was classified as CRITICAL RISK with a risk score of 4661. Sigil detected 432 findings across 1266 files, covering phases including provenance, network exfiltration, install hooks, code patterns, obfuscation, credential access. Review the findings below before installing this package.
Package description: Stack memory for context between claude code sessions
v2026-03-20
21 March 2026, 00:30 UTC
by Sigil Bot
Risk Score
4661
Findings
432
Files Scanned
1266
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
HIGHMakefile/script pipes remote content to shell
repo/docs/archives/RELEASE_NOTES_v0.2.4.md:8
- **Claude Desktop Integration**: Full compatibility with Claude Desktop's MCP protocol
- **One-Line Setup**: `curl -fsSL https://raw.githubusercontent.com/stackmemoryai/stackmemory/main/scripts/setup-mcp.sh | bash`
- **Test Suite**: MCP protocol test client for validationWhy 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
HIGHMakefile/script pipes remote content to shell
repo/docs/archives/RELEASE_NOTES_v0.2.4.md:38
# Automated setup
curl -fsSL https://raw.githubusercontent.com/stackmemoryai/stackmemory/main/scripts/setup-mcp.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
HIGHMakefile/script pipes remote content to shell
repo/docs/releases/MCP_HOSTING_SUMMARY.md:12
### 2. Easy Setup Script (`scripts/setup-mcp.sh`)
- One-line installation: `curl -fsSL https://raw.githubusercontent.com/stackmemoryai/stackmemory/main/scripts/setup-mcp.sh | bash`
- Automatically installs StackMemory globallyWhy 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
HIGHMakefile/script pipes remote content to shell
repo/docs/releases/MCP_HOSTING_SUMMARY.md:39
# One command setup
curl -fsSL https://raw.githubusercontent.com/stackmemoryai/stackmemory/main/scripts/setup-mcp.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-npm-postinstall
CRITICALnpm lifecycle script — runs automatically on install
repo/external/zeroshot-main/package.json:20
"test:coverage:report": "c8 --reporter=html npm run test:unit && echo 'Coverage report generated at coverage/index.html'",
"postinstall": "node scripts/fix-node-pty-permissions.js",
"start": "node cli/index.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.
install-npm-postinstall
CRITICALnpm lifecycle script — runs automatically on install
repo/package.json:100
"setup": "npm install && npm run build && npm run init",
"postinstall": "node scripts/install-claude-hooks-auto.js || true",
"init": "node dist/scripts/initialize.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.
install-makefile-curl
HIGHMakefile/script pipes remote content to shell
repo/scripts/opencode-wrapper.sh:82
echo "❌ OpenCode not found. Please install it first."
echo " Run: curl -fsSL https://opencode.ai/install | bash"
echo " Or: npm install -g opencode-ai"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.
Badge
Markdown
[](https://sigilsec.ai/scans/8F2F9493-1E73-4B67-9CFE-3328D89F6B2F)HTML
<a href="https://sigilsec.ai/scans/8F2F9493-1E73-4B67-9CFE-3328D89F6B2F"><img src="https://sigilsec.ai/badge/github/stackmemoryai/stackmemory" alt="Sigil Scan"></a>Run This Scan Yourself
Scan your own packages
Run Sigil locally to audit any package before it touches your codebase.
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 github scans
Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.