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>


これらはベースラインレベル2の基準です。 これらは基準バージョン 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.

 管理策 19/19 ●

  • 管理策


    CI/CDタスクが権限を指定せずに実行される場合、CI/CDシステムはパイプラインで付与される最低限の権限をタスクの権限としてデフォルトで設定しなければなりません。 [OSPS-AC-04.01]
    プロジェクトの設定を構成して、デフォルトで新しいパイプラインに利用可能な最低限の権限を割り当て、特定のタスクに必要な場合にのみ追加の権限を付与します。

    The repository's default GITHUB_TOKEN permission is read-only, and every workflow also declares permissions: contents: read at the top level, so a job without its own permissions block gets read access to the contents only: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/gates.yml



    公式リリースが作成される場合、そのリリースには一意のバージョン識別子を割り当てなければなりません。 [OSPS-BR-02.01]
    プロジェクトによって生成される各リリースに、一貫した命名規則または番号付けスキームに従って一意のバージョン識別子を割り当てます。例には、SemVer、CalVer、またはgit commit idが含まれます。

    Each release has a unique Semantic Version tag (v0.1.0 to v0.3.4), and release tags cannot be moved or deleted (ruleset release-tags). tools/package_skill.py --tag refuses a tag unless SKILL.md, the Python package, the JavaScript file, the changelog and CITATION.cff all state that version: https://github.com/sayam/thai-docx-skill/releases



    公式リリースが作成される場合、そのリリースには機能的およびセキュリティの変更の記述的なログを含めなければなりません。 [OSPS-BR-04.01]
    すべてのリリースに記述的な変更ログを含めるようにしてください。変更ログが人間が読めるものであり、コミットメッセージだけでなく、セキュリティへの影響や異なるユースケースとの関連性についての説明などの詳細を含めることが推奨されます。機械可読性を確保するために、「## Changelog」などのmarkdownヘッダーの下にコンテンツを配置してください。

    Each GitHub release describes its changes for users, and its section of CHANGELOG.md (Keep a Changelog) lists what was added, changed and fixed, each fix with the test that holds it, and, under Security, every security fix; 0.3.1 lists three, and 0.3.2, 0.3.3 and 0.3.4 have no such section: https://github.com/sayam/thai-docx-skill/blob/v0.3.4/CHANGELOG.md#034---2026-10-09



    ビルドとリリースのパイプラインが依存関係を取り込む場合、利用可能な場合は標準化されたツールを使用しなければなりません。 [OSPS-BR-05.01]
    エコシステム用の一般的なツール(パッケージマネージャーや依存関係管理ツールなど)を使用して、ビルド時に依存関係を取り込みます。これには、必要な依存関係を指定するための依存関係ファイル、ロックファイル、またはマニフェストを使用し、ビルドシステムによって取り込まれることが含まれます。

    CI and the release workflow install development dependencies only with pip install --require-hashes -r requirements/dev.txt and npm ci from tests/js/package-lock.json; GitHub Actions are pinned by commit SHA and the OSV-Scanner image by digest. The release archive itself needs no dependencies: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/release.yml



    公式リリースが作成される場合、そのリリースには署名するか、各アセットの暗号ハッシュを含む署名付きマニフェストで説明しなければなりません。 [OSPS-BR-06.01]
    ビルド時にすべてのリリースされたソフトウェア アセットを、GPGまたはPGP署名、Sigstore署名、SLSAプロベナンス、またはSLSA VSAなどの暗号署名または証明で署名します。署名付きマニフェストまたはメタデータファイルに各アセットの暗号ハッシュを含めます。

    The release workflow creates a Sigstore-signed SLSA build-provenance attestation over the archive's SHA-256 digest (actions/attest-build-provenance), checks that it verifies and that a tampered copy does not, and only then attaches the archive together with the signed attestation bundle (thai-docx-X.Y.Z.intoto.jsonl): https://github.com/sayam/thai-docx-skill/releases/tag/v0.3.4



    プロジェクトがリリースを行った場合、プロジェクトのドキュメントには、プロジェクトが依存関係をどのように選択、取得、および追跡するかについての説明を含めなければなりません。 [OSPS-DO-06.01]
    この情報をソースコードリポジトリ、プロジェクトウェブサイト、またはその他のチャネルなどの公開表示可能なリソース上で、プロジェクトの技術および設計ドキュメントと一緒に公開することが推奨されます。

    CONTRIBUTING.md, "Dependencies": no run-time dependencies (ADR 0008); a development tool is taken only with an OSI-approved licence compatible with MIT and active maintenance; obtained only through the hash-pinned requirements/dev.txt, package-lock.json with npm ci --ignore-scripts, SHA-pinned actions and digest-pinned images; updated by hand in a pull request of its own, with Dependabot alerts on; checked on every push and pull request by the required deps job (OSV-Scanner): https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#dependencies



    プロジェクトのドキュメントには、必要なライブラリ、フレームワーク、SDK、および依存関係を含む、ソフトウェアのビルド方法に関する手順が含まれていなければなりません。 [OSPS-DO-07.01]
    この情報は、CONTRIBUTING.mdや他の開発者タスクドキュメントなど、プロジェクトの貢献者ドキュメントと一緒に公開することが推奨されます。これはまた、Makefileターゲットや他の自動化スクリプトを使用して文書化することもできます。

    CONTRIBUTING.md, "Set up", gives the commands to install the hash-pinned development tools (pip, npm ci) and run the gates, the suite, lint and coverage; python3 tools/bundle_js.py rebuilds the JavaScript file from js/, and python3 tools/package_skill.py builds the release archive. The skill needs Python 3.11 or newer, or Node.js 22 or newer, and no libraries (README, "Requirements"): https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#set-up



    プロジェクトの文書には、機密リソースへのアクセス権を持つプロジェクト メンバーの一覧を含めなければなりません(MUST)。 [OSPS-GV-01.01]
    プロジェクトのソースコードリポジトリ内のmembers.md、governance.md、maintainers.md、または同様のファイルなどのアーティファクトを通じて、プロジェクト参加者とその役割を文書化します。これは、メンテナのリストに名前またはアカウントハンドルを含めるだけの簡単なものでも、プロジェクトのガバナンスに応じてより複雑なものでも構いません。

    GOVERNANCE.md, "Access", lists who holds each sensitive resource: Sayam Sriphua (@sayam) alone holds repository admin, rulesets, merge, releases, security advisories and private reports, and the Zenodo and bestpractices.dev entries; the Scorecard results are published by a workflow with no personal access: https://github.com/sayam/thai-docx-skill/blob/main/GOVERNANCE.md#access



    プロジェクトの文書には、プロジェクト メンバーの役割と責任の説明を含めなければなりません(MUST)。 [OSPS-GV-01.02]
    プロジェクトのソースコードリポジトリ内のmembers.md、governance.md、maintainers.md、または同様のファイルなどのアーティファクトを通じて、プロジェクト参加者とその役割を文書化します。

    GOVERNANCE.md, "Roles", describes the maintainer, the code owner, the contributor and the security reporter, and what each is responsible for: https://github.com/sayam/thai-docx-skill/blob/main/GOVERNANCE.md#roles



    プロジェクトの文書には、受け入れ可能な貢献の要件を含む、コード貢献者向けのガイドを含めなければなりません(MUST)。 [OSPS-GV-03.02]
    プロジェクトドキュメントのCONTRIBUTING.mdまたはCONTRIBUTING/の内容を拡張して、コーディング標準、テスト要件、コードコントリビューターのための提出ガイドラインを含む、受け入れ可能な貢献の要件を概説します。このガイドがコントリビューターと承認者の両方にとって信頼できる情報源であることが推奨されます。

    CONTRIBUTING.md sets the requirements for an acceptable contribution: coding standards (PEP 8 via ruff, ESLint's recommended rules), both implementations with byte-identical output, a test that fails without the change, goldens changed only on purpose, SPDX lines, a decision record for a design change, evidence for a new gate, synthetic content only, and Conventional Commits signed off; it also lists what a review checks: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#what-a-pull-request-carries



    バージョン管理システムは、すべてのコード貢献者に対し、コミットのたびに、関連する貢献を行う法的権限があることを表明するよう要求しなければなりません(MUST)。 [OSPS-LE-01.01]
    プロジェクトのリポジトリにDCOを含め、コードコントリビューターが、すべてのコミットで関連する貢献を行うことが法的に認められていると主張することを要求します。ステータスチェックを使用して、主張が行われたことを確認します。CLAもこの要件を満たします。GitHubなどの一部のバージョン管理システムでは、これがプラットフォームの利用規約に含まれている場合があります。

    Every commit carries a Developer Certificate of Origin 1.1 sign-off (git commit -s, ADR 0013). The required commits check rejects a pull request with any commit lacking it, and GitHub requires sign-off for commits made on the web: https://github.com/sayam/thai-docx-skill/blob/main/.github/CONTRIBUTING.md#commits



    プライマリブランチにコミットが行われる場合、コミットの自動ステータスチェックは、合格するか手動でバイパスされる必要があります。 [OSPS-QA-03.01]
    プロジェクトのバージョン管理システムを設定して、すべての自動ステータスチェックが合格するか、コミットがプライマリブランチにマージされる前に手動確認を要求するようにします。オプションのステータスチェックは、承認者がバイパスしたくなるような合格または不合格の要件として設定しないことが推奨されます。

    The ruleset checks on main requires scans, commits, tests, lint, deps, pr-description and tests-newest to pass on a branch up to date with main, plus CodeQL code-scanning results, before a pull request can merge; it has no bypass actor: https://github.com/sayam/thai-docx-skill/rules?ref=refs%2Fheads%2Fmain



    コミットが受け入れられる前に、プロジェクトのCI/CDパイプラインは、変更が期待を満たすことを確認するために少なくとも1つの自動テストスイートを実行する必要があります。 [OSPS-QA-06.01]
    自動テストは、プライマリブランチへのすべてのマージの前に実行される必要があります。テストスイートはCI/CDパイプラインで実行され、結果はすべてのコントリビューターに表示される必要があります。テストスイートは一貫した環境で実行され、コントリビューターがローカルでテストを実行できるような方法で実行される必要があります。テストスイートの例には、ユニットテスト、統合テスト、エンドツーエンドテストが含まれます。

    Every push and pull request runs the whole pytest suite (598 tests at v0.3.4) on Python 3.11 with Node.js 22 under coverage, failing below 97% with branches counted and failing on a coverage data file it cannot read, then plants every mutant in tools/mutants.yaml and fails unless its test kills it (tests), and runs the suite again on Python 3.13 with Node.js 24 (tests-newest); both are required before merge, and CONTRIBUTING.md gives the same commands to run locally: https://github.com/sayam/thai-docx-skill/blob/main/.github/workflows/gates.yml



    プロジェクトがリリースを行った場合、プロジェクトドキュメントは、システム内のすべてのアクションとアクターを示す設計ドキュメントを含む必要があります。 [OSPS-SA-01.01]
    プロジェクトドキュメントに、アクションとアクターを説明する設計を含めます。アクターには、システム内の別のセグメントに影響を与えることができるサブシステムまたはエンティティが含まれます。これが新機能や破壊的変更のために更新されることを確認してください。

    docs/architecture.md, "Actors and what they do", names every actor — the user, the AI agent, the client app and its sandbox, the Python and JavaScript scripts, the file system, office applications, contributors and the maintainer, CI, code scanning, Scorecard, the release workflow and Zenodo — and what each does, followed by the five commands and the modules each runs: https://github.com/sayam/thai-docx-skill/blob/main/docs/architecture.md#actors-and-what-they-do



    プロジェクトがリリースを行った場合、プロジェクトドキュメントは、リリースされたソフトウェアアセットのすべての外部ソフトウェアインターフェースの説明を含む必要があります。 [OSPS-SA-02.01]
    リリースされたソフトウェアアセットのすべてのソフトウェアインターフェース(API)を文書化し、ユーザーがソフトウェアとどのように対話できるか、どのようなデータが期待または生成されるかを説明します。これが新機能や破壊的変更のために更新されることを確認してください。

    Every external interface is documented: the commands, their JSON output and exit codes (SKILL.md and docs/architecture.md), every flag and default (references/settings.md, generated from the settings registry), finding codes (references/check.md), repair (references/repair.md), profile commands and file format (references/profiles.md), accepted Markdown (references/markdown.md) and the JavaScript API (references/sandbox.md); tests hold the documents to what the commands do: https://github.com/sayam/thai-docx-skill/tree/main/skills/thai-docx/references



    プロジェクトがリリースを行った場合、プロジェクトは、ソフトウェア内で発生する可能性のある最も可能性が高く、影響の大きい潜在的なセキュリティ問題を理解するためにセキュリティ評価を実行する必要があります。 [OSPS-SA-03.01]
    セキュリティ評価を実行することで、プロジェクトメンバーと下流の消費者の両方に、プロジェクトがソフトウェア内で発生する可能性のある問題を理解していることを知らせます。どのような脅威が実現する可能性があるかを理解することは、プロジェクトがリスクを管理および対処するのに役立ちます。この情報は、プロジェクトのセキュリティの能力と実践を示すために、下流の消費者にとって有用です。これが新機能や破壊的変更のために更新されることを確認してください。

    docs/assurance-case.md §5 assesses the most likely and most harmful security problems in order, each with its countermeasure and tests, on top of the requirements R1–R8 and threats T1–T11; it was brought up to date for 0.3.4, whose one change to it is in T11 (profile list shows a file's stem that is not a name, and every title, as check shows a name, and lists at most 100 rows of each place, the rest counted and unread); the security fixes of 0.3.1 are listed in CHANGELOG.md, and 0.3.2 to 0.3.4 list none. A probe-by-probe review of every requirement is recorded for 0.1.1 (docs/evidence/2026-09-18-security-review.md), and the page states that one covering the boundaries 0.3.0 moved is still owed: https://github.com/sayam/thai-docx-skill/blob/main/docs/assurance-case.md#5-security-assessment



    プロジェクトの文書には、明確な対応期限を伴う、協調的な脆弱性開示(CVD)のポリシーを含めなければなりません(MUST)。 [OSPS-VM-01.01]
    ディレクトリのルートにSECURITY.mdファイルを作成し、プロジェクトの協調的脆弱性開示のポリシーを概説します。脆弱性を報告する方法を含めます。プロジェクトが報告された問題にどのように対応および対処するかについての期待を設定します。

    SECURITY.md: report privately through GitHub; acknowledgement within 3 days, an assessment within 14 days, a fix or mitigation before disclosure and in a release within a time set by its CVSS v4 severity (critical 7 days, high 14, medium 30, low 90), and coordinated disclosure no later than 90 days after the report, with credit if wanted: https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#what-to-expect



    プロジェクトの文書は、プロジェクト内のセキュリティ連絡先に直接、非公開で脆弱性を報告する手段を提供しなければなりません(MUST)。 [OSPS-VM-03.01]
    セキュリティ研究者がプロジェクトに非公開で脆弱性を報告する手段を提供します。これは、専用の電子メールアドレス、ウェブフォーム、VCS専用ツール、セキュリティ連絡先の電子メールアドレス、またはその他の方法である可能性があります。

    GitHub private vulnerability reporting is enabled on the repository and is the channel SECURITY.md gives; a report reaches only the maintainer, the security contact: https://github.com/sayam/thai-docx-skill/security/advisories/new



    プロジェクトの文書は、発見された脆弱性に関するデータを公開しなければなりません(MUST)。 [OSPS-VM-04.01]
    CVEエントリ、ブログ投稿、またはその他のメディアなど、予測可能な公開チャネルで既知の脆弱性に関する情報を提供します。可能な限り、この情報には、影響を受けるバージョン、消費者が脆弱かどうかを判断する方法、および緩和または修復の手順が含まれる必要があります。

    SECURITY.md, "How fixed vulnerabilities are published": a vulnerability reported to the project is published as a GitHub Security Advisory once fixed, naming the affected and fixed versions and crediting the reporter; every fixed vulnerability, reported or found by the project's own review before a release, is listed under ### Security in CHANGELOG.md for the release that fixes it, with the test that holds it fixed (0.3.1 lists three, all found by the project's own review; 0.3.2, 0.3.3 and 0.3.4 have no such section): https://github.com/sayam/thai-docx-skill/blob/main/.github/SECURITY.md#how-fixed-vulnerabilities-are-published



ツールや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にバッジ合格を達成しました。