Moai Ref Owasp Checklistのロゴ

Moai Ref Owasp Checklist

組織人気
modu-ai
moai-ref-owasp-checklist

OWASP Top 10 security checklist, authentication patterns, input validation, and HTTP security headers reference. Agent-extending skill that amplifies backend-implementation and security-audit workflows with production-grade security patterns. NOT for: frontend UI, DevOps deployment, performance optimization, testing strategy.

概要

公開者modu-ai
リポジトリmoai-adk
スキル名moai-ref-owasp-checklist
スター
1.2K
フォーク
226
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    modu-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Moai Ref Owasp Checklist」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-owasp-checklist
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modu-ai/moai-adk.git /tmp/moai-adk
mkdir -p .claude/skills
cp -r /tmp/moai-adk/.claude/skills/moai-ref-owasp-checklist .claude/skills/moai-ref-owasp-checklist
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMoai Ref Owasp Checklistを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMoai Ref Owasp Checklistを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Moai Ref Owasp Checklistは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

OWASP Security Checklist Reference

Target Agents

  • manager-develop - Applies checklist during backend API implementation (cycle_type=tdd or cycle_type=ddd context)
  • /moai review with a security focus - Primary security-audit invocation surface; equivalently available as a per-spawn Agent(general-purpose) security specialist per archived-agent-rejection.md §C

OWASP API Security Top 10

RankVulnerabilityCheckDefense
A1BOLA (Broken Object Level Authorization)Can user A access user B's resources?Verify object ownership at every endpoint
A2Broken AuthenticationWeak passwords, unlimited login attempts?bcrypt (cost 12+), rate limit, MFA
A3Broken Object Property Level AuthorizationAre hidden fields exposed in responses?Response DTOs, field-level filtering
A4Unrestricted Resource ConsumptionCan mass requests crash the server?Rate limiting, enforce pagination limits
A5Broken Function Level AuthorizationCan regular users call admin APIs?RBAC middleware, permission checks
A6Unrestricted Access to Sensitive Business FlowsCan a sensitive flow be automated or abused in bulk?Flow-level rate limits, anomaly detection, challenge on abuse signals
A7SSRF (Server-Side Request Forgery)Can URL input reach internal or metadata endpoints?Egress allowlist, block internal/metadata ranges, validate fetch targets
A8Security MisconfigurationDebug mode, verbose errors, or default accounts exposed?Production-hardened config, security headers, inspect deployed config
A9Improper Inventory ManagementUndocumented, shadow, or old-version endpoints reachable?Maintain an API inventory; deprecate and decommission old versions
A10Unsafe Consumption of APIsAre external/third-party API responses trusted blindly?Validate external responses against a schema, set timeouts, treat upstream data as untrusted

Authentication Checklist

Password Policy

  • Minimum 8 characters, show strength meter (not strict rules)
  • bcrypt (cost factor 12+) or Argon2id
  • Temporary lock after 5 failed attempts (15 min) or CAPTCHA
  • Prevent reuse of last 5 passwords

JWT Configuration

SettingRecommended Value
Access Token Expiry15-30 minutes
Refresh Token Expiry7-14 days
AlgorithmRS256 (asymmetric) or HS256
StoragehttpOnly + secure + sameSite cookie
PayloadMinimal: userId, role only (no PII)
RenewalSilent refresh or token rotation

Session Security

  • Regenerate session ID after login
  • Invalidate session on logout (server-side)
  • Set session timeout (30 min idle)
  • Bind session to IP/User-Agent (optional, strict)

HTTP Security Headers

HeaderValuePurpose
Strict-Transport-Securitymax-age=31536000; includeSubDomainsForce HTTPS
X-Content-Type-OptionsnosniffPrevent MIME sniffing
X-Frame-OptionsDENY or SAMEORIGINPrevent clickjacking
Content-Security-Policydefault-src 'self'Prevent XSS
Referrer-Policystrict-origin-when-cross-originLimit referrer
Permissions-Policycamera=(), microphone=()Restrict browser features

Input Validation Checklist

