Metadata-Version: 2.4
Name: klyrek-core
Version: 0.1.0
Summary: Shared utilities, configuration, logging, plugins, and common models for the Klyrek ecosystem
Author: Klyrek Contributors
License: MIT
Keywords: appsec,pentesting,reconnaissance,security
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Description-Content-Type: text/markdown

# klyrek-core

Shared foundation for the Klyrek ecosystem: configuration, logging, the plugin registry, common
domain models, and the authorization-scope guard that every other Klyrek package builds on.

## Scope enforcement

Klyrek modules are expected to refuse to act against a target that hasn't been explicitly
declared in scope. `klyrek_core.scope` provides `AuthorizationScope`, which downstream packages
call before making any network request:

```python
from klyrek_core.scope import AuthorizationScope

scope = AuthorizationScope(authorized_hosts=["target.com", "*.target.com"])
scope.check("https://target.com/login")  # OK
scope.check("https://evil.com")          # raises ScopeViolationError
```
