Catalog PyPI
PACKAGE EXPLORERView in registry

aegis-ai-core

PyPI

Local-first SAST engine with AST analysis, taint tracking, and AI-powered fix suggestions

astsastsecuritystatic-analysisvulnerability
Versions collected1
Direct dependencies25From release 1.5.0
Last observed20 Oct, 20:12 UTC

README

Version 1.5.0 documentation

Aegis AI Core

Local-first static application security testing for Python, JavaScript, TypeScript, PHP, Java, Go, and basic C/C++ scanning. Aegis combines language parsers, security rules, taint tracking, suppression workflows, and CI-ready reports behind one production analysis path.

Requirements

  • Python 3.10, 3.11, or 3.12
  • Python 3.13 is not supported by the pinned Tree-sitter dependency stack

Install

pip install aegis-ai-core

For repository development:

pip install -e ".[dev]"

Scan a project

aegis /path/to/project --format json
aegis /path/to/project --format html --output aegis-report.html
aegis /path/to/project --format sarif --output aegis-results.sarif

The equivalent module command is:

python -m src.scanner.cli /path/to/project --format json

Supported report formats are JSON, HTML, Markdown, and SARIF. Project scans can also use baselines, incremental mode, custom YAML rules, and optional AI-assisted remediation.

Language support

LevelLanguagesAnalysis path
FullPython, JavaScript/TypeScript, PHP, Java, GoLanguage parser plus maintained AST/taint/DSL rules
BasicC/C++Lightweight contextual rules for memory, string, pointer, and concurrency risks

Unsupported languages return no findings rather than falling back to a generic cross-language regex scanner.

Custom YAML rules

aegis rules init --language python --type sqli
aegis rules test .aegis/rules
aegis /path/to/project --rules-dir /path/to/project/.aegis/rules

See the rule authoring guide for schema, embedded TP/TN tests, loading boundaries, and contribution rules.

Optional AI providers

The scanner works without an AI provider. Install the optional OpenAI-compatible client only when generated remediation is needed:

pip install "aegis-ai-core[ai]"

Supported provider modes include DeepSeek, OpenAI, Ollama, and custom OpenAI-compatible endpoints. Source code is sent to a remote provider only after an explicit AI remediation action; local scans do not require a provider.

Reproducible quality signals

The 2026-07-12 clean-worktree baselines report:

TargetRecallPrecisionF1
DVWA100.0%44.2%0.61
NodeGoat100.0%85.7%0.92

Reports record scanner/target revisions, ground-truth hashes, TP/FP/FN/TN, duration, and peak RSS. These numbers are not generalized claims for every framework or vulnerability category. See the detection quality guide and versioned reports in scripts/reports/ for the exact scope.

Compatibility and security

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.5.027 Jul 202625

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
hwz-499/aegis-ai

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:58baf8eb7c93547ed6171a591a3bb7842f8c72654c2c6b6a3f28921b78fe4d5c