kordoc-detect-format — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited kordoc-detect-format (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Reproduce the detect_format logic from src/mcp.ts: read only the header, then call detectFormat.
.hwp, .hwpx, .pdf.npm exec --yes --package=kordoc --package=pdfjs-dist -- node <<'SCRIPT'
const p = require("path"), fs = require("fs");
const nmBin = process.env.PATH.split(p.delimiter).find(d => d.endsWith(".bin"));
const kUrl = "file:///" + p.join(p.resolve(nmBin, ".."), "kordoc", "dist", "index.js").split(p.sep).join("/");
import(kUrl).then(k => {
const filePath = "/abs/path/document.hwpx";
const fd = fs.openSync(filePath, "r");
const header = Buffer.alloc(4);
try { fs.readSync(fd, header, 0, 4, 0); } finally { fs.closeSync(fd); }
const ab = header.buffer.slice(header.byteOffset, header.byteOffset + header.byteLength);
console.log(k.detectFormat(ab));
}).catch(e => { console.error(e); process.exit(1); });
SCRIPTdetectFormat inspects).hwp, hwpx, pdf, or unknown.unknown, stop and report that rather than trying to parse anyway.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.