DEV Community

SIKOUTRIS
SIKOUTRIS

Posted on

Detecting Greenwashing at Scale: Building an EU Green Claims Compliance Checker

Detecting Greenwashing at Scale: How We Built an Automated EU Green Claims Compliance Checker

The EU Green Claims Directive is coming into force progressively through 2026, and for the first time, companies making environmental claims face substantive legal liability if those claims aren't backed by verifiable evidence.

The Problem We Solved

When auditing marketing copy across dozens of websites, we kept encountering the same patterns: vague claims like "eco-friendly," "sustainable," or "carbon-neutral" with no supporting methodology. The EU's Green Claims Directive specifically targets these — Article 5 requires that claims be specific, accurate, and substantiated.

Our challenge: how do you scan hundreds of pages of marketing content and flag potential greenwashing violations programmatically?

Technical Architecture

We built a three-layer pipeline:

Layer 1: Claim Detection

Using a combination of regex patterns and a fine-tuned classification model, we detect phrases that trigger scrutiny under the Green Claims Directive:

  • Absolute claims ("100% sustainable," "zero emissions")
  • Vague positive claims ("eco-friendly," "green," "natural")
  • Future-tense claims without substantiation ("working toward carbon neutrality")
  • Comparative claims without a reference point ("greener than competitors")

Layer 2: Evidence Matching

For each detected claim, we attempt to find supporting evidence on the same page or domain:

  • Third-party certifications (ISO 14001, EU Ecolabel, Carbon Trust)
  • Lifecycle assessment references
  • Specific metrics (percentage reductions, absolute quantities)
  • Accredited methodology citations

Layer 3: Risk Scoring

Claims without matched evidence receive a risk score from 1-10 based on:

  • Claim specificity (absolute > comparative > vague)
  • Audience exposure (homepage > product page > blog)
  • Regulatory focus area (climate > biodiversity > circular economy)

What We Learned

The most common violation pattern? Scope conflation — companies claiming their product is "carbon neutral" when only their offices have a carbon offset scheme. The EU directive is particularly strict about this.

Tools like greenwashing-checker.com automate the first pass of this analysis, flagging claims that warrant deeper legal review. The human expert still needs to make the final call, but automated scanning reduces audit time by 70-80%.

The Regulatory Timeline

  • 2026 Q1-Q2: Member states transposing the directive into national law
  • 2026 Q4: First enforcement actions expected in France and Germany
  • 2027: Full enforcement across all EU member states

Open Questions

The directive still leaves gray areas, particularly around:

  1. What constitutes "equivalent prominence" when displaying claim limitations
  2. How to handle claims inherited from supply chain certifications
  3. The threshold for "significant" environmental benefit

If you're building compliance tooling in this space, the European Commission's implementation guidance is worth reading alongside the directive text.


Building something in the sustainability compliance space? Drop a comment — happy to compare notes on the technical challenges.

Top comments (0)