cloud-functions
CloudBase Functions を安全に構築する
CloudBase functions には、異なるランタイムモデル、パッケージングルール、権限設定手順があります。このスキルは、Event、HTTP、Custom Image の各ワークフローを通じてエージェントを導きます。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "cloud-functions" from https://skillstore.io/skills/tencentcloudbase-cloud-functions.md and its manifest at https://skillstore.io/api/skills/tencentcloudbase-cloud-functions/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「cloud-functions」を使用しています。 Web アプリのフォーム送信用のエンドポイントが必要です。
期待される結果:
- 推奨パス: HTTP Function。ワークロードがブラウザー向けであるためです。
- レスポンスには、メソッドチェック、CORS ヘッダー、ボディ解析、明示的なステータスコードを含めるべきです。
- デプロイでは、まず function を作成し、公開アクセスが必要な場合にのみ権限を設定するべきです。
「cloud-functions」を使用しています。 デプロイ後、function ログに認可失敗が表示されています。
期待される結果:
- コードを変更する前に、まず function の権限設定を確認してください。
- エンドポイントを公開する必要がある場合は、function のセキュリティルールを意図的に更新してください。
- その後、ゲートウェイパスを検証し、外部リクエストを再試行してください。
「cloud-functions」を使用しています。 function ランタイム内にシステムライブラリが必要です。
期待される結果:
- リクエスト駆動のままで port 9000 で待ち受ける場合は、Custom Image HTTP Function を使用してください。
- サービスを長時間実行する必要がある場合や、より広範なコンテナ動作を使う場合は、代わりに CloudRun を使用してください。
- イメージタグを一意に保ち、レジストリ、ビルド、function のリージョンを一致させてください。
セキュリティ監査
安全The static findings are false positives from Markdown documentation, CloudBase endpoint examples, and runtime skeletons. I found no prompt injection, secret exfiltration, unauthorized command execution, or malicious intent in the reviewed files.
リスク要因
⚡ スクリプトを含む (8)
🌐 ネットワークアクセス (18)
🔑 環境変数 (8)
📁 ファイルシステムへのアクセス (6)
⚙️ 外部コマンド (50)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/tencentcloudbase-cloud-functions/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/tencentcloudbase-cloud-functions?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/tencentcloudbase-cloud-functions?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tencentcloudbase-cloud-functions/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/tencentcloudbase-cloud-functions.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形式の引用
tencentcloudbase. (2026). cloud-functions security audit report (audit version 2) [Author version 2.23.8]. Skillstore. https://skillstore.io/skills/tencentcloudbase-cloud-functions/audits/2BibTeX形式の引用
@techreport{tencentcloudbase-tencentcloudbase-cloud-functions-2026,
author = {tencentcloudbase},
title = {cloud-functions security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/tencentcloudbase-cloud-functions/audits/2},
note = {Author version 2.23.8}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "cloud-functions security audit report (audit version 2)"
version: "2.23.8"
type: report
authors:
- name: "tencentcloudbase"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/tencentcloudbase-cloud-functions/audits/2"
identifiers:
- type: other
value: "skillstore:tencentcloudbase-cloud-functions:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 中作成できるもの
Serverless Backend を作成する
適切な CloudBase function タイプを選び、デプロイ可能なランタイム構造を作成します。
ブラウザー API を公開する
ルーティング、CORS 処理、権限チェック、ゲートウェイ公開手順を備えた HTTP Function を構築します。
Function Operations をデバッグする
ログを調査し、環境変数を安全に更新し、従来の CloudBase ツール名を変換します。
これらのプロンプトを試す
私の CloudBase タスクに Event Function、HTTP Function、Custom Image HTTP Function、または CloudRun のどれを使うべきか判断してください。理由も説明してください。
小規模な JSON API 向けに CloudBase HTTP Function を作成してください。ルーティング、CORS 処理、scf_bootstrap のガイダンス、デプロイ手順を含めてください。
既存の値を失わずに、私の CloudBase function の環境変数を更新してください。安全な読み取り、マージ、更新のワークフローを示してください。
ソースのパッケージングから CloudApp ビルド、TCR イメージタグ付け、SCF デプロイ、検証までの Custom Image HTTP Function デプロイを計画してください。
ベストプラクティス
- コードやデプロイ設定を書く前に、CloudBase ランタイムモデルを選択してください。
- raw Cloud API へのフォールバックより先に、MCP function ツールと gateway ツールを使用してください。
- 環境変数の変更をマージする前に、現在の設定を読み取ってください。
回避
- Event Function handlers と HTTP Function server code を混在させないでください。
- 意図した権限モデルを確認する前に、functions を公開しないでください。
- raw Cloud API actions や payloads を記憶だけで推測しないでください。
よくある質問
Event Function はいつ使うべきですか?
HTTP Function はいつ使うべきですか?
このスキルは単独でコードをデプロイしますか?
コンテナイメージ functions も扱いますか?
公開アクセスはどのように扱いますか?
ログや設定にも役立ちますか?
開発者情報
作成者
tencentcloudbaseライセンス
MIT
作者バージョン
v2.23.8
Skillstore リビジョン
r1
参照
24b2fe42a456262f3fd0fb3df72e12d9ed2c32ec
メンテナンスの新しさ
2026/7/18
利用状況
1 ダウンロード · 0 閲覧