Skip to main content
Glama
EricSeokgon

egovframe-scaffold-mcp

by EricSeokgon

SBOM 점검 (최소 요소·비교·VEX)

check_egovframe_sbom

Validates submitted CycloneDX or SPDX SBOMs against NTIA minimum elements, rechecks purl-based rulings and OSV vulnerabilities, compares baselines, and drafts VEX without modifying the original SBOM.

Instructions

이미 만든 CycloneDX 또는 SPDX 2.x JSON SBOM 을 제출물로서 점검합니다(SBOM 파일은 바꾸지 않음, 형식은 자동 판별). (1) 최소 요소 7종 — 공급자·구성요소명·버전·고유식별자(purl/cpe)·의존관계·작성자·생성 시각(NTIA 최소 요소 = 국내 SW 공급망 보안 가이드라인 핵심 구성요소)을 component 마다 세어 '제출 가능/보완 필요'와 빠진 component 를 보고 (2) 빌드 도구 없이 purl 만으로 기준 판정을 다시 해 생성 당시와 달라진 판정을, offline=false 면 OSV 를 다시 조회해 생성 이후 새로 알려진 취약점을 보고(운영 중 주기 점검) (3) baselinePath(이전 SBOM)를 주면 추가·제거·버전 변경·판정 변화·새 취약점을 비교 (4) vex=true 면(CycloneDX 입력만) CycloneDX VEX 초안(기본 sbom/vex.cdx.json)을 씁니다 — 새 취약점은 analysis.state=in_triage, affects 는 BOM-Link 로 원본 SBOM 참조, 기존 VEX 에 사람이 적은 판단(not_affected·exploitable 등)은 보존하고 새 취약점만 추가합니다(dryRun=true 면 미리보기). 2027년 공공 SBOM 제출 제도화 대비.

Input Schema

NameRequiredDescriptionDefault
vexNotrue 면 VEX 초안 작성·갱신(판단 보존)
dryRunNovex=true 일 때 쓰지 않고 미리보기
formatNo응답 형식markdown
offlineNofalse 면 OSV 재조회로 생성 이후 새 취약점 확인
vexPathNoVEX 파일(프로젝트 상대 경로)sbom/vex.cdx.json
sbomPathNo점검할 SBOM(프로젝트 상대 경로)sbom/bom.cdx.json
projectDirYes프로젝트 디렉터리(절대경로 권장)
baselinePathNo비교할 이전 SBOM(프로젝트 상대 경로)

Output Schema

NameRequiredDescriptionDefault
vexNo
diffNo
notesYes
minimumYes
recheckYes
documentYes
sbomPathYes
projectDirYes
absolutePathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed53 schema fields changedv1.6.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / diff / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / diff / properties / added / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / diff / properties / newVulnerabilities / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / diff / properties / removed / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / diff / properties / statusChanged / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / diff / properties / unchanged / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / diff / properties / unchanged / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / diff / properties / versionChanged / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / document / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / document / properties / components / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / document / properties / components / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / document / properties / version / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / document / properties / version / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / document / properties / vulnerabilities / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / document / properties / vulnerabilities / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / minimum / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / minimum / properties / components / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / minimum / properties / components / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / minimum / properties / componentsWithGaps / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / minimum / properties / componentsWithGaps / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / minimum / properties / elements / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / minimum / properties / elements / items / properties / satisfied / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / minimum / properties / elements / items / properties / satisfied / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / minimum / properties / elements / items / properties / total / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / minimum / properties / elements / items / properties / total / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / minimum / properties / supplierFromCatalog / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / minimum / properties / supplierFromCatalog / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / recheck / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / recheck / properties / changed / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / recheck / properties / components / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / recheck / properties / components / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / recheck / properties / osv / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / recheck / properties / osv / properties / ids / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / recheck / properties / osv / properties / ids / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / recheck / properties / osv / properties / items / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / recheck / properties / summary / additionalProperties / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / recheck / properties / summary / additionalProperties / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / recheck / properties / summary / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / recheck / properties / unrecorded / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / recheck / properties / unrecorded / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / vex / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / vex / properties / added / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / vex / properties / added / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / vex / properties / extended / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / vex / properties / extended / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / vex / properties / preserved / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / vex / properties / preserved / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / vex / properties / states / additionalProperties / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / vex / properties / states / additionalProperties / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / vex / properties / states / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / vex / properties / vulnerabilities / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / vex / properties / vulnerabilities / minimum
      Added value: +-9007199254740991
  2. Changed2 schema fields changedv0.45.0
    • addedOutput schema / properties / document / properties / format
      Added value: +{
      +  "enum": [
      +    "cyclonedx",
      +    "spdx"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / document / required
      Previous value: -[
      -  "specVersion",
      -  "serialNumber",
      -  "version",
      -  "timestamp",
      -  "components",
      -  "tools",
      -  "vulnerabilities"
      -]New value: +[
      +  "format",
      +  "specVersion",
      +  "serialNumber",
      +  "version",
      +  "timestamp",
      +  "components",
      +  "tools",
      +  "vulnerabilities"
      +]
  3. Addedv0.40.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial context beyond the annotations: the input SBOM is never modified, format is auto-detected, OSV lookups occur only when offline=false (consistent with openWorldHint=true), and vex=true writes a CycloneDX VEX draft to a stated default path while preserving human-authored judgments. The write path explains the readOnlyHint=false / idempotentHint=false annotations rather than contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core statement, then organized into numbered (1)-(4) modes so each paragraph maps to a capability; almost nothing is redundant. It is nonetheless a very dense single block with heavy parentheticals, which slightly hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Eight parameters, one required, 100% schema coverage, and an output schema exists — so the description need not specify return values, and it doesn't. It covers every mode the parameters enable plus the 2027 submission-framing rationale, leaving no operational gaps for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: it constrains vex to CycloneDX inputs only (not stated in the schema), explains what baselinePath compares (added/removed, version changes, verdict changes, new vulnerabilities), and clarifies dryRun's interaction with vex=true.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('이미 만든 CycloneDX 또는 SPDX 2.x JSON SBOM 을 제출물로서 점검합니다') and enumerates the four distinct check modes so the agent knows exactly what it does. It is clearly differentiated from the sibling generate_egovframe_sbom: this consumes an existing SBOM, it does not produce one ('SBOM 파일은 바꾸지 않음').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use conditions for each mode: baselinePath for regression comparison, offline=false for re-querying OSV during operation, vex=true for drafting VEX, dryRun=true for preview. The 'generation-time vs now' framing tells the agent when this is the right tool. It does not, however, name the alternative sibling (generate_egovframe_sbom) explicitly, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.