# Pwn Sast Csrf

> Drive PWN::SAST::CSRF from pwn_eval.

- Skill: `0dayinc/pwn-sast-csrf` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add 0dayinc/pwn-sast-csrf`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-sast-csrf/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/0dayinc/pwn-sast-csrf

---


# PWN::SAST::CSRF

SAST Module used to identify indicators of improper CSRF protection. If nothing appears in the report, this may be an indicator of NO CSRF protection.

## When to use

Call `PWN::SAST::CSRF` from `pwn_eval` when the task needs this module.
Do not reimplement it in shell.

## Methodologies

Generated from `pwn/sast/csrf.rb`. Prefer the public class methods below.
Class methods take `(opts = {})` and read `opts`.

## How to call

```ruby
PWN::SAST::CSRF.help
PWN::SAST::CSRF.scan(opts)
```

## Public methods

- `scan`
- `security_references`
- `authors`
- `help`

## References

- `references/security.md` — CWE / NIST mapping
- `references/urls.md` — URLs from source

## Source

`pwn/sast/csrf.rb`

## Verification

`PWN::SAST::CSRF.respond_to?(:scan)` after the
module is loaded. Read the source for parameter names.

