Skip to content

About

Comprehensive, AI assisted code vulnerability scanner for codebases with security-concerened intelligent fix suggestions and professional reporting

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

Impact Scan

Python CI License Python Version

Impact Scan is an advanced, AI-powered security vulnerability scanner for codebases. It goes beyond traditional static analysis by leveraging Large Language Models (LLMs) to understand context, reduce false positives, and suggest intelligent fixes.

Features

  • AI-Powered Analysis: Uses models like GPT-4, Claude, or Gemini to validate findings and explain vulnerabilities.
  • Groq-Powered Repository Analysis: Automatically analyzes your codebase and generates custom security rules tailored to your specific architecture.
  • Agentic Architecture:
    • StaticAnalysisAgent: Deep code scanning using Semgrep and Bandit.
    • ComprehensiveSecurityCrawler: Web-enriched thread intelligence and exploit verification.
    • ModernWebIntelligenceAgent: Real-time vulnerability research.
  • Intelligent Fixes: Auto-generates code patches for discovered issues.
  • Knowledge Graph: visualizations of your project's security posture.
  • CI/CD Ready: Easy integration with GitHub Actions and other pipelines.

Installation

pip install impact-scan
# OR using poetry
poetry add impact-scan

Usage

Initialize Repository Analysis (Recommended First Step)

Generate custom security rules for your codebase using Groq AI:

# Requires GROQ_API_KEY environment variable
impact-scan init-repo .

# This generates:
# - impact-scan.md (detailed analysis)
# - .impact-scan/custom-rules.yml (tailored security rules)

See GROQ_REPO_ANALYSIS.md for detailed instructions.

Basic Scan

Scan the current directory:

impact-scan scan .

Scan with AI Enrichment

Enable AI features for better accuracy:

impact-scan scan . --ai openai

Fix Vulnerabilities

Interactively apply fixes:

impact-scan scan . --fix

CI/CD Mode

Run in automated environments:

impact-scan scan . --fix-auto --yes --min-severity high

Configuration

Create a .impact-scan.yml file in your root directory:

profile: balanced
min_severity: medium
enable_web_search: true
ai_provider: openai
ignore_paths:
  - tests/
  - node_modules/

Contributing

See CONTRIBUTING.md for guidelines.

License

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

About

Comprehensive, AI assisted code vulnerability scanner for codebases with security-concerened intelligent fix suggestions and professional reporting

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages