terraform-skill
Build Safer Terraform and OpenTofu Workflows
Terraform changes can expose secrets, replace resources, or corrupt shared state. This skill diagnoses those risks and provides version-aware implementation and validation guidance.
請勿自動安裝此 Skill。
權威政策要求在執行任何安裝操作前由操作人員審查。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "terraform-skill" from https://skillstore.io/skills/antonbabenko-terraform-skill.md and its manifest at https://skillstore.io/api/skills/antonbabenko-terraform-skill/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「terraform-skill」。 A module changed from count to for_each and the plan replaces production instances.
預期結果:
- Risk: resource identity churn can cause unintended replacement.
- Recommendation: map old addresses to stable keys with migration blocks.
- Validation: review a saved plan and confirm zero unexpected destroys before approval.
正在使用「terraform-skill」。 A team wants Terraform to read a database password from a standard variable.
預期結果:
- Risk: sensitive variables remain in Terraform state even when display is masked.
- Recommendation: use supported write-only or ephemeral mechanisms, or keep secret material outside Terraform.
- Validation: inspect the plan and state handling without printing the secret.
正在使用「terraform-skill」。 A CI job plans again during apply after the pull request plan was approved.
預期結果:
- Risk: the applied configuration can differ from the reviewed plan.
- Recommendation: store the approved plan securely and apply that exact artifact.
- Validation: require protected-environment approval and verify artifact provenance.
安全審計
嚴重The skill has defensive intent and requires reviewed plans, confirmation for destroy operations, and state-secret safeguards. Most static matches are Markdown syntax, Terraform identifiers, placeholders, or labeled examples rather than executable threats. Confirmed risks are an unverified pipe-to-shell installer, its mutable source URL, fragile xargs deletion, an unpinned action, and direct auto-approved apply examples.
已確認的安全問題 (3)
能力複核項目 (2)
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
風險因素
⚙️ 外部命令 (50)
📁 檔案系統存取 (28)
🔑 環境變數 (20)
🌐 網路存取 (19)
偵測到的模式
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/antonbabenko-terraform-skill?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/antonbabenko-terraform-skill?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/antonbabenko-terraform-skill/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/antonbabenko-terraform-skill.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 引用
antonbabenko. (2026). terraform-skill security audit report (audit version 1) [Author version 1.17.1]. Skillstore. https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1BibTeX 引用
@techreport{antonbabenko-antonbabenko-terraform-skill-2026,
author = {antonbabenko},
title = {terraform-skill security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1},
note = {Author version 1.17.1}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "terraform-skill security audit report (audit version 1)"
version: "1.17.1"
type: report
authors:
- name: "antonbabenko"
date-released: "2026-08-13"
url: "https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1"
identifiers:
- type: other
value: "skillstore:antonbabenko-terraform-skill:audit:1"
description: "Skillstore immutable audit report identifier"
比較變體
2 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
antonbabenko-terraform-skill
2026-10-24
Skillstore 評分
評分依據 證據置信度: 低你可以打造什麼
Refactor a Shared Module
Plan address-preserving changes, add migration blocks, and validate that production resources are not replaced.
Build a Controlled Delivery Pipeline
Create validation, testing, policy, plan, approval, and exact-plan apply stages for infrastructure changes.
Recover and Harden Remote State
Investigate locks or drift, select a recovery path, and document backup and rollback evidence.
試試這些提示
Review this Terraform configuration for correctness and safety. State runtime assumptions, identify risks, propose focused changes, and provide validation steps.
Design a reusable [provider] module for [service]. Target [Terraform or OpenTofu version]. Include typed inputs, stable outputs, tests, security controls, and usage guidance.
Design a CI/CD workflow for this repository. Separate validation, testing, security, plan, approval, and apply stages. Apply only the reviewed plan artifact.
Diagnose this [lock, drift, migration, or corruption] incident. Use the supplied backend details and logs to create evidence-preserving recovery and rollback procedures.
最佳實務
- Provide the runtime, exact version, providers, backend, execution path, and environment criticality.
- Review saved plans and retain rollback evidence before destructive or state-mutating operations.
- Pin runtimes, providers, modules, actions, and lockfiles according to the environment risk.
避免
- Do not apply directly to production without a reviewed plan artifact and approval.
- Do not assume sensitive variables keep secret values out of state.
- Do not rename resource addresses blindly or use list indexes as durable identity.
常見問題
Does this skill support OpenTofu?
Can it write complete Terraform modules?
Will it run terraform apply automatically?
How does it handle secrets?
Which testing approaches does it cover?
Can it recover corrupted Terraform state?
開發者詳細資訊
作者
antonbabenko授權
Apache-2.0
作者版本
v1.17.1
Skillstore 修訂
r1
引用
68046dfc1c93b48a04e43344644ad77d3a895012
維護新鮮度
2026/8/13
使用量
0 次下載 · 0 次瀏覽