スキル go-mod-helper
📦

go-mod-helper

コンテンツリビジョン r1 重大 ⚡ スクリプトを含む⚙️ 外部コマンド🌐 ネットワークアクセス📁 ファイルシステムへのアクセス🔑 環境変数

Go Modulesと依存関係の管理

Go moduleのセットアップと依存関係の更新は、プライベートリポジトリ、ワークスペース、リリース全体でエラーが起きやすい作業です。このスキルは、Go modules、依存関係のクリーンアップ、バージョニング、トラブルシューティングのためのコマンドガイダンスを提供します。

対応: Claude Codex Code(CC)
⚠️ 38 不十分

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "go-mod-helper" from https://skillstore.io/skills/curiouslearner-go-mod-helper.md and its manifest at https://skillstore.io/api/skills/curiouslearner-go-mod-helper/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「go-mod-helper」を使用しています。 新しいGo APIプロジェクトをmodulesで始める必要があります。

期待される結果:

  • 推奨されるmodule pathとプロジェクトレイアウト。
  • module initialization、dependency addition、tidy、verify、testsのための短いセットアップ手順。
  • go.modとgo.sumのコミットに関する注意事項。

「go-mod-helper」を使用しています。 私のプライベートGitHub moduleをCIでダウンロードできません。

期待される結果:

  • プライベートモジュールパターン、Git authentication、proxy settings、checksum configurationを扱うチェックリスト。
  • token handlingとglobal Git settingsに関する警告。
  • 設定変更後に実行する推奨検証コマンド。

「go-mod-helper」を使用しています。 v2 Go moduleを公開しています。

期待される結果:

  • module pathの更新、semantic import versioning、tests、tags、documentationのためのリリースチェックリスト。
  • v2 import pathsとtagsで避けるべき一般的なミス。

セキュリティ監査

重大

Most static detections are Markdown false positives from code fences, Go import and require syntax, module examples, and normal Go commands. I confirmed risks where the skill instructs handling plaintext tokens, netrc files, SSH private keys, and global credential or module configuration. No prompt-injection language was found in SKILL.md.

1
スキャンされたファイル
945
解析済み行数
10
レビュー項目
0
誤検知を無視

確認済みのセキュリティ上の懸念 (7)

重大
SSH directory access
ssh-add ~/.ssh/id_ed25519
The example uses ~/.ssh/id_ed25519, a default SSH private-key path. Even without exfiltration intent, automated access to this key material is a critical sensitive-file risk.
重大
SSH private key file
ssh-add ~/.ssh/id_ed25519
The example uses ~/.ssh/id_ed25519, a default SSH private-key path. Even without exfiltration intent, automated access to this key material is a critical sensitive-file risk.
重大
netrc credentials file
# Create ~/.netrc for HTTPS auth
The example creates or modifies ~/.netrc, which stores authentication secrets for Git over HTTPS. Writing tokens there is sensitive credential handling and should not be automatic.
重大
netrc credentials file
cat > ~/.netrc << EOF
The example creates or modifies ~/.netrc, which stores authentication secrets for Git over HTTPS. Writing tokens there is sensitive credential handling and should not be automatic.
重大
netrc credentials file
chmod 600 ~/.netrc
The example creates or modifies ~/.netrc, which stores authentication secrets for Git over HTTPS. Writing tokens there is sensitive credential handling and should not be automatic.
高
Plaintext Git Credential Storage Guidance
SKILL.md recommends git credential.helper store for private repository access. This can persist Git credentials in plaintext and affects future Git commands.
The guidance directly sets a global Git credential helper and follows it with global URL rewriting. This is a clear persistent credential-handling risk, although it is presented for a legitimate troubleshooting scenario.
中
Broad Persistent Module Trust Configuration
The private-module guidance sets persistent GOPRIVATE, GONOPROXY, and GONOSUMDB patterns. Overbroad patterns can bypass proxy or checksum controls for more modules than intended.
The commands use go env -w and broad wildcard patterns, so the changes persist beyond one project. This is normal Go private-module guidance but should be scoped and consent-gated.
機能レビュー項目 (10)

これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。

