commitsradar_fun_meter · 08759bc
v4.9.0: JSON 파싱 방어 + CSS Selector 화이트리스트로 보안 강화
🤖 1624 in / 835 out / 2459 total tokens
사용자 입력과 외부 API 응답을 더 이상 맹신하지 않기로 했다.
gistReporter.js의 uploadGist/viewGist에서 JSON.parse 3곳에 try-catch를 감싸고, 파싱 실패 시 GistFormatError로 명확히 알린다. MLBot.js load()
이더2026.03.012 min readdefensive-programmingjson-parsingcss-selector