Agent Skillsrustfs/rustfs › security-advisory-lessons

security-advisory-lessons

GitHub

用于执行 RustFS 深度安全审查,覆盖认证、IAM、RPC 信任等边界。通过冻结差异、匹配建议模式及追踪攻击路径,识别漏洞并生成包含严重性、修复方案及回归测试的安全报告。

.agents/skills/security-advisory-lessons/SKILL.md rustfs/rustfs

Trigger Scenarios

用户明确要求进行安全或建议审查 对抗性审查明确升级至完整建议地图

Install

npx skills add rustfs/rustfs --skill security-advisory-lessons -g -y
More Options

Non-standard path

npx skills add https://github.com/rustfs/rustfs/tree/main/.agents/skills/security-advisory-lessons -g -y

Use without installing

npx skills use rustfs/rustfs@security-advisory-lessons

指定 Agent (Claude Code)

npx skills add rustfs/rustfs --skill security-advisory-lessons -a claude-code -g -y

安装 repo 全部 skill

npx skills add rustfs/rustfs --all -g -y

预览 repo 内 skill

npx skills add rustfs/rustfs --list

SKILL.md

Frontmatter
{
    "name": "security-advisory-lessons",
    "description": "Perform a dedicated RustFS security\/advisory review for authn\/authz, IAM, RPC trust, paths, secrets, browser isolation, encryption, Object Lock, or other security boundaries. Use only when the user requests a security\/advisory review or an adversarial review explicitly escalates to the full advisory map; do not auto-load solely because code touches a sensitive path."
}

RustFS Security Advisory Lessons

Use this skill as the deep security lens. For a normal adversarial review with a matched security surface, the concise security reference under adversarial-validation is sufficient.

Workflow

  1. Freeze the exact diff/head and identify the changed trust boundaries.
  2. Read advisory-patterns.md, then apply only the matching sections. Useful headings are auth/admin, IAM/STS/OIDC, policy/plugins, S3/copy/multipart, protocols, paths, secrets/logging/RPC, browser/CORS/proxy, SSE, Object Lock, and serde.
  3. Trace unauthenticated, low-privilege, wrong-action/owner/bucket, malformed, and default-config cases. Security decisions must fail closed.
  4. Require a focused negative regression test for the bypass/exploit form, not only the intended success path. State residual risk when a test is impractical.
  5. Report proven vulnerabilities separately from defense-in-depth hardening.

When advisory currentness matters, fetch the live inventory instead of treating the reference as a status mirror:

gh api repos/rustfs/rustfs/security-advisories --paginate \
  --jq '.[] | {ghsa_id,state,severity,summary,updated_at}'

Fetch an individual advisory only when the live summary indicates a new or changed lesson.

Finding Standard

Each finding includes severity, file:line, attacker prerequisites, concrete input/path, impact, smallest safe fix, and a regression check. Do not exaggerate unauthenticated impact when the actual issue requires authenticated low privilege.

Version History

  • 0fe41da Current 2026-08-29 02:10

    简化指令路由流程,优化工作流步骤与发现标准描述

  • 0d129ec 2026-08-20 14:32

Same Skill Collection

.agents/skills/adversarial-validation/SKILL.md
.agents/skills/arch-checks/SKILL.md
.agents/skills/code-change-verification/SKILL.md
.agents/skills/plugin-contract-guard/SKILL.md
.agents/skills/pr-creation-checker/SKILL.md
.agents/skills/rust-code-quality/SKILL.md
.agents/skills/rustfs-logging-governance/SKILL.md
.agents/skills/rustfs-release-publish/SKILL.md
.agents/skills/rustfs-release-version-bump/SKILL.md
.agents/skills/test-coverage-improver/SKILL.md
.agents/skills/tier-debug/SKILL.md
.mimocode/skills/issue-triage/SKILL.md
.mimocode/skills/pr-review/SKILL.md

Metadata

Files
0
Version
0fe41da
Hash
7f0c46dd
Indexed
2026-08-20 14:32

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 20:32
浙ICP备14020137号-1 $Carte des visiteurs$