Live โ€” all detectors running

What's hidden
in your image?

Universal steganographic analysis โ€” detect hidden data, verify watermarks, and audit image integrity across every major embedding method.

pip install stegmarc
Live analyzer
Upload & Analyze
Use the API
๐Ÿ”
Suspect image *
JPEG or PNG ยท drop or click
๐Ÿ–ผ
Cover image (optional)
Enables PSNR / SSIM
stego
cover
Python โ€” runs entirely locally, image never leaves your machine
from stegmarc import analyze, robustness_test # Analyze any image result = analyze("image.jpg") print(result.verdict) result.save_report("audit.pdf") # PDF saved to same folder # Test watermark robustness across 15 real-world attacks report = robustness_test("cover.jpg", secret="my_company_id") print(f"Survived {report.survival_rate:.0%} of attacks") report.save_report("robustness.pdf")
REST API โ€” hosted endpoint
# Analyze (returns JSON) curl -X POST https://raghav7006--stegmarc-api-web.modal.run/analyze \ -F "stego=@image.jpg" # Download PDF report directly curl -X POST https://raghav7006--stegmarc-api-web.modal.run/report \ -F "stego=@image.jpg" --output report.pdf # Health check curl https://raghav7006--stegmarc-api-web.modal.run/health
Detection coverage

Every major steganography method

10 detectors across statistical, forensic, and neural domains.

๐Ÿ“Š
Chi-square Attack
Detects JPEG DCT coefficient equalization โ€” the signature left by LSB replacement in frequency domain.
Statistical
๐Ÿ“
RS Analysis
Regular-Singular pixel group classification. Detects spatial pixel LSB substitution.
Statistical
๐Ÿ”ข
SPA (Sample Pair)
Sample pair analysis. Independent spatial LSB detector โ€” corroborates RS findings.
Statistical
๐Ÿ“
EOF Detection
Finds data appended after JPEG/PNG end markers โ€” the simplest and most common steganography technique.
Forensic
๐Ÿท
EXIF Analysis
Metadata anomaly detection โ€” steg tool fingerprints, time mismatches, suspicious comment fields.
Forensic
๐Ÿ“ˆ
LSB Histogram
LSB plane uniformity and noise floor analysis. Natural images have non-uniform LSBs.
Forensic
๐ŸŽจ
Multi-Channel
Runs RS and SPA independently on R, G, B channels to identify which channel carries the payload.
Forensic
๐Ÿ›ก
TrustMark (Neural)
Adobe's C2PA watermark decoder. Detects and decodes robust watermarks that survive JPEG, resize, and crop.
Neural
๐Ÿค–
Stable Signature (Neural)
Meta AI's 48-bit decoder for Stable Diffusion watermarks. Identifies AI-generated content provenance.
Neural
๐Ÿง 
SRNet (Neural/GPU)
Deep residual network for adaptive spatial steganography โ€” detects WOW, S-UNIWARD, HILL.
Neural
API Reference

Integrate in minutes

POST /analyze

Full analysis โ€” chi-square, RS, SPA, EOF, EXIF, LSB histogram, multi-channel, neural watermark detection. Returns structured JSON.

POST /report

Same as /analyze but returns a downloadable PDF report with AI-generated hardening recommendations.

GET /health

Returns detector inventory and API version. Use for integration health checks.

Base URL: https://raghav7006--stegmarc-api-web.modal.run

Detector explainers

What each detector found

Plain-English explanations of every detection method โ€” written for business owners and compliance officers, not researchers.

Chi-square โ€” JPEG Frequency Manipulation

When you save a photo as JPEG, the image is broken into 8ร—8 pixel blocks and converted into frequency coefficients. Someone modified the last digit of these coefficients to encode hidden information. The chi-square detector measures how "equalized" the distribution of these digits is โ€” natural images are non-uniform, embedded images approach 50/50. A score above 0.65 indicates embedding.

What to do: If this is your watermark, it's working. If unexpected, someone embedded data in the JPEG frequency domain โ€” a forensics professional can extract the payload.

RS Analysis & SPA โ€” Pixel-Level Data Hiding

Every pixel has a value from 0โ€“255. The last digit (the "least significant bit") has almost no effect on how a color looks. Changing a pixel's value from 128 to 129 is invisible to the eye. RS and SPA measure whether the even/odd distribution of pixel values has been statistically altered โ€” natural images have a specific imbalance that disappears when data is embedded.

What to do: The payload rate estimate tells you what fraction of pixels were modified. Above 30% is significant. This technique is commonly used for covert communication.

EOF Detection โ€” Hidden Data After Image End

Every image file has a defined ending point. JPEG files end with bytes FF D9. Everything after that point is ignored by photo viewers โ€” but it's still in the file. Someone appended data after this end marker. Your photo app shows the image normally and never reveals the hidden content.

What to do: This is the most detectable steganography technique. Preserve the original file as evidence. The hidden bytes count in your report tells you exactly how much data was appended.

EXIF Analysis โ€” Metadata Anomalies

Every photo carries hidden information โ€” date taken, GPS location, camera model, software used. This is called EXIF metadata. Stegmarc checks for: known steganography tool names in the software field, creation/modification time mismatches indicating the image was edited after capture, missing metadata (commonly stripped to hide evidence), and unusually long comment fields used to store hidden text.

What to do: Missing EXIF combined with other detector hits is a strong indicator of deliberate manipulation. Consult a digital forensics professional.

LSB Histogram โ€” Pixel Uniformity Analysis

In natural photos, the last bit of each pixel's color value follows a non-uniform pattern tied to the image content. When data is embedded, this pattern becomes artificially uniform โ€” closer to a perfect 50/50 even/odd split. The LSB histogram measures this uniformity on a 0โ€“1 scale. Natural images score around 0.5. Embedded images approach 0.85+.

What to do: This detector catches embedding methods that evade RS and SPA, including LSB matching. A high uniformity score with no other detectors firing suggests a sophisticated embedding technique.

TrustMark โ€” Adobe C2PA Watermark

TrustMark is Adobe's watermarking system for the C2PA content provenance standard. It embeds an invisible, robust watermark directly into image pixels using a neural network. Unlike visible logos or captions, this watermark survives JPEG compression, resizing, cropping, and color adjustments โ€” and can be decoded to reveal who created the image and when. It's used by AI image generators to label their output for EU AI Act compliance.

What to do: The decoded payload in your report is the identifier the creator embedded. Visit contentauthenticity.org to learn more about verifying content provenance.

Stable Signature โ€” Meta AI Watermark

Stable Signature is Meta AI's system for identifying images generated by Stable Diffusion. Instead of adding a watermark after generation, it modifies the AI model itself to embed a 48-bit identifier into every image it produces automatically. The identifier can be traced back to the specific model version that generated the image โ€” relevant for EU AI Act compliance and copyright disputes.

What to do: A bit accuracy above 80% is a confident detection. The decoded bit pattern serves as the AI provenance identifier for compliance documentation.

SRNet โ€” Adaptive Steganography

Adaptive steganography is sophisticated โ€” it analyzes the image content first, then hides data specifically in the most visually complex areas where changes are hardest to detect. Algorithms like WOW, S-UNIWARD, and HILL are undetectable by classical statistical methods. SRNet is a deep learning model trained to detect these advanced techniques by recognizing the subtle patterns they leave in the image's noise structure.

What to do: This is a sophisticated, technically advanced embedding technique. A stego probability above 70% warrants escalation to a digital forensics team. Preserve the file in its original state.