better-auth-best-practices
77Better Auth を安全に設定する
認証の設定は、アダプター、セッションストレージ、プラグイン、環境設定の不一致によって失敗しがちです。このスキルは、Better Auth の設定とセキュリティに関する焦点を絞ったガイダンスを提供します。
Better Auth のメール・パスワードセキュリティを設定する
メールとパスワードによる認証は、検証、リセットフロー、パスワードルールが不完全だと失敗する可能性があります。このスキルは、重点的な例を使って安全な Better Auth 設定を案内します。
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "email-and-password-best-practices" from https://skillstore.io/skills/better-auth-email-and-password-best-practices.md and its manifest at https://skillstore.io/api/skills/better-auth-email-and-password-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
「email-and-password-best-practices」を使用しています。 新規サインアップにメール検証が必要です。
期待される結果:
「email-and-password-best-practices」を使用しています。 ユーザーにアカウント列挙を避けたパスワードリセットが必要です。
期待される結果:
メールアドレスが存在するかどうかにかかわらず、レスポンスは一貫させる必要があります。リセットメールハンドラーを設定し、短いトークン有効期間を設定し、リセット後にセッションを取り消してください。
「email-and-password-best-practices」を使用しています。 パスワードハッシュ化に Argon2id を使いたいです。
期待される結果:
このスキルは、カスタムの hash 関数と verify 関数の定義、Argon2id オプションの選択、既存ハッシュを持つユーザーの移行計画を推奨します。
The audit confirmed one medium-risk instruction that executes the latest Better Auth CLI package without version pinning. It also found a low-severity privacy risk because a reset hook logs user email addresses. The other 46 static alerts are false positives from Markdown, TypeScript examples, placeholder URLs, and ordinary API names.
これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
https://skillstore.io/skills/better-auth-email-and-password-best-practices/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/better-auth-email-and-password-best-practices?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/better-auth-email-and-password-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/better-auth-email-and-password-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/better-auth-email-and-password-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>better-auth. (2026). email-and-password-best-practices security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/better-auth-email-and-password-best-practices/audits/5@techreport{better-auth-better-auth-email-and-password-best-practices-2026,
author = {better-auth},
title = {email-and-password-best-practices security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/better-auth-email-and-password-best-practices/audits/5},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "email-and-password-best-practices security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "better-auth"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/better-auth-email-and-password-best-practices/audits/5"
identifiers:
- type: other
value: "skillstore:better-auth-email-and-password-best-practices:audit:5"
description: "Skillstore immutable audit report identifier"
リリース前に、検証、パスワードルール、callback URL のガイダンスを含むメールログインを設定します。
既存の Better Auth プロジェクトに、リセットメール、トークン有効期限、セッション取り消しを追加します。
本番環境の認証を変更する前に、カスタムパスワードハッシュ化オプションを評価し、移行リスクを特定します。
このスキルを使って、メール検証付きの Better Auth メール・パスワードログインを有効にしてください。サーバー設定とクライアントのサインアップフローを示してください。
このスキルを使って、パスワードリセットフローを追加してください。リセットメールハンドラー、リセットリクエスト、リダイレクト先、ユーザーに安全なレスポンスのガイダンスを含めてください。
私の Better Auth emailAndPassword 設定をレビューしてください。パスワード長、リセットトークンの有効期限、セッション取り消し、メール検証の変更を推奨してください。
このスキルを使って、Better Auth のパスワードハッシュ化を Argon2id に切り替えることを評価してください。設定要件、移行リスク、ロールアウト時のチェックを説明してください。
作成者
better-authライセンス
MIT
Skillstore リビジョン
r2
バージョンに関する注意
作者はバージョンを宣言していません。
参照
8c3e20bba512c392d9b02ee748b18e0b09d4982c
メンテナンスの新しさ
2026/7/26
利用状況
3 ダウンロード · 43 閲覧
ファイル構成
📄 SKILL.md
Better Auth を安全に設定する
認証の設定は、アダプター、セッションストレージ、プラグイン、環境設定の不一致によって失敗しがちです。このスキルは、Better Auth の設定とセキュリティに関する焦点を絞ったガイダンスを提供します。
より優れたBetter Auth認証を構築
認証のセットアップには、フレームワーク、データベース、プロバイダー、ルート、インターフェースにまたがる調整が必要です。このスキルは、アプリケーション向けのBetter Auth統合を計画し、実装します。
CloudBase Node認証フローを構築
作成者 tencentcloudbase
サーバーサイドのCloudBase認証作業では、呼び出し元のID、ユーザー検索、カスタムログインの詳細が混在することがあります。このスキルは、Node.jsエージェントが正しいSDKメソッドと安全なバックエンドパターンを扱えるように導きます。
セキュリティエンジニアリングの意思決定を強化する
作成者 89jobrien
セキュリティ業務は多くの場合、アーキテクチャ、アイデンティティ、コンプライアンス、テスト、対応計画にまたがります。このスキルは、Claude、Codex、Claude Codeに、構造化されたセキュリティエンジニアリングのガイダンスを提供します。
Clerk 認証を安全に実装する
作成者 sickn33
Clerk のセットアップは、middleware、server components、organizations、webhooks にまたがるため、エラーが起きやすくなります。このスキルは、安全な Next.js 認証フローのための、焦点を絞った実装ガイダンスを提供します。
Next.js の認証ルートを保護
作成者 AayushBaniya2006
チームがセッション API とルートガードを混在させると、認証の変更は失敗しがちです。このスキルは、安全なアクセス制御のために、Claude、Codex、Claude Code をプロジェクトのヘルパーへ導きます。
セキュリティリスクを検出するコード監査
作成者 Barnhardt-Enterprises-Inc
セキュリティに関わるコードは、認証、入力処理、シークレットに潜む欠陥を抱えたまま出荷されやすいものです。このスキルは、Claude、Codex、Claude Code に構造化されたセキュリティリファレンスとスキャナーのガイダンスを提供し、より安全なレビューを支援します。
安全なバックエンドAPIの構築
作成者 sickn33
バックエンドチームには、一般的な脆弱性を防ぐ安全な実装が必要です。このスキルは、バリデーション、認証、APIの堅牢化、データベース保護、セキュリティレビューをガイドします。