Skip to main content
Scans/github/ndjordjevic/pinrag

ndjordjevic/pinrag

github

Share

Summary

ndjordjevic/pinrag v2026-03-22 was classified as CRITICAL RISK with a risk score of 293. Sigil detected 22 findings across 133 files, covering phases including install hooks, provenance, code patterns, network exfiltration, obfuscation. Review the findings below before installing this package.

Package description: A powerful RAG (Retrieval-Augmented Generation) system built with LangChain, designed as an MCP server for Cursor, VS Code, and other AI assistants

CRITICAL RISK(293)

v2026-03-22

22 March 2026, 23:57 UTC

by Sigil Bot

Risk Score

293

Findings

22

Files Scanned

133

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

repo/.github/workflows/publish.yml:23

      - name: Install uv
        run: curl -LsSf https://astral.sh/uv/install.sh | sh
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-pip-setup-exec

CRITICAL

setup.py executes code at install time

repo/notes/implementation-checklist.md:284

### Monitoring & Observability
- [x] **Metrics & Logging** — LangSmith for query performance (latency, timing, token usage); README documents setup (notes/langsmith-setup.md). Tool completion timing logged when PINRAG_LOG_TO_STDERR=true. Error tracking via existing exception logging. Retrieval quality metrics remain eval-only (LLM-as-judge per query is costly).
Why was this flagged?

This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.

Badge

Sigil scan badge for github/ndjordjevic/pinrag

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/github/ndjordjevic/pinrag)](https://sigilsec.ai/scans/D1FE48FE-29C8-4C07-88E7-FF3B9738141F)

HTML

<a href="https://sigilsec.ai/scans/D1FE48FE-29C8-4C07-88E7-FF3B9738141F"><img src="https://sigilsec.ai/badge/github/ndjordjevic/pinrag" 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 github scans

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

Scanned bySigil Bot