用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-eks-v180-4-1-12命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-eks-v180-4.1.12 |
| description | Minimize access to the service account token creation (Manual) |
| category | cis-eks |
| version | 1.8.0 |
| author | cyberstrike-official |
| tags | ["cis","eks","kubernetes","aws","rbac","service-accounts","token-creation"] |
| cis_id | 4.1.12 |
| cis_benchmark | CIS Amazon Elastic Kubernetes Service (EKS) Benchmark v1.8.0 |
| tech_stack | ["kubernetes","aws","eks"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Users with rights to create new service account tokens at a cluster level, can create long-lived privileged credentials in the cluster. This could allow for privilege escalation and persistent access to the cluster, even if the users account has been revoked.
The ability to create service account tokens should be limited.
Review the users who have access to create the token sub-resource of serviceaccount objects in the Kubernetes API.
kubectl get clusterroles -o json | jq -r '.items[] | select(.rules[]? | select(.resources[]? == "serviceaccounts/token")) | .metadata.name'
Where possible, remove access to the token sub-resource of serviceaccount objects.
By default, the cluster-admin ClusterRole has access to create service account tokens.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 6.8 Define and Maintain Role-Based Access Control | ● |