HF RL Explorer

CSRF Protection: Origin Header vs CSRF Token Analysis

CSRF Protection: Origin Header vs CSRF Token Analysis: a task in Terminal-Lego-15k (Harbor dataset). You are a security engineer tasked with analyzing and implementing different CSRF (Cross-Site Request Forgery) protection mechanisms. Your goal is to create a practical demonstration that compares…

The task

You are a security engineer tasked with analyzing and implementing different CSRF (Cross-Site Request Forgery) protection mechanisms. Your goal is to create a practical demonstration that compares Origin header validation with CSRF token protection.

Part of PrimeIntellect/Terminal-Lego-15k.