高
Hidden file in home directory
# Create ~/.netrc for HTTPS auth
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file in home directory
cat > ~/.netrc << EOF
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file in home directory
chmod 600 ~/.netrc
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file in home directory
ssh-add ~/.ssh/id_ed25519
The SSH guidance accesses ~/.ssh/id_ed25519 through ssh-add. This is a sensitive private-key path and should require explicit user approval before execution.
高
Hidden file access
# Create ~/.netrc for HTTPS auth
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file access
cat > ~/.netrc << EOF
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file access
chmod 600 ~/.netrc
The private-module instructions direct creation or permission changes for ~/.netrc, a hidden credential file. This is legitimate guidance but a real risk if an agent writes token material without explicit consent.
高
Hidden file access
ssh-add ~/.ssh/id_ed25519
The SSH guidance accesses ~/.ssh/id_ed25519 through ssh-add. This is a sensitive private-key path and should require explicit user approval before execution.
高
Git platform tokens
password YOUR_GITHUB_TOKEN
The sample .netrc content includes a GitHub token placeholder as password material. It teaches plaintext token handling in a credential file and should be guarded by explicit consent.
中
Hardcoded URL
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/".insteadOf "https://g
The GitLab CI example embeds CI_JOB_TOKEN in a global Git URL rewrite. This can persist or expose a CI credential if copied outside the intended job context.

リスク要因

⚡ スクリプトを含む (7)
⚙️ 外部コマンド (108)
SKILL.md:47-72 SKILL.md:72-75 SKILL.md:75-111 SKILL.md:111-114 SKILL.md:114-117 SKILL.md:117-121 SKILL.md:121-128 SKILL.md:128-133 SKILL.md:133-179 SKILL.md:179-182 SKILL.md:182-194 SKILL.md:194-199 SKILL.md:199-233 SKILL.md:233-236 SKILL.md:236-255 SKILL.md:255-257 SKILL.md:257-268 SKILL.md:268-271 SKILL.md:271-286 SKILL.md:286-291 SKILL.md:291-300 SKILL.md:300-302 SKILL.md:302-308 SKILL.md:308-311 SKILL.md:311-329 SKILL.md:329-334 SKILL.md:334-352 SKILL.md:352-357 SKILL.md:357-366 SKILL.md:366-369 SKILL.md:369-379 SKILL.md:379-382 SKILL.md:382-387 SKILL.md:387-392 SKILL.md:392-399 SKILL.md:399-402 SKILL.md:402-408 SKILL.md:408-411 SKILL.md:411-418 SKILL.md:418-423 SKILL.md:423-434 SKILL.md:434-436 SKILL.md:436-447 SKILL.md:447-449 SKILL.md:449-457 SKILL.md:457-462 SKILL.md:462-477 SKILL.md:477-480 SKILL.md:480-489 SKILL.md:489-494 SKILL.md:494-511 SKILL.md:511-514 SKILL.md:514-530 SKILL.md:530-533 SKILL.md:533-546 SKILL.md:546-549 SKILL.md:549-562 SKILL.md:562-565 SKILL.md:565-580 SKILL.md:580-583 SKILL.md:583-595 SKILL.md:595-600 SKILL.md:600-611 SKILL.md:611-613 SKILL.md:613-620 SKILL.md:620-623 SKILL.md:623-633 SKILL.md:633-636 SKILL.md:636-646 SKILL.md:646-648 SKILL.md:648-655 SKILL.md:655-660 SKILL.md:660-676 SKILL.md:676-681 SKILL.md:681-717 SKILL.md:717-720 SKILL.md:720-745 SKILL.md:745-750 SKILL.md:750-769 SKILL.md:769-772 SKILL.md:772-806 SKILL.md:806-811 SKILL.md:811-826 SKILL.md:826-829 SKILL.md:829-845 SKILL.md:845-864 SKILL.md:864-865 SKILL.md:865-870 SKILL.md:870-874 SKILL.md:874-891 SKILL.md:891-901 SKILL.md:901-905 SKILL.md:905-931 SKILL.md:931-944 SKILL.md:374 SKILL.md:755 SKILL.md:756 SKILL.md:775 SKILL.md:776 SKILL.md:777 SKILL.md:780 SKILL.md:800 SKILL.md:803 SKILL.md:804 SKILL.md:805 SKILL.md:369-379 SKILL.md:750-769 SKILL.md:772-806
🌐 ネットワークアクセス (7)
📁 ファイルシステムへのアクセス (10)
🔑 環境変数 (1)

検出されたパターン

