npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sentinelci

v1.0.9

Published

AI-Powered Security Scanning and Autonomous Remediation Platform

Readme

SentinelCI

AI-Powered Security Scanning and Autonomous Remediation Platform

PyPI version Python 3.11+ License: MIT

SentinelCI is an advanced security scanning platform that combines AI-powered analysis with autonomous remediation capabilities. It detects vulnerabilities, security misconfigurations, and compliance issues across your codebase and CI/CD pipelines, then automatically creates fixes and pull requests.

🚀 Quick Start

Installation

Python (Recommended):

pip install sentinelci

NPM:

npm install -g sentinelci

Important: PATH Configuration

After installing via pip, if the sci command is not found, you need to add Python's Scripts directory to your PATH:

Windows:

# The warning message will show you the exact path, typically:
# C:\Users\YourName\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_xxx\LocalCache\local-packages\Python311\Scripts

# Add to PATH temporarily (current session):
$env:PATH += ";C:\Users\YourName\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_xxx\LocalCache\local-packages\Python311\Scripts"

# Or add permanently via System Properties > Environment Variables

macOS/Linux:

# Add to ~/.bashrc or ~/.zshrc:
export PATH="$HOME/.local/bin:$PATH"

# Then reload:
source ~/.bashrc  # or source ~/.zshrc

Initial Setup

# Run the interactive setup wizard
sci onboard

# Or set up manually
sci github setup  # Configure GitHub integration

Basic Usage

# Scan current directory
sci scan

# Analyze GitHub repositories
sci github repos

# Run autonomous security agent
sci github repos
# Select repository → "Autonomous Agent (Full Automation)"

✨ Key Features

🔍 Comprehensive Security Scanning

  • Secret Detection: Finds hardcoded API keys, tokens, passwords
  • Vulnerability Analysis: CVE scanning with NVD integration
  • Dependency Scanning: Identifies vulnerable packages and versions
  • CI/CD Security: Analyzes GitHub Actions workflows for security issues
  • Code Quality: Detects security anti-patterns and misconfigurations

🤖 AI-Powered Analysis

  • Intelligent Threat Detection: AI analyzes context and severity
  • False Positive Reduction: Smart filtering reduces noise
  • Risk Assessment: Automated severity scoring and impact analysis
  • Contextual Recommendations: Tailored fix suggestions

🛠️ Autonomous Remediation

  • Automatic Issue Creation: Creates GitHub issues for tracking
  • Pull Request Generation: Generates PRs with security fixes
  • Code Patching: Applies fixes directly to repositories
  • Pipeline Fixes: Corrects CI/CD security misconfigurations
  • No Cloning Required: Uses GitHub API for remote operations

🏢 Enterprise Features

  • Organization Scanning: Scan all repositories in an organization
  • Risk Heatmaps: Visual security dashboards
  • Compliance Reporting: Generate security reports
  • Integration Ready: Works with existing CI/CD pipelines

📋 Requirements

  • Python: 3.11 or higher
  • AI API Key: Groq (recommended), OpenAI, or Anthropic
  • GitHub PAT: For repository analysis and autonomous features (optional)
  • NVD API Key: For enhanced CVE scanning (optional)

🔧 Configuration

AI API Setup

SentinelCI supports multiple AI providers:

  1. Groq (Recommended - Fast & Free)

    • Get API key: https://console.groq.com/keys
    • Set: sci onboard or export AI_API_KEY=your_key
  2. OpenAI

    • Get API key: https://platform.openai.com/api-keys
    • Set: export AI_API_KEY=your_key
  3. Anthropic

    • Get API key: https://console.anthropic.com/
    • Set: export AI_API_KEY=your_key

GitHub Integration

# Set up GitHub Personal Access Token
sci github setup

# Required scopes:
# - 'repo' (for private repositories)
# - 'public_repo' (for public repositories)

Environment Variables

# AI Configuration
export AI_API_KEY="your_ai_api_key"
export GROQ_API_KEY="your_groq_key"  # Alternative

# GitHub Configuration  
export GITHUB_PAT="your_github_token"
export GITHUB_TOKEN="your_github_token"  # Alternative

# NVD Configuration (Optional)
export NVD_API_KEY="your_nvd_key"

📖 Usage Examples

Local Scanning

# Basic scan
sci scan

# Scan with specific severity
sci scan --severity high

# Output to JSON
sci scan --output results.json --format json

# Watch mode (continuous scanning)
sci scan --watch

GitHub Repository Analysis

# List and analyze repositories
sci github repos

# Scan specific organization
sci github scan-org your-org-name

# Check authentication
sci github auth

Autonomous Security Agent

The autonomous agent can automatically:

  • Detect security vulnerabilities
  • Create fixes and patches
  • Generate pull requests
  • Open tracking issues
  • Apply changes without manual intervention
sci github repos
# Select repository
# Choose "Autonomous Agent (Full Automation)"
# Review and approve the execution plan

Pipeline Security Analysis

# Analyze CI/CD pipelines
sci pipeline analyze .github/workflows/

# Auto-fix pipeline issues
sci pipeline fix .github/workflows/ci.yml

🔒 Security Categories

SentinelCI detects and fixes:

Secrets & Credentials

  • API keys, tokens, passwords in code
  • Hardcoded credentials in configuration files
  • Exposed secrets in environment variables

Dependencies & Supply Chain

  • Vulnerable package versions
  • Outdated dependencies
  • Malicious packages
  • License compliance issues

CI/CD Pipeline Security

  • Excessive workflow permissions
  • Unpinned action versions
  • Code injection vulnerabilities
  • Missing security checks

Code Security

  • SQL injection patterns
  • XSS vulnerabilities
  • Insecure cryptographic practices
  • Authentication bypasses

🏗️ Architecture

┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
│   Scanner       │    │   AI Analyzer    │    │  Autonomous     │
│   Engine        │───▶│   (Groq/OpenAI)  │───▶│  Agent          │
└─────────────────┘    └──────────────────┘    └─────────────────┘
         │                        │                       │
         ▼                        ▼                       ▼
┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
│   Local Files   │    │   Threat Intel   │    │  GitHub API     │
│   Git Repos     │    │   CVE Database   │    │  Issue/PR Gen   │
└─────────────────┘    └──────────────────┘    └─────────────────┘

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Clone repository
git clone https://github.com/sentinelci/sentinelci.git
cd sentinelci

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black sentinelci/
ruff check sentinelci/

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

  • Documentation: https://docs.sentinelci.dev
  • Issues: https://github.com/sentinelci/sentinelci/issues
  • Discussions: https://github.com/sentinelci/sentinelci/discussions

🙏 Acknowledgments


Made with ❤️ by the SentinelCI Team