·insufficient-randomness-anti-pattern
!

insufficient-randomness-anti-pattern

ランダム性が不十分な脆弱性に対するセキュリティ アンチパターン (CWE-330)。セキュリティ トークン、セッション ID、暗号化キー、ノンス、またはセキュリティ クリティカルなランダム値を作成するコードを生成またはレビューするときに使用します。 Math.random() または予測可能なシードの使用を検出します。

5インストール·0トレンド·@igbuend

インストール

$npx skills add https://github.com/igbuend/grimbard --skill insufficient-randomness-anti-pattern

insufficient-randomness-anti-pattern のインストール方法

コマンドラインで insufficient-randomness-anti-pattern AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/igbuend/grimbard --skill insufficient-randomness-anti-pattern
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: igbuend/grimbard。

Insufficient randomness occurs when security-sensitive values (session tokens, password reset codes, encryption keys) are generated using predictable non-cryptographic PRNGs. AI models frequently suggest Math.random() or Python's random module for simplicity. These generators enable attackers to predict outputs after observing a few values, allowing token forgery, session hijacking, and cryptographic compromise.

Never use predictable, non-cryptographic random number generators for security-sensitive values.

ランダム性が不十分な脆弱性に対するセキュリティ アンチパターン (CWE-330)。セキュリティ トークン、セッション ID、暗号化キー、ノンス、またはセキュリティ クリティカルなランダム値を作成するコードを生成またはレビューするときに使用します。 Math.random() または予測可能なシードの使用を検出します。 ソース: igbuend/grimbard。

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/igbuend/grimbard --skill insufficient-randomness-anti-pattern インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/igbuend/grimbard --skill insufficient-randomness-anti-pattern
カテゴリ
!セキュリティ
認証済み
初回登録
2026-02-25
更新日
2026-03-11

Browse more skills from igbuend/grimbard

クイックアンサー

insufficient-randomness-anti-pattern とは?

ランダム性が不十分な脆弱性に対するセキュリティ アンチパターン (CWE-330)。セキュリティ トークン、セッション ID、暗号化キー、ノンス、またはセキュリティ クリティカルなランダム値を作成するコードを生成またはレビューするときに使用します。 Math.random() または予測可能なシードの使用を検出します。 ソース: igbuend/grimbard。

insufficient-randomness-anti-pattern のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/igbuend/grimbard --skill insufficient-randomness-anti-pattern インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/igbuend/grimbard