SSH directory accessSSH private key filenetrc credentials file×3
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/curiouslearner-go-mod-helper/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/curiouslearner-go-mod-helper/security.svg)](https://skillstore.io/skills/curiouslearner-go-mod-helper?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/curiouslearner-go-mod-helper?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-go-mod-helper/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/curiouslearner-go-mod-helper.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

CuriousLearner. (2026). go-mod-helper security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-go-mod-helper/audits/8

BibTeX形式の引用

@techreport{curiouslearner-curiouslearner-go-mod-helper-2026, author = {CuriousLearner}, title = {go-mod-helper security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/curiouslearner-go-mod-helper/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "go-mod-helper security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "CuriousLearner" date-released: "2026-07-05" url: "https://skillstore.io/skills/curiouslearner-go-mod-helper/audits/8" identifiers: - type: other value: "skillstore:curiouslearner-go-mod-helper:audit:8" description: "Skillstore immutable audit report identifier"

Skillstore スコア

このスコアの理由 証拠の信頼度: 中
55
アーキテクチャ
85
保守性
87
コンテンツ
72
コミュニティ
74
仕様準拠

作成できるもの

Goサービスを開始する

モジュールを初期化し、プロジェクトレイアウトを選び、依存関係を追加し、基本的なビルドコマンドとテストコマンドを準備します。

依存関係解決を修正する

checksum mismatches、missing modules、version conflicts、破損したmodule cacheの問題を診断します。

プライベートモジュールアクセスを準備する

プライベートモジュールパス、Gitアクセス方法、CIでの依存関係ダウンロード手順を、確認ポイント付きで設定します。

これらのプロンプトを試す

モジュールを初期化する
go-mod-helperを使用して、このリポジトリのGo moduleを初期化してください。module path、想定されるファイル、最初のtidyとtestの手順を説明してください。
依存関係をクリーンアップする
go-mod-helperを使用して、私のgo.modとgo.sumファイルをレビューしてください。安全な依存関係のクリーンアップ、更新、ダウンロード、検証手順を推奨してください。
プライベートモジュールをデバッグする
go-mod-helperを使用して、プライベートモジュールの解決をトラブルシューティングしてください。レビューが必要なGOPRIVATE、Git authentication、proxy、checksum settingsを特定してください。
リリースを計画する
go-mod-helperを使用して、Go moduleのリリース計画を準備してください。semantic versioning、v2 path rules、CI checks、tags、documentation tasksを含めてください。

ベストプラクティス

  • 依存関係の変更をコミットする前に、go mod tidyとgo mod verifyを実行します。
  • private-module settingsは、必要最小限の組織またはリポジトリパターンに限定します。
  • credentialとglobal configurationのコマンドは、実行前にレビューします。

回避

  • 実際のaccess tokensを共有プロンプト、ログ、再利用可能な例に貼り付けないでください。
  • public module pathsに対してchecksum verificationを広範に無効化しないでください。
  • テストと明確なロールバック計画なしに、すべての依存関係を更新しないでください。

よくある質問

このスキルは何を支援しますか?
Go moduleのセットアップ、依存関係コマンド、プライベートモジュール、workspaces、vendoring、CI例、一般的なトラブルシューティングワークフローを支援します。
go.modを編集してもらえますか?
コマンドガイダンスとレビュー手順を提供します。ファイル変更は、プロジェクト要件に照らして確認する必要があります。
プライベートリポジトリをサポートしていますか?
はい。GOPRIVATE、Git URL rewriting、SSH、token-based access、CI configuration patternsを説明します。
認証情報のセットアップは自動ですか?
いいえ。credential commandsは機密性が高く、実行前にユーザーの明示的な承認が必要です。
checksum mismatchesを修正できますか?
cache cleanup、dependency download、tidy、verification、GOSUMDB reviewのためのトラブルシューティング手順を提供します。
セキュリティスキャンを置き換えますか?
いいえ。セキュリティ上の判断には、専用の依存関係脆弱性スキャナーと組織ポリシーチェックを使用してください。

開発者情報

作成者

CuriousLearner

ライセンス

MIT

Skillstore リビジョン

r1

バージョンに関する注意

作者はバージョンを宣言していません。

参照

02f077c174c5335e2f5d02ca15e77b70d9543e58

メンテナンスの新しさ

2026/7/18

利用状況

5 ダウンロード · 306 閲覧

ファイル構成

📄 SKILL.md

CuriousLearner のその他のスキル

すべて表示
すべて表示