scan-repo

Scan repositories for malicious patterns and credential exposures using Sigil CLI.

5|2|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/NOMARJ/sigil --skill scan-repo-nomarj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scan-repo
Source: https://github.com/NOMARJ/sigil/tree/main/plugins/claude-code/skills/scan-repo
Command: npx skills add https://github.com/NOMARJ/sigil --skill scan-repo-nomarj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents execution of malicious or unsafe code by scanning repositories and directories for install hooks, dynamic execution patterns, network exfiltration, and exposed credentials before they enter your working environment.

Core Features & Use Cases

  • Sigil CLI scanning: Run deterministic scans to detect install-time hooks, eval/exec usage, dynamic imports, and other suspicious code patterns.
  • Network and secrets detection: Identify outbound HTTP/webhook activity, socket usage, DNS tunneling patterns, and exposed API keys or credentials.
  • Risk scoring and guidance: Provide a clear risk score and verdict (CLEAN, LOW, MEDIUM, HIGH, CRITICAL) with recommended approve/reject actions for CI, local audits, or agent skill review workflows.
  • Use Case: Audit a newly cloned repository, a downloaded agent skill, or a package before installing it into a development or production environment.

Quick Start

Run the Sigil scan on the target path and return the findings, risk score, and a recommended approve or reject action.

Frequently Asked Questions about scan-repo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a repository for malicious code before running it?

You can scan cloned repositories for malicious patterns by providing the target directory path to the Sigil CLI scanner. It detects install hooks, dynamic execution, network exfiltration, and credential exposures, returning a risk score and verdict.

How do I check a downloaded AI agent skill for install hooks and credential exposure?

Checking a downloaded AI agent skill for install hooks and credential exposure involves scanning the package directory for malicious patterns. The scanner identifies outbound HTTP activity, socket usage, eval/exec patterns, and exposed API keys with a recommended approve or reject action.

What is repository risk scoring and how does it work for code audits?

Repository risk scoring for code audits evaluates detected malicious patterns to generate a verdict of CLEAN, LOW, MEDIUM, HIGH, or CRITICAL. It surfaces findings with recommended approve or reject actions for CI pipelines, local audits, or agent skill review workflows.

Can I audit a suspicious package for network exfiltration and DNS tunneling without dependencies?

Yes, you can audit a suspicious package for network exfiltration and DNS tunneling patterns without dependencies. The scanner requires only the target path to run and identifies outbound HTTP/webhook activity, socket usage, and dynamic imports deterministically.

When do I need to scan directories for malicious patterns before installing dependencies?

You need to scan directories for malicious patterns before installing dependencies when reviewing cloned repositories, downloaded agent skills, or packages before they enter your development or production environment to prevent execution of unsafe code.