TypeMethodTool
Schema validationType + structure checkZod, Joi, pydantic, Go validator
Length limitsMin/max constraintsSchema definitions
SQL InjectionParameterized queriesORM (Prisma, GORM, SQLAlchemy)
XSS PreventionHTML escapingDOMPurify (client), server escape
Path TraversalPath normalizationfilepath.Clean + whitelist
File UploadType + size validationMIME type + magic number check
CORSOrigin whitelistNever origin: '*' with credentials

Sensitive Data Handling

Data TypeStorageTransmissionLogging
Passwordsbcrypt hash onlyHTTPS onlyNEVER
API KeysEnvironment variablesHeader (Authorization)Masked (first 4 chars)
PIIEncrypted (AES-256)HTTPS onlyMasked
Credit CardsTokenized (payment provider)Provider SDKNEVER
SessionshttpOnly cookieHTTPS onlyNEVER

Security Review Severity Levels

LevelLabelActionExample
P0CRITICALBlock releaseSQL injection, auth bypass
P1HIGHFix before mergeMissing authorization check
P2MEDIUMFix within sprintWeak password policy
P3LOWTrack in backlogMissing security header

Trust Boundary Verification Principles

PrincipleApplies ToDefense
Cached/client-supplied session state is not proof of current identityAny framework caching or locally decoding a session/JWT valueRe-verify identity against the server-side source of truth (session store, token introspection, identity provider) before every authorization decision
Edge/gateway/middleware auth checks are a UX convenience, not a security boundaryReverse proxies, framework middleware, API gateways, serverless edge functionsEvery mutation-handling endpoint independently re-checks authentication AND resource-ownership authorization
Scheduled/cron-triggered HTTP endpoints are still public URLsAny scheduler that invokes an HTTP endpoint (cron jobs, scheduled serverless functions, container-orchestrator scheduled jobs)Require a shared-secret bearer check (constant-time compare) on every scheduled-endpoint invocation
Production builds must not expose source maps or equivalent debug artifactsAny bundler/build toolDisable production source maps, verbose stack traces, and build manifests in production configuration
Webhook receivers must verify a signature/HMAC header before trusting the payloadAny webhook providerVerify signature/HMAC against a shared secret before treating the payload as legitimate business data

Common Rationalizations

RationalizationReality
"This is an internal application, OWASP does not apply"Internal applications are reachable from compromised internal services. OWASP applies to all web applications.
"The framework handles XSS protection"Frameworks protect default rendering paths. Dynamic HTML insertion, innerHTML, and template literals bypass the protection.
"We do not store sensitive data, so encryption is unnecessary"Session tokens, API keys, and PII are sensitive data. If the application has users, it has sensitive data.
"Security headers are just defense-in-depth, not critical"Each security header blocks a specific attack class. Missing CSP enables XSS even when output is escaped.
"I will do a security review before release"Late security reviews find issues that are expensive to fix. Secure coding practices prevent them from the start.

Red Flags

  • User input rendered in HTML without escaping or sanitization
  • SQL query built with string concatenation instead of parameterized queries
  • Authentication token stored in localStorage instead of httpOnly cookie
  • Missing Content-Security-Policy header on response
  • Secrets (API keys, passwords) found in source code or configuration files committed to git

Verification

  • OWASP Top 10 checklist reviewed for the change (show which items were evaluated)
  • User input sanitized before rendering in HTML output
  • All database queries use parameterized statements
  • Security headers present (CSP, X-Frame-Options, X-Content-Type-Options)
  • No secrets found in source code (show grep results for common secret patterns)
  • Authentication tokens use httpOnly, Secure, SameSite cookie attributes

よくある質問

AIスキル「Moai Ref Owasp Checklist」では何ができますか?

OWASP Top 10 security checklist, authentication patterns, input validation, and HTTP security headers reference. Agent-extending skill that amplifies backend-implementation and security-audit workflows with production-grade security patterns. NOT for: frontend UI, DevOps deployment, performance optimization, testing strategy.

TypingMindでMoai Ref Owasp Checklistを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Moai Ref Owasp Checklistはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMoai Ref Owasp Checklistをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-owasp-checklistを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Moai Ref Owasp Checklistを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Moai Ref Owasp Checklistで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMoai Ref Owasp Checklistを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Moai Ref Owasp Checklist」は無料ですか?

はい。modu-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