class

Flaw::UnsafeYamlLoad

Inherits Flaw::Rule < Reference < Object

Constants

PATTERNS = [/YAML\.parse(?:_all)?\s*\(\s*(?:STDIN|ARGV\[|request\.body|params\[|env\[)/, /YAML\.parse(?:_all)?\s*\(\s*File\.read\s*\(\s*(?:ARGV\[|params\[|env\[)/]

Instance methods

check(source : String, path : String) : Array(Finding)
Source
default_severity
Source
description
Source
title
Source