Insecure prng seed

From zakirkun/ice-tea · View interactive version

Insecure prng seed is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects cryptographic operations where pseudo-random number generators are seeded with predictable values.

How to use this skill

Skill file

Insecure PRNG Seed

Overview

A PRNG seeded with predictable values produces predictable output. Attackers who know or can guess the seed can predict all subsequent random values, including:

Common bad seeds: time(), getpid(), hardcoded integers, zero.

Remediation

Use OS entropy sources for seeding or use CSPRNGs directly:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.