ToolmarkCheck a package

Behaviour report · published

version 4.25.3 | run 2026-11-22

kordoc

Recorded by Toolmark on 2026-11-22. Version 4.25.3. Run 2026-11-22. A behaviour report, not a rating or an endorsement.

Tools declared
22
Called
22
Not called
0
Checks passed
3
Checks failed
0
To review
1

Not a rating; there is no score. Not tested is never counted against a tool.

To review (1)

Things a person should look at. Not failures.

  • Tools with no safety hints at all, so an agent cannot tell from the list which tools only readparse_document, detect_format, parse_metadata, parse_pages, parse_table, compare_documents, parse_chunks, parse_form, fill_form, place_seal, add_memo, patch_document, redact_document, render_document, crop_regions, extract_tables, extract_profile, generate_document, build_agency_pack, agency_pack_info, lint_document, convert_to_hwpx

Declared and observed

What each tool says about itself, next to what happened when we called it.

Declared
Observed
parse_document
한국 문서 파일(HWP, HWPX, PDF, XLSX, DOCX)과 이미지(PNG/JPG/WebP/TIFF/GIF/BMP/AVIF/HEIC/PCX)를 마크다운으로 변환합니다. 파일 경로를 입력하면 포맷을 자동 감지하여 텍스트를 추출합니다. 이미지는 OCR(내장 PP-OCRv5)이 자동 적용되고 표 괘선도 복원됩니다. 견본 서식대로 새 문서를 쓰거나(서식 베끼기) 문구를 고쳐 patch_document 로 넘길 마크다운이면 keep_layout_tables: true 로 읽으세요. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
detect_format
파일의 포맷을 매직 바이트와 컨테이너 내부 구조로 감지합니다 (hwpx, hwp, hwp3, hwpml, pdf, xls, xlsx, docx, pptx, image, unknown). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
parse_metadata
문서의 메타데이터(제목, 작성자, 날짜 등)만 빠르게 추출합니다. 전체 파싱 없이 헤더/매니페스트만 읽습니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
parse_pages
문서의 특정 페이지 범위만 파싱합니다. PDF와 한컴 저장본 HWP/HWPX는 실제 페이지 기준(metadata.pageMode=layout), 조판 캐시가 없는 생성 파일은 섹션 단위 근사(pageMode=section)입니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
parse_table
문서에서 N번째 테이블만 추출합니다 (0-based index). 테이블이 없거나 인덱스 범위를 초과하면 오류를 반환합니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
compare_documents
두 한국 문서 파일을 비교하여 추가/삭제/변경된 블록을 표시합니다. 신구대조표 생성에 활용됩니다. 크로스 포맷(HWP↔HWPX) 비교 가능. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx)
review item
parse_chunks
문서를 RAG용 구조 청크 JSON으로 파싱합니다. 헤딩·개조식 위계(□○- / 1.·가.·1))가 breadcrumb 경로로 보존되고 표는 독립 청크로 나옵니다 — 임베딩·인덱싱 전처리용. 자르기(토큰 상한·오버랩)는 소비자 몫입니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 청크 파싱 실패: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx, .png, .jpg, .jpeg, .webp, .tif, .tiff, .gif, .avif, .heic, .heif, .pcx, .dcx, .bmp)
review item
parse_form
한국 서식 문서에서 레이블-값 쌍을 구조화된 JSON으로 추출합니다. 양식/서식 문서에 최적화. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx)
review item
fill_form
한국 서식 문서의 빈칸을 채워서 새 문서로 출력합니다. hwpx-preserve를 사용하면 원본 서식(테두리, 폰트, 병합 등)을 100% 유지합니다 — HWP 5.x 서식은 서식 그대로 HWPX 로 바꿔 채워 HWPX 로 냅니다. 누름틀(CLICK_HERE) 필드는 이름으로 정확 매칭되어 우선 채워집니다. file_path 대신 template으로 내장 정부 표준 기안문 서식을 쓸 수 있습니다 — gian(일반기안문, 별지 제1호서식: 행정기관명·수신자·경유·제목·본문·붙임·발신명의·기안자·검토자·결재권자 등 23필드) / gian-simple(간이기안문, 별지 제2호서식: 내부결재용 13필드). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): fields 또는 fields_file 중 하나만 지정해주세요
review item
place_seal
도장/서명 이미지를 앵커 문구("(인)"·"서명 또는 인" 등) 위에 부유(글 앞) 배치합니다. 표/페이지를 키우지 않습니다 (HWPX·HWP 5.x — HWP 는 서식 그대로 HWPX 로 바꿔 찍어 HWPX 로 냅니다). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 도장 배치 실패: 지원하지 않는 출력 확장자입니다: .md (허용: .hwpx)
review item
add_memo
앵커 문구에 메모(한글 "메모 넣기")를 답니다 — 본문 글·서식은 그대로 두고 메모 필드만 끼웁니다 (#180, HWPX·HWP 5.x — HWP 는 서식 그대로 HWPX 로 바꿔 달아 HWPX 로 냅니다). 기존 메모는 parse_document 결과 머리 줄·memos 옵션으로 읽습니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 메모 달기 실패: 지원하지 않는 출력 확장자입니다: .md (허용: .hwpx)
passed: reports a failure when it cannot reach its service
review item
patch_document
원본 HWPX/HWP의 서식(글꼴·표·도장칸·로고·결재란·이미지)을 그대로 두고, 편집된 마크다운대로 글을 바꿔 새 문서로 출력합니다. 두 가지 용도: (1) 문구 수정·빈칸 채우기, (2) ★서식 베끼기 — "이 문서 서식대로/똑같은 양식으로/이거 참고해서 ○○ 문서 써줘"처럼 견본의 분위기를 그대로 재현해 새 공문서를 쓰는 요청. 절차: parse_document(견본, keep_layout_tables: true) → 받은 마크다운의 골격(표지·결재란 표, 제목, □·ㅇ·- 부호와 들여쓰기, 강조 표지 **, 표 표기)을 유지한 채 내용만 새로 쓰기 → 이 도구(file_path=견본, output_path=새 파일) → render_document 로 확인. HWPX 견본은 문단을 자유롭게 늘리고 줄여도 됩니다: 새 줄은 같은 항목 부호(□·ㅇ·-·※·1.·가.)를 단 견본 문단을 복제해 같은 들여쓰기·글꼴·굵기로 들어가고, 지운 줄은 문단째 빠집니다. 표는 견본 표를 그대로 두고 칸 글만 바꾸며 행은 추가·삭제(<table> 표기면 그 HTML 꼴 유지, GFM 으로 바꾸지 말 것). 견본에 없는 요소를 새로 만들거나 kordoc 기본 서식으로 다시 짜는 generate_document 는 서식 베끼기에 쓰지 마세요. HWP(5.x) 견본은 제자리 수정에서 문단 추가·삭제가 안 됩니다 — 줄 수가 바뀌면 원본을 서식 그대로 HWPX 로 바꿔 반영한 대체본(<출력>.rewrite.hwpx)을 받습니다(HWP 결과가 꼭 필요하면 줄 수를 견본에 맞추세요). 좌표가 어긋난 자리(틀 표·제목 상자·강제 줄바꿈 문단 등)는 원문 글을 찾아 그 자리만 고치고, 그래도 제자리 반영 못 한 편집이 있으면 편집 내용을 다 담은 대체본(원본 서식으로 새로 쓴 <출력>.rewrite.hwpx)을 함께 만듭니다 — 서식을 맞추려고 칸을 비우거나 내용을 빼지 말고 넣을 내용을 그대로 쓰세요. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 출력 확장자입니다: .md (허용: .hwpx, .hwp)
passed: reports a failure when it cannot reach its service
review item
redact_document
문서의 개인정보(주민·외국인등록번호·전화·이메일·카드·계좌·사업자등록번호·여권·운전면허, rules 로 인명·주소 opt-in)를 탐지해 서식 보존 마스킹합니다. HWPX/HWP는 원본 서식 그대로 같은 길이로 가린 파일 — 본문·표·중첩표·머리말/꼬리말·각주·글상자·필드·미리보기(텍스트·이미지)·문서 정보(제목·작성자)까지 가리고, 저장 전 결과 파일을 다시 훑어 남은 PII를 보고합니다. 그 외 포맷(PDF·DOCX·XLSX 등)은 원본을 건드리지 않고 마스킹된 마크다운만 출력합니다. 자동 검출 보조 도구 — 결과 리포트를 사람이 최종 확인해야 하며 이미지 속 글자는 탐지하지 못합니다. 마스킹 후 render_document로 눈으로 확인하는 것을 권장합니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 마스킹 실패: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hwpx, .hml, .pdf, .xls, .xlsx, .docx, .pptx)
review item
render_document
HWPX·HWP 문서를 실제 조판 그대로 렌더해 PNG/JPEG 이미지로 응답하거나 SVG·HTML·PDF 파일로 저장합니다. generate_document·fill_form·patch_document·place_seal 결과물을 눈으로 확인하는 용도 — 생성/수정 후 이 도구로 렌더해 깨짐·잘림·배치를 검증하고 다시 고치는 루프를 권장합니다. 한컴 저장본(HWPX·HWP 모두)은 조판 캐시로 정확히, AI 생성본(캐시 없음)은 순수 조판 엔진(reflow)으로 렌더되며 후자는 한컴 실조판의 근사입니다 (참고용 미리보기). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 렌더 실패: 지원하지 않는 확장자입니다: .md (허용: .hwpx, .hwp)
review item
crop_regions
HWPX·HWP 문서를 렌더해 표·이미지·문단·도형 영역을 페이지 이미지에서 잘라 파일로 저장합니다(render_document 와 같은 조판 엔진, 페이지 로컬 pt bbox 를 실배율로 환산). 표가 진짜 데이터표인지 조직도인지는 판단하지 않습니다(그건 extract_tables) — 렌더러가 아는 개체를 자를 뿐. 결과: output_dir/<유형>_<번호>_page_<쪽>.png + regions.json(id·유형·페이지·bbox pt). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): crop 실패: 지원하지 않는 확장자입니다: .md (허용: .hwpx, .hwp)
review item
extract_tables
HWPX·HWP 문서의 표를 추출·분류합니다(#76). 표마다 semantic-table(데이터표) / non-tabular-layout(조직도·연락망·결재란처럼 표를 캔버스로 쓴 것) / uncertain 분류와 근거 신호, 페이지·bbox(pt, 렌더 region 조인), 정책(visual)에 따른 crop 이미지를 돌려줍니다 — 조직도는 이미지로, 데이터표는 셀 구조로 넘기는 멀티모달 파이프라인용. 휴리스틱(네트워크·LLM 없음), 중첩표도 독립 분류. crop 은 output_dir 에 저장하고 8장까지 응답에 함께 담습니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 표 추출 실패: 지원하지 않는 확장자입니다: .md (허용: .hwpx, .hwp)
review item
extract_profile
참조 HWPX 문서에서 표 서식 프로필(테두리·음영·열 너비·셀 글꼴)을 JSON으로 추출합니다. 추출한 프로필을 generate_document의 profile_path로 넘기면 원본 문서 없이 같은 표 서식을 재현합니다(표만 — 문서 전체 분위기를 따라 쓰려면 견본을 patch_document 로 고쳐 쓰는 편이 정확). No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 출력 확장자입니다: .md (허용: .json)
review item
generate_document
마크다운을 HWPX 한글 문서로 생성합니다(kordoc 공문서 서식). "보고서로/공문서로/개조식으로/계획서로 뽑아줘·만들어줘" 요청이 이 도구입니다. ⚠ 사용자가 견본 HWPX/HWP 를 주며 "이 서식대로·똑같이·이거처럼 써줘"라고 하면 이 도구가 아니라 parse_document → 내용만 새로 쓴 마크다운 → patch_document(견본 서식·로고·결재란·표 그대로, 문단 추가·삭제 가능)입니다 — 견본과 표·항목 구조가 다른 새 문서를 부서 서식으로 짤 때만 이 도구의 template_path. 프리셋 매핑: 정부 표준 보고서(표지·목차·로마숫자 장헤더 자동)='개조식', 중앙부처 업무보고·국회 서면보고(재경부 실측: 장 띠·절 숫자칸·소제목 박스·① 항목 띠·연노랑 성과 요약박스·별첨 띠, □ 뒤 (키워드) 파랑)='업무보고', 지방자치단체 방침서·추진계획(서울시 시장방침 실측: 제목표·파랑 부제·요약박스·[Ⅰ] 장 상자·절 띠)='서울방침' — 보고서·계획서를 만들 때 정부(업무보고)형과 지방(서울방침)형 중 무엇으로 할지 불명확하면 사용자에게 물어보세요, 기안문·시행문·알림공문='기안문', 1페이지 요약보고서='보고서', 추진계획='계획서'. 표는 실측 정부 서식(헤더 음영+이중선·외곽 굵은선·내용 비례 열폭), 쪽번호·결재란·'끝.' 표시 지원. ⚠ 생성 전 확인 권장: 문서종류(보고서/기안문)·제목·기관명(org)·날짜·목차 여부가 불명확하면 사용자에게 물어보세요 — 엉뚱한 프리셋 선택이 가장 흔한 오생성 원인. 마크다운 규칙(v4.13 서울 실결재 실측 위계): #(h1)=문서 제목, ##(h2)=장(보고서 Ⅰ Ⅱ / 기안문·통지는 법정 1.), ###(h3)=□ 대항목(기안문 가., 개조식 `### 1. 제목`=번호 절 띠), 그 아래 리스트=ㅇ → - → ㆍ(기안문 가. → 1) → 가)), 본문에 □/ㅇ/-/1./가. 를 직접 써도 같은 위계로 정규화, ※시작·'출처:'·'자료:'=참고(13pt), 제목 직후 인용문(>)=요약박스( No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 출력 확장자입니다: .md (허용: .hwpx, .hwp)
review item
build_agency_pack
기관팩 만들기 — 사용자의 기관 문서(HWPX) 몇 건으로 그 기관 서식 묶음(.kpack)을 만든다. kordoc 에 없는 기관(지자체·공공기관) 서식으로 계속 문서를 써야 할 때 쓴다. 같은 종류 문서(보고서끼리, 보도자료끼리)를 kind 하나로 묶어 2건 이상 주면 역할(□·ㅇ·-·제목표·요약 상자 …)별 다수결 서식에 가장 맞는 견본을 대표로 고른다. 원문 글·작성자 정보·결재선 이름·전화는 비우고 서식·틀·로고만 담는다. 결과로 요약과 작성 요령(guide)을 돌려준다 — 이후 generate_document(pack_path) 원고는 그 요령대로 쓴다. 결과에 '다른 서식으로 보이는 견본'·'남은 글' 경고가 있으면 사용자에게 알릴 것 No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 출력 확장자입니다: .md (허용: .kpack)
review item
agency_pack_info
기관팩(.kpack) 요약과 작성 요령 보기 — 사용자가 기관팩을 주며 그 서식으로 문서를 써 달라고 하면 먼저 이 도구로 작성 요령을 읽고, 그 규칙대로 원고를 써서 generate_document(pack_path) 로 만든다 No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: 지원하지 않는 확장자입니다: .md (허용: .kpack)
review item
lint_document
공문서 검수 — 표기법(날짜·시각·금액·붙임·외래어·쉬운 말·차별 표현)은 늘, 개조식 문체·윤문·구성·본문↔표 수치·예산(산출근거 검산·표 합계·합계 행 위치·외화 표기·증감 기준)은 골라 켭니다. text(마크다운·평문, 한 줄 = 한 문단) 또는 file_path(HWP·HWPX·PDF 등) 중 하나. 결과 JSON 의 지적마다 line(1부터)·column(1부터, 문서 단위 지적엔 없음)·match·rule·severity·message·suggest — 열린 문서를 고치는 도구는 blocks(문단·표 칸마다 id·글·표 위치)로 넘기면 지적마다 block(id)·offset(블록 안 위치, 0부터)·length 로 돌려받습니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 오류: text·file_path·blocks 중 정확히 하나를 주세요
passed: reports a failure when it cannot reach its service
review item
convert_to_hwpx
HWP 문서를 HWPX 로 변환해 저장합니다. HWP 5.x 는 서식 그대로 옮깁니다 — 글꼴·글자/문단 모양·스타일·번호, 표(병합·테두리), 그림·도형·글상자, 수식, 머리말·꼬리말, 각주·미주, 쪽 번호, 누름틀·하이퍼링크, 차트. HWP 3.x 는 서식 보존 변환이 없어 글·표만 옮깁니다(결과에 알림). "hwp 를 hwpx 로 바꿔 줘" 같은 요청에 쓰고, 바꾼 뒤 render_document 로 결과를 확인할 수 있습니다. 배포용 문서도 복호한 본문으로 바꿉니다. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): 변환 실패: 지원하지 않는 확장자입니다: .md (허용: .hwp, .hml)
review item

