thai-docx-skill

本サイトが提示する下記のベストプラクティスを実行するプロジェクトは、Open Source Security Foundation (OpenSSF) バッジを達成したことを自主的に自己認証し、そのことを外部に示すことができます。

ソフトウェアに欠陥や脆弱性がないことを保証する手立てはありません。形式論的な証明ができたとしても、仕様や前提が間違っていると誤動作の可能性があります。また、プロジェクトが健全で、かつ機能的な開発コミュニティであり続けることを保証する手立てもありません。しかし、ベストプラクティスの採用は、プロジェクトの成果の向上に寄与する可能性があります。たとえば、いくつものベストプラクティスがリリース前の複数人によるレビューを定めていますが、それによりレビュー以外では発見困難な技術的脆弱性を見つけるのを助け、同時に異なる企業の開発者間の信頼を築き、さらに交流を続けることに対する意欲を生んでいます。バッジを獲得するには、すべてのMUSTおよびMUST NOT基準を満たさなければなりません。すべてのSHOULD基準も満たさなければなりませんが、正当な理由がある場合は満たさなくても構いません。そしてすべてのSUGGESTED基準も満たさなければなりませんが、満たさないとしても、少なくとも考慮することが望まれます。フィードバックは、 GitHubサイトのissueまたはpull requestとして提示されれば歓迎します。また、議論のためのメールリストも用意されています。

