All packages

plug_cross_origin_protection

A Plug to protect against Cross-Site Request Forgery (CSRF) attacks using modern header-based checks (Sec-Fetch-Site and Origin) instead of tokens.
plug_cross_origin_protection Nerves compatibility badge

Maintained on Hex by tomtaylor

Memory: last toolchain build peaked at 159 MiB of 2 GiB

Latest version
0.2.0
Last run
27 days ago
Checks
5

This package compiles cleanly for all tested hardware using Nerves.

What does Nerves compatibility mean?

Nerves builds Elixir firmware for embedded devices such as the Raspberry Pi and BeagleBone. This site adds each Hex package to a fresh Nerves project and builds firmware for a set of common boards, the targets listed below.

A package that compiles for every target is very likely to work on a device. A failure usually comes from native code (C, Rust or Zig) that does not cross-compile, or from something the build expects on a desktop machine. It does not prove the package is unusable: a fix may be a configuration change away.

Target / check Status Firmware size Run
host
host
pass —
plug_cross_origin_protection-0.2.0-1792976250704
nerves_system_mangopi_mq_pro
0.17.1
from the Aug 28, 2026 build
pass 25731965
plug_cross_origin_protection-0.2.0-1792976250704
nerves_system_rpi0_2
2.2.1
pass 37678058
plug_cross_origin_protection-0.2.0-1792976250704
nerves_system_rpi4
2.1.1
from the Aug 28, 2026 build
pass 42065331
plug_cross_origin_protection-0.2.0-1792976250704
nerves_system_x86_64
1.34.1
from the Aug 28, 2026 build
pass 29549687
plug_cross_origin_protection-0.2.0-1792976250704

Add this badge to your README

It updates itself as plug_cross_origin_protection's compatibility is reassessed.

plug_cross_origin_protection Nerves compatibility badge
Markdown
HTML