Metadata-Version: 2.4
Name: dyson-auditor
Version: 0.1.1
Summary: 6-dimension code security audit with static scanning + AI analysis via DeepSeek
Author-email: Dyson Mesh <messenger@mino.hk>
License: MIT
Project-URL: Homepage, https://mino.hk
Project-URL: Repository, https://gitee.com/vslogen/V5
Keywords: security,audit,code-quality,static-analysis,deepseek,ai
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# Dyson Auditor

6-dimension code security audit with static scanning + AI analysis.

## Features

- **Secrets Scan** — regex-based static detection of hardcoded API keys, tokens, passwords
- **AI Security Audit** — DeepSeek-powered vulnerability analysis
- **AI Quality Audit** — code complexity, nesting depth, dead code detection
- **AI Docs Audit** — missing JSDoc/docstring, README gaps

## Install

```bash
pip install dyson-auditor
```

## Usage

```bash
# Set your DeepSeek API key
export DEEPSEEK_API_KEY=sk-...

# Audit a project
dyson-auditor /path/to/project

# Results in /tmp/audit-report.md and /tmp/audit-results.json
```

## Requirements

- Python 3.9+
- DeepSeek API key (env: `DEEPSEEK_API_KEY`)

## Dimensions

| Agent | Method | Scope |
|-------|--------|-------|
| secrets_static | Regex scan | Hardcoded creds, keys, tokens |
| security | AI (DeepSeek) | eval(), injection, weak crypto |
| quality | AI (DeepSeek) | Long functions, deep nesting, debug logs |
| docs | AI (DeepSeek) | Missing JSDoc/dots, undocumented APIs |

## License

MIT — Dyson Mesh
