TryClear — Semantic image threat evaluation from the command line
Project description
TryClear CLI
A picture is worth a thousand words. Attackers know that. Your security tools don't.
TryClear evaluates images for semantic threats — phishing, brand impersonation, QR code attacks, hidden page techniques, and visual prompt injection.
Setup
# 1. Install
pip install tryclear
# 2. Authenticate (grab your API key from tryclear.io/settings)
tryclear auth
# 3. Evaluate
tryclear eval suspicious-screenshot.png
That's it. Forensic verdict in your terminal.
Commands
| Command | Description |
|---|---|
tryclear auth |
Store your API key |
tryclear eval <file> |
Evaluate an image, get a forensic verdict |
tryclear eval --json <file> |
Structured JSON output for scripting |
tryclear status <id> |
Check evaluation status |
tryclear report <id> |
Fetch full forensic report |
Supported Formats
PNG, JPG, JPEG, BMP, TIFF, SVG, WebP, HEIC/HEIF
Example
$ tryclear eval bank-document.tiff
◆ TryClear v2.0.0
bank-document.tiff · 269 KB · image/tiff
╭──────────────────────────────────────────────────╮
│ MALICIOUS · High Risk │
╰──────────────────────────────────────────────────╯
This image impersonates Bank of America using a
hidden page technique to evade security scanners.
What we found
Page 1 appeared clean, but hidden content on
Page 2 revealed the threat.
• Bank of America branding (0.98)
• QR code → hxxps://mail[.]google[.]com/mail/u/0/
MITRE T1566
Full report → https://tryclear.io/report/ana_demo
CI/CD Integration
tryclear eval ./assets/ --fail-on malicious --exit-code 1
| Exit Code | Meaning |
|---|---|
| 0 | CLEAR |
| 1 | SUSPICIOUS |
| 2 | MALICIOUS |
| 3 | Error |
Auth
The CLI resolves your API key in this order:
TRYCLEAR_API_KEYenvironment variable~/.config/tryclear/config.json~/.config/clear/config.json
Learn More
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tryclear-3.0.0.tar.gz.
File metadata
- Download URL: tryclear-3.0.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef520e77d2df8a8e67534b5f8e552d3688076604bcd1641a27e4f3c2d2e09a30
|
|
| MD5 |
f60506f2d53725543e00330ef91a2395
|
|
| BLAKE2b-256 |
4515945cbefddad7340f55f17402e169cf01f967426c2efe475a848fb05577e0
|
File details
Details for the file tryclear-3.0.0-py3-none-any.whl.
File metadata
- Download URL: tryclear-3.0.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5661d3dbb98420fd5efa7241e61b64c8bbeb0cb4364bae31b65e1e44fe37426c
|
|
| MD5 |
6d0d3f9207e91b2598fcfcba961366fd
|
|
| BLAKE2b-256 |
14f9bca1582ff1a7965700bd8838fe64acf60411079d3f8e2ca17b3c62c4094e
|