What the server did in the sandbox

0Programs it started or tried to startnone seen
0Network connections it tried, with the answer it gotnone seen
0Names it looked upnone seen
0Key and secret files it tried to opennone seen
0Files it opened for writing outside the usual placesnone seen

Recorded with strace during this run, for the server and every process it started. The recorder runs inside the same sandbox as the tool, so a tool that targets it could hide from it; it covers the whole run, not each tool call.

Package facts
  • tool list size: 79857 bytes as JSON (names, descriptions and input schemas of 22 tools)
  • packages with an install script, which Toolmark does not run (a server that needs it is marked not tested, never failed): onnxruntime-node@1.31.1
How this was tested
  • network check: DNS and TCP (IPv4 and IPv6) to the outside all failed before any call
  • started the package's declared command kordoc-mcp (our profile)
  • Toolmark's synthetic fixture (files) was created in the data folder /fixture
  • started with fixed arguments of ours:
  • Dependencies (147)@emnapi/runtime@1.11.3, @hono/node-server@2.1.11, @huggingface/tokenizers@0.2.0, @hyzyla/pdfium@2.1.13, @img/colour@1.1.0, @img/sharp-libvips-linux-x64@1.3.4, @img/sharp-linux-x64@0.35.5, @img/sharp-wasm32@0.35.5, @modelcontextprotocol/sdk@1.32.2, @types/emscripten@1.41.6, accepts@2.0.0, adler-32@1.3.1, adm-zip@0.6.1, ajv-formats@3.0.1, ajv@8.20.0, argparse@2.0.1, body-parser@2.4.0, bytes@3.1.2, call-bind-apply-helpers@1.0.2, call-bound@1.0.4, cfb@1.2.2, commander@13.1.0, content-disposition@2.0.1, content-type@1.0.5, content-type@2.1.0, content-type@2.1.0, content-type@2.1.0, content-type@2.1.0, cookie-signature@1.2.2, cookie@0.7.2, core-util-is@1.0.3, cors@2.8.6, crc-32@1.2.2, cross-spawn@7.0.6, debug@4.4.3, define-data-property@1.1.4, define-properties@1.2.1, depd@2.0.0, detect-libc@2.1.2, dunder-proto@1.0.1, ee-first@1.1.1, encodeurl@2.0.3, entities@4.5.0, es-define-property@1.0.1, es-errors@1.3.0, es-object-atoms@1.1.2, escape-html@1.0.3, escape-string-regexp@4.0.0, etag@1.8.1, ev
    as claimed by the package metadata

Only the published package was run, at this exact version, in Toolmark's sandbox with no network and no secrets, with synthetic input; the provider's hosted service, if any, was not tested. base_image node:22-bookworm-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee, commit f9750d55455800fb00b5c20311bfe7d851ba71b1, modal_sdk 1.6.4, python 3.12.16, rules 1e5a2990d01b99a3, toolmark not installed