私たちは多言語で情報を提供していますが、翻訳版に矛盾や意味の不一致がある場合は、英語版を正式な記述とします。
これがあなたのプロジェクトである場合は、プロジェクトページにベースラインバッジステータスを表示してください!ベースラインバッジステータスは次のようになります: プロジェクト14687のベースラインバッジレベルはbaseline-2です ベースラインバッジを埋め込む方法は次のとおりです:
ベースラインバッジステータスを表示するには、マークダウンファイルに以下を埋め込みます:
[![OpenSSF Baseline](https://www.bestpractices.dev/projects/14687/baseline)](https://www.bestpractices.dev/projects/14687)
または、HTMLに以下を埋め込みます:
<a href="https://www.bestpractices.dev/projects/14687"><img src="https://www.bestpractices.dev/projects/14687/baseline"></a>


これらはベースラインレベル3の基準です。 これらは基準バージョン v2026.08.28 の評価項目です。

Baseline Series: ベースラインレベル1 ベースラインレベル2 ベースラインレベル3

        

 基本的情報

  • 一般

    他のプロジェクトが同じ名前を使用していないか注意してください。

    An Agent Skill that makes Word files with Thai text render correctly, in Claude, ChatGPT, Codex, Copilot and more.

    SPDXライセンスの表現形式を使用してください。 例:「Apache-2.0」、「BSD-2-Clause」、「BSD-3-Clause」、「GPL-2.0+」、「LGPL-3.0+」、「MIT」、「(BSD-2-Clause OR Ruby)」。一重引用符または二重引用符を含めないでください。
    複数の言語がある場合は、コンマを区切り(スペースを入れてもよい)としてリストし、使用頻度の高いものから順に並べます。使用言語が多くある場合は、少なくとも最初の3つの最も多く使われるものをリストアップしてください。言語がない場合(例:ドキュメントだけ、またはテスト専用のプロジェクトの場合)、1文字 " - "を使用します。言語ごとにある大文字・小文字の慣用を踏襲してください(例:「JavaScript」)。
    Common Platform Enumeration(CPE)は、情報技術(IT)システム、ソフトウェア、およびパッケージのための構造化された命名体系です。脆弱性を報告する際に、多くのシステムやデータベースで使用されています。

    thai-docx is an Agent Skill: its scripts run inside an AI assistant's sandbox or on the user's computer. It has no run-time dependencies and never reaches the network. Two implementations, Python and JavaScript, give byte-identical output.

 管理策 20/21 ●

  • 管理策


    CI/CDパイプラインでジョブに権限が割り当てられる場合、ソースコードまたは設定は、対応するアクティビティに必要な最小限の権限のみを割り当てる必要があります。 [OSPS-AC-04.02]
    プロジェクトのCI/CDパイプラインを構成して、デフォルトでユーザーとサービスに最小限の利用可能な権限を割り当て、特定のタスクに必要な場合にのみ権限を昇格させます。一部のバージョン管理システムでは、組織またはリポジトリレベルで設定できる場合があります。それができない場合は、パイプラインのトップレベルで権限を設定してください。

    Every workflow sets permissions: contents: read at the top, and a job raises only what it uses: the release-archive job contents: write to attach the archive, id-token: write and attestations: write to sign its provenance; the CodeQL job security-events: write and actions: read to upload results; the Scorecard job security-events: write, id-token: write to publish its results, and actions: read. Every checkout uses persist-credentials: false: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/release.yml



    信頼できる協力者の入力を受け付けるCI/CDパイプラインは、パイプラインで使用する前にその入力をサニタイズおよび検証しなければなりません。 [OSPS-BR-01.04]
    CI/CDパイプラインは、明示的なワークフロー実行時にすべての協力者の入力をサニタイズ(期待値の引用、エスケープ、または終了)する必要があります。協力者は一般的に信頼されていますが、ワークフローへの手動入力はレビューできず、アカウント乗っ取りや内部脅威によって悪用される可能性があります。

    The only collaborator input is the release tag, from a manual dispatch or a published release. It reaches shell steps only as the quoted environment variable TAG; the first step exits unless it matches ^v[0-9]+\.[0-9]+\.[0-9]+$, the run must be on that tag's ref, the checkout must be the tag's commit, and tools/package_skill.py --tag refuses it unless every place that states the version states it, before it names a file or an upload: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/release.yml



    正式なリリースが作成される場合、そのリリース内のすべてのアセットは、リリース識別子またはアセットの他の一意の識別子と明確に関連付けられている必要があります。 [OSPS-BR-02.02]
    プロジェクトによって生成される各ソフトウェアアセットに一意のバージョン識別子を割り当て、一貫した命名規則または番号体系に従ってください。例としては、SemVer、CalVer、またはgitコミットIDなどがあります。

    Every asset carries the version: thai-docx-0.3.4.zip, its attestation bundle thai-docx-0.3.4.intoto.jsonl, and GitHub's source archives named after the tag; inside the archive, SKILL.md, the Python package and the JavaScript file state the same version, and the attestation names the source ref refs/tags/v0.3.4: https://github.com/sayam/thai-docx-skill/releases/tag/v0.3.4



    プロジェクトは、プロジェクトで使用されるシークレットと認証情報を管理するためのポリシーを定義する必要があります。このポリシーには、シークレットと認証情報を保存、アクセス、およびローテーションするためのガイドラインが含まれている必要があります。 [OSPS-BR-07.02]
    シークレットと認証情報がプロジェクト内でどのように管理され使用されているかを文書化してください。これには、シークレットがどのように保存されるか(例:シークレット管理ツールを使用)、アクセスがどのように制御されるか、シークレットがどのようにローテーションまたは更新されるかについての詳細が含まれている必要があります。機密情報がソースコードにハードコードされたり、バージョン管理システムに保存されたりしないようにしてください。

    SECURITY.md, "Secrets and credentials": the project keeps no long-lived secrets; CI uses only the per-job GITHUB_TOKEN with the permissions each workflow declares, and GitHub's OIDC identity for signing; repository and environment secrets are not used, and adding one requires changing the policy first in a pull request; accounts with write access use two-factor authentication; secret scanning with push protection is on; a leaked credential is revoked and rotated at once and the incident recorded: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#secrets-and-credentials



    プロジェクトがリリースを作成した場合、プロジェクトのドキュメントには、リリースアセットの整合性と真正性を検証するための手順が含まれている必要があります。 [OSPS-DO-03.01]
    プロジェクトの手順には、使用されている技術、実行するコマンド、および期待される出力に関する情報が含まれている必要があります。可能であれば、このドキュメントをビルドおよびリリースパイプラインと同じ場所に保存しないようにして、単一の侵害によってソフトウェアとその整合性を検証するためのドキュメントの両方が侵害されることを避けてください。

    SECURITY.md, "Verify a release", and the install guides in English and Thai ("Check the download") give the technology (Sigstore build-provenance attestation), the gh attestation verify commands online, with the attached bundle, and offline, the result to expect, and how to rebuild the archive from the tag and compare its SHA-256; its part "The tag" gives the git tag -v command that checks a release tag's SSH signature against .github/allowed_signers: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#verify-a-release



    プロジェクトがリリースを作成した場合、プロジェクトのドキュメントには、ソフトウェアリリースを作成した人またはプロセスの期待されるIDを検証するための手順が含まれている必要があります。 [OSPS-DO-03.02]
    期待されるIDは、署名に使用される鍵ID、sigstore証明書からの発行者とID、または他の類似の形式である可能性があります。可能であれば、このドキュメントをビルドおよびリリースパイプラインと同じ場所に保存しないようにして、単一の侵害によってソフトウェアとその整合性を検証するためのドキュメントの両方が侵害されることを避けてください。

    The same section names the identity to expect — certificate issuer https://token.actions.githubusercontent.com, signer workflow sayam/thai-docx-skill/.github/workflows/release.yml, source ref refs/tags/vX.Y.Z — and every command checks it with --signer-workflow and --source-ref. For the tag it names the signer 976721+sayam@users.noreply.github.com, a key GitHub lists as a signing key of @sayam, and says a tag signed with any other key exits 1: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#verify-a-release



    プロジェクトがリリースを作成した場合、プロジェクトのドキュメントには、各リリースのサポートの範囲と期間に関する説明文が含まれている必要があります。 [OSPS-DO-04.01]
    プロジェクトのリリースされたソフトウェアアセットのサポートの範囲と期間を伝えるために、プロジェクトにはSUPPORT.mdファイル、SECURITY.mdの「サポート」セクション、または各リリースの予想されるサポート期間、提供されるサポートの種類(例:バグ修正、セキュリティ更新)、およびサポートを受けるための関連ポリシーや手順を説明する他のドキュメントが必要です。

    SECURITY.md, "Supported versions": only the latest release is supported, until the next release is published; support means bug and security fixes released as a new version, not back-ported; help is asked for in GitHub issues: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#supported-versions



    プロジェクトがリリースを作成した場合、プロジェクトのドキュメントには、リリースやバージョンがセキュリティ更新を受けなくなる時期について説明文が含まれている必要があります。 [OSPS-DO-05.01]
    セキュリティ修正のサポート範囲と期間を伝えるために、プロジェクトにはSUPPORT.mdまたはプロジェクトのセキュリティ更新に関するポリシーを説明する他のドキュメントが必要です。

    SECURITY.md, "Supported versions": a release stops receiving security updates when the next release is published, and users are told to download a tagged release rather than use main: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#supported-versions



    プロジェクトの文書には、機密リソースへの昇格された権限を付与する前に、コード共同作業者がレビューされるというポリシーを含めなければなりません(MUST)。 [OSPS-GV-04.01]
    マージ承認やシークレットへのアクセスなど、機密リソースへのエスカレートされた権限を付与される前に、コード共同作業者がレビューおよび承認される必要があるという実行可能なポリシーをプロジェクトのドキュメントに公開してください。審査には、既知の信頼できる組織との貢献者の関連性を確認するなど、正当化可能なIDの系統を確立することが推奨されます。

    GOVERNANCE.md, "Access": write, merge, release or admin rights are granted only by the maintainer, only to a person with a sustained record of reviewed contributions whose identity the maintainer has confirmed, with two-factor authentication required; every grant and its reason is recorded in a pull request before it takes effect, and rights are removed when unused or at once if an account may be compromised: https://github.com/sayam/thai-docx-skill/blob/main/GOVERNANCE.md#access



    プロジェクトがリリースを作成した場合、リリースされたすべてのコンパイル済みソフトウェアアセットは、ソフトウェア部品表とともに配信される必要があります。 [OSPS-QA-02.02]
    ビルド時に精度が検証されたツールを使用してSBOMを自動生成することが推奨されます。これにより、ユーザーは環境内の他のプロジェクトと並行して、標準化されたアプローチでこのデータを取り込むことができます。

    The release contains no compiled assets: the archive is the skill's Python and JavaScript source (the JavaScript file is concatenated from js/, not compiled), with no run-time dependencies. The only third-party code, a port of commonmark.js, is named with its licence in LICENSES/ and in its files' SPDX lines: https://github.com/sayam/thai-docx-skill/releases/tag/v0.3.4



    プロジェクトが複数のソースコードリポジトリで構成されるリリースを作成した場合、すべてのサブプロジェクトは、プライマリコードベースと同等またはそれより厳しいセキュリティ要件を実施する必要があります。 [OSPS-QA-04.02]
    プロジェクトによって生成され、リリースにコンパイルされる追加のサブプロジェクトコードリポジトリは、それぞれのコードベースのステータスと意図に応じて、セキュリティ要件を実施する必要があります。対応するOSPS Baseline要件に従うことに加えて、これにはセキュリティレビューを要求すること、脆弱性がないこと、および既知のセキュリティ問題がないことを確認することが含まれる場合があります。

    The release is built from one repository; there are no subprojects. The vendored development tools under tools/ are not part of any release: https://github.com/sayam/thai-docx-skill



    プロジェクトの文書は、テストがいつ、どのように実行されるかを明確に文書化しなければなりません(MUST)。 [OSPS-QA-06.02]
    コントリビューションドキュメントに、ローカルでテストを実行する方法とCI/CDパイプラインでテストを実行する方法を説明するセクションを追加します。ドキュメントでは、テストが何をテストしているかと結果の解釈方法を説明する必要があります。

    CONTRIBUTING.md, "Set up", gives the commands to run the suite, lint and coverage locally, and says CI runs scans, commits, tests (at least 97% coverage, branches included), lint, deps, pr-description and tests-newest on every pull request and that main takes a change only when all pass; gates.yaml names what each test file holds, and the release workflow runs the suite again on the tag: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#set-up



    プロジェクトの文書には、プロジェクトが作成したソフトウェアへのすべての主要な変更が、自動テスト スイート内の該当機能のテストを追加または更新すべきであるというポリシーを含めなければなりません(MUST)。 [OSPS-QA-06.03]
    コントリビューションドキュメントに、テストの追加または更新に関するポリシーを説明するセクションを追加します。ポリシーでは、主要な変更とは何か、どのようなテストを追加または更新すべきかを説明する必要があります。

    CONTRIBUTING.md, "What a pull request carries": every change of behaviour brings a test that fails without it ("plant the defect and watch the test go red"), a parity case for both implementations, goldens updated only on purpose, and a fixed finding is a row in tests/regressions.yaml naming its test (ADR 0041); gates.yaml requires every test file to be claimed by a gate: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#what-a-pull-request-carries



    プライマリブランチにコミットが行われる場合、プロジェクトのバージョン管理システムは、マージする前に、作者以外の少なくとも1人の人間による変更の承認を要求しなければなりません(MUST)。 [OSPS-QA-07.01]
    プロジェクトのバージョン管理システムを構成し、リリースまたはプライマリブランチにマージする前に、作者以外の少なくとも1人の人間による変更の承認を要求します。これは、プルリクエストがマージされる前に、少なくとも1人の他のコラボレーターによってレビューおよび承認されることを要求することで実現できます。

    The project has one maintainer. The ruleset review requires an approving review from a code owner, with approval of the last push, but the maintainer, the only code owner, merges their own pull requests under the repository admin's pull-request bypass, so no second person approves them. This will be met when a second person with approval rights joins (GOVERNANCE.md, "Continuity"): https://github.com/sayam/thai-docx-skill/blob/main/GOVERNANCE.md#continuity



    プロジェクトがリリースを行った場合、プロジェクトは、システム内の重要なコードパス、関数、および相互作用に対する攻撃を理解して防御するために、脅威モデリングと攻撃面分析を実行しなければなりません(MUST)。 [OSPS-SA-03.02]
    脅威モデリングは、プロジェクトがコードベース、関連するプロセスとインフラストラクチャ、インターフェース、主要コンポーネントを調べ、「ハッカーのように考え」、システムがどのように破壊または侵害される可能性があるかをブレインストーミングする活動です。識別された各脅威をリストアップし、プロジェクトは、発生する可能性のあるギャップ/脆弱性を積極的に回避または閉じる方法を検討できます。新機能や破壊的変更に対して、これが更新されていることを確認してください。

    docs/assurance-case.md §3 gives the trust boundaries B1–B3, the attack surface entry by entry (Markdown, images, .docx files, profiles, flags, the user's message, the instructions the agent follows, and the code users run) and threats T1–T11, each with its path, its countermeasure and the tests that hold it; it was brought up to date for 0.3.4, which adds to T11 that profile list shows a file's stem that is not a name, and every title, as check shows a name, at most 100 rows of each place (0.3.3 added the font-family a heading style gives in the Markdown, written to the 31 characters Word reads without a space at either end; 0.3.2 added the font's name a profile gives; 0.3.1 added the signed release tag to T10 and the names a profile file carries to T11). The page states that a full re-run of the 2026-09-18 security review over the boundaries 0.3.0 moved is still owed: https://github.com/sayam/thai-docx-skill/blob/main/docs/assurance-case.md#3-threat-model



    プロジェクトに影響しないソフトウェア コンポーネント内の脆弱性は、VEX文書で説明され、悪用不可能性の詳細を伴って脆弱性レポートを補完しなければなりません(MUST)。 [OSPS-VM-04.02]
    既知の脆弱性の悪用可能性ステータスを伝達するVEXフィードを確立し、評価の詳細または脆弱なコードが実行されないようにする適切な緩和策を含めます。

    The released skill has no third-party run-time components, and no vulnerability in a component the project uses has been found not to affect it (the one Dependabot alert so far, in the pytest development dependency, was fixed by upgrading). SECURITY.md commits to publishing an OpenVEX statement in the repository if one is: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#how-fixed-vulnerabilities-are-published



    プロジェクトの文書には、脆弱性やライセンスに関連するSCAの検出結果の修正に関するしきい値を定義するポリシーを含めなければなりません(MUST)。 [OSPS-VM-05.01]
    プロジェクト内に、脆弱性とライセンスに関連するSCA調査結果の修復のしきい値を定義するポリシーを文書化します。これらの調査結果を識別、優先順位付け、修復するプロセスを含めます。

    CONTRIBUTING.md, "Dependencies": a known vulnerability in a dependency is fixed in the times SECURITY.md sets for its severity: critical within 7 days, high within 14, medium within 30, low within 90 and never after the disclosure date; a licence finding is fixed by removing the dependency; findings come from the deps check and Dependabot alerts: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#dependencies



    プロジェクトの文書には、リリース前にSCA違反に対処するポリシーを含めなければなりません(MUST)。 [OSPS-VM-05.02]
    プロジェクト内に、リリース前に該当するソフトウェア構成分析の結果に対処するポリシーを文書化し、リリース前にそのポリシーへの準拠を検証するステータスチェックを追加します。

    CONTRIBUTING.md, "Dependencies": no release is made while a finding is open, and the release workflow runs the same OSV-Scanner check on the tag before the archive is built, so a release stops on one: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/release.yml



    プロジェクトのコードベースへのすべての変更は、悪意のある依存関係および依存関係内の既知の脆弱性に関する文書化されたポリシーに照らして自動的に評価され、悪用不可能であると宣言され抑制されている場合を除き、違反があった場合はブロックされなければなりません(MUST)。 [OSPS-VM-05.03]
    プロジェクトのバージョン管理システムにステータスチェックを作成し、コードベースへのすべての変更に対してソフトウェア構成分析ツールを実行します。変更がマージされる前に、ステータスチェックが合格することを要求します。

    Every push and pull request runs OSV-Scanner over requirements/dev.txt and tests/js/package-lock.json in the deps job, which fails on a known vulnerability or a known malicious package; deps is a required check on main. It has blocked one: PYSEC-2026-1845 in pytest 8.4.2, fixed the same day (docs/evidence/2026-09-17-dependency-check.md): https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/gates.yml



    プロジェクトの文書には、SASTの検出結果の修正に関するしきい値を定義するポリシーを含めなければなりません(MUST)。 [OSPS-VM-06.01]
    プロジェクト内に、静的アプリケーションセキュリティテスト(SAST)調査結果の修復のしきい値を定義するポリシーを文書化します。これらの調査結果を識別、優先順位付け、修復するプロセスを含めます。

    CONTRIBUTING.md, "Static analysis": a pull request with an open CodeQL alert of medium security severity or higher cannot merge; lower alerts are triaged within 30 days; an alert is dismissed only with a written reason why it is not exploitable, and the reason stays on the alert: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#static-analysis



    プロジェクトのコードベースへのすべての変更は、セキュリティ上の弱点に関する文書化されたポリシーに照らして自動的に評価され、悪用不可能であると宣言され抑制されている場合を除き、違反があった場合はブロックされなければなりません(MUST)。 [OSPS-VM-06.02]
    プロジェクトのバージョン管理システムにステータスチェックを作成し、コードベースへのすべての変更に対して静的アプリケーションセキュリティテスト(SAST)ツールを実行します。変更がマージされる前に、ステータスチェックが合格することを要求します。

    CodeQL's security-extended queries analyse Python, JavaScript and GitHub Actions on every pull request, every push to main and weekly, and the ruleset checks on main has a code-scanning rule that blocks a merge while CodeQL reports an alert of medium security severity or higher; every dismissed alert carries its written reason (docs/evidence/2026-09-18-codeql-alerts-triaged.md): https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/codeql.yml



ツールやAIシステムを使って、https://www.bestpractices.dev/ja/projects/14687/choose/edit?osps_ac_01_01_status=Met&osps_ac_01_01_justification=GitHub+enforcedのような簡単なURLで変更を提案できます。その方法については、自動化提案システムをご覧ください。 このデータは、Community Data License Agreement – Permissive, Version 2.0 (CDLA-Permissive-2.0)のもとで利用可能です。これは、データ受領者が、データ受領者がこの契約のテキストを共有データとともに利用可能にする限り、変更の有無にかかわらずデータを共有できることを意味します。SayamおよびOpenSSFベストプラクティスバッジのコントリビューターにクレジットを表示してください。

プロジェクト バッジ登録の所有者: Sayam.
エントリの作成日時 2026-09-17 06:23:30 UTC、 最終更新日 2026-10-10 02:15:15 UTC 最後に2026-09-17 15:10:41 UTCにバッジ合格を達成しました。