Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_helmet

Secure Dart Shelf and Dart Frog apps by setting HTTP security headers

pub.devRemove
shelf_proxy

A shelf handler for proxying HTTP requests to another server.

pub.devRemove
ScoresHealth4586 (best)
Maintenance171 (best)
Quality96100 (best)
Popularity2186 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)1.1k10M (best)
Likes1894 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars81k (best)
MaintenanceLatest release2.3.0, 3 years ago1.0.5, 7 months ago (best)
Major versions in 12 months00
Contributors160 (best)
Publisherjxstxn.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)3
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Wraps 13 individual security header middlewares into a single easy-to-use call.
  • Highly configurable options for individual headers and policies.
  • Out-of-the-box support for popular frameworks like Shelf, Dart Frog, and Pharaoh.
  • Integrates seamlessly with the Shelf ecosystem.
  • Can be used standalone or mounted within larger applications.
  • Correctly handles multiple Cookie and Set-Cookie headers.
Weaknesses
  • Not a silver bullet for overall application security.
  • Requires careful tuning of options like CSP to avoid breaking legitimate web page resources.
  • Limited to Shelf-based applications.
  • Basic proxying capabilities without advanced middleware features built-in.
WarningsNoneNone
shelf_helmet vs shelf_proxy: which Flutter package should you use? | pubscout