Metadata-Version: 2.4
Name: devguard-core
Version: 0.1.2
Summary: Core analysis engine for DevGuard modules
Author: DevGuard Contributors
License-Expression: MIT
Project-URL: Homepage, https://github.com/upendra-manike/developer-problem-solvers
Project-URL: Repository, https://github.com/upendra-manike/developer-problem-solvers
Project-URL: Issues, https://github.com/upendra-manike/developer-problem-solvers/issues
Keywords: static-analysis,security,reliability,ai-code
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.8.0; extra == "dev"
Requires-Dist: build>=1.2.0; extra == "dev"
Dynamic: license-file

# devguard-core

Shared scanning engine and rule framework for DevGuard modules.

## Features

- Rule metadata model (`id`, `severity`, `match_type`, `description`, `fix`)
- File walker with language detection
- Built-in checks for common AI-code risks
- AST-backed Python checks for SQL injection, unsafe deserialization, and hardcoded secrets
- JSON and SARIF output
- Baseline input/output for incremental CI rollout

## Quick Run

```bash
PYTHONPATH=src python -m devguard_core.cli scan ../../examples/sample_insecure.py --format json
```
