{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["www","perl5"],"comment":"Generate and check tokens to protect against CSRF attacks","compare":null,"dependentCount":null,"description":"This module generates tokens to help protect against a website attack\nknown as Cross-Site Request Forgery (CSRF, also known as XSRF). CSRF\nis an attack where an attacker fools a browser into make a request to\na web server for which that browser will automatically include some\nform of credentials (cookies, cached HTTP Basic authentication, etc.),\nthus abusing the web server's trust in the user for malicious use.\n\nThe most common CSRF mitigation is sending a special, hard-to-guess\ntoken with every request, and then require that any request that is\nnot idempotent (i.e., has side effects) must be accompanied with such\na token. This mitigation depends critically on the fact that while an\nattacker can easily make the victim's browser make a request, the\nbrowser security model (same-origin policy, or SOP for short) prevents\nthird-party sites from reading the results of that request.","flavors":[],"html":"https://daemonports.org/netbsd/www/p5-WWW-CSRF/","kind":"port","lastUpdate":"2026-07-16T19:01:23Z","license":["gnu-gpl-v2 OR artistic"],"maintainer":"pkgsrc-users@NetBSD.org","name":"p5-WWW-CSRF","newest":false,"newestVersion":null,"noVulnData":false,"origin":"www/p5-WWW-CSRF","otherSystems":[],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["1.00nb12"]},{"repo":"NetBSD 10.1 aarch64","versions":["1.00nb12"]},{"repo":"SmartOS / illumos x86_64","versions":["1.00nb12"]},{"repo":"macOS 15 arm64","versions":["1.00nb12"]}],"pkgName":"p5-WWW-CSRF-1.00nb12","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["lang/perl5","security/p5-Bytes-Random-Secure","security/p5-Digest-HMAC"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"1.00nb12","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/WWW-CSRF"}
