class

Flaw::WeakRandom

Inherits Flaw::Rule < Reference < Object

Constants

SENSITIVE = /\b(token|password|passwd|pwd|session|nonce|otp|reset|secret|api[_-]?key|csrf)\b/i
WEAK_CALL = /\b(rand(?:om)?(?:\.|::)|Random::DEFAULT|Random\.new)/

Instance methods

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