+ Concise, balanced prioritization based on exposure.
- Linking node-fetch to SSRF is technically imprecise.
this is for repo Analyze code scanning security issues and dependency updates if vulnerable Analyze GHAS alerts across repositories Identify dependenc
| Category | Development › Deploy & operations |
|---|---|
| Tags | AnalyzingReviewingDeveloperCode |
this is for repo Analyze code scanning security issues and dependency updates if vulnerable Analyze GHAS alerts across repositories Identify dependency vs base image root causes Detect repeated vulnerability patterns Prioritize remediation based on severity and exposure
This prompt is for triaging code scanning security issues across repositories. It focuses on root-cause classification, repeated vulnerability patterns, and prioritization rather than direct code fixes.
ChatGPT offers the best balance of accuracy, brevity, and compliance. Claude is technically deepest but overly long and too definitive about exposure, while Gemini is useful yet speculative and verbose.
+ Concise, balanced prioritization based on exposure.
- Linking node-fetch to SSRF is technically imprecise.
+ Most precise on CVE mismatch and validation criteria.
- It overstates low OpenSSL risk and is too lengthy.
+ Broad root-cause classification with concrete actions.
- Unsupported environment assumptions and excessive length.
| Criterion | ChatGPT | Claude | Gemini | Leader |
|---|---|---|---|---|
| Instruction following | 10 | 9 | 9 | ChatGPT +11% |
| Accuracy | 8 | 9 | 6 | Claude +13% |
| Specificity | 9 | 10 | 8 | Claude +11% |
| Structure | 9 | 9 | 8 | Tie |
| Right length | 9 | 6 | 6 | ChatGPT +50% |
Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-24). This is an AI review, not a measurement.
We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.
[Pasted material] 레포: witimcorp/payment-api (GitHub, private) 현재 열려있는 GHAS 알림 목록이야: - CodeQL: SQL Injection 가능성 (severity: high) — src/db/queryBuilder.ts:142, 사용자 입력값을 그대로 문자열 결합해서 쿼리 생성 - Dependabot: lodash 4.17.15 → 4.17.21 업데이트 필요 (Prototype Pollution, CVE-2021-23337, severity: high) - Dependabot: node-fetch 2.6.0 → 2.6.7 업데이트 필요 (severity: moderate) - Dependabot: 베이스 이미지 node:18-alpine에 포함된 openssl 패키지 취약점 (CVE-2023-0286, severity: critical) - CodeQL: 하드코딩된 API 키 노출 가능성 — src/config/legacy.ts:8 지난 3개월 alert 히스토리를 보면 lodash, node-fetch 관련 알림이 반복적으로 뜨고 있어. 심각도랑 실제 노출 가능성 기준으로 우선순위 매겨줘.
| 순위 | 알림 | 우선도 | 판단 |
|---|---|---|---|
| 1 | 하드코딩된 API 키 — src/config/legacy.ts:8 |
긴급 | 실제 유효한 키라면 코드 공개 여부와 무관하게 탈취 가능성이 있으며, 저장소·커밋·빌드 로그에 남을 수 있음 |
| 2 | SQL Injection — src/db/queryBuilder.ts:142 |
긴급 | 사용자 입력이 문자열 결합으로 SQL에 포함되면 인증 우회, 데이터 유출·변조가 가능함. 외부 요청 경로에 노출됐을 가능성이 높음 |
| 3 | node:18-alpine의 OpenSSL 취약점, CVE-2023-0286 |
매우 높음 | 애플리케이션 코드가 아니라 베이스 이미지와 OS 패키지 문제. 인터넷 노출 서비스의 TLS/암호화 기능이 영향을 받는지 확인 후 즉시 이미지 교체·재배포 |
| 4 | lodash 4.17.15 → 4.17.21, CVE-2021-23337 |
높음 | 알려진 Prototype Pollution 취약점. 사용자 입력이 lodash 취약 함수까지 도달하는지와 런타임 의존성인지 확인. 반복 발생하므로 구조적 의존성 관리 문제로 판단 |
| 5 | node-fetch 2.6.0 → 2.6.7 |
중간 | lodash 및 OpenSSL보다 즉시 영향은 낮지만, 외부 URL·리다이렉트·사용자 제어 요청을 처리한다면 SSRF 등 실제 노출 가능성을 추가 평가해야 함 |
legacy.ts의 키가 실제 키라면 즉시 폐기·재발급하고 사용처의 접근 로그를 확인합니다. 이후 환경변수 또는 Secret Manager로 이전하고 Git 이력에 키가 남아 있다면 이력 정리도 검토해야 합니다.node:18-alpine을 최신 패치 버전의 명시적 이미지 태그로 교체하고, 이미지 내부 OpenSSL 패키지를 업데이트한 뒤 새 이미지로 재배포합니다. 단순히 애플리케이션 패키지만 업데이트해서는 해결되지 않습니다.npm audit만 의존하지 말고 Dependabot PR 자동 병합 기준, lockfile 재생성, 정기 베이스 이미지 rebuild를 운영합니다.node:18-alpine 같은 이동 태그 대신 패치 버전을 고정하고 정기적으로 이미지를 재빌드해야 합니다.외부 노출 가능성과 실제 자격증명 유효성을 반영하면, critical/high 라벨만 기계적으로 따르기보다 API 키 로테이션과 SQL Injection 수정부터 즉시 병행하고, 그 다음 베이스 이미지와 반복 Dependabot 의존성을 정리하는 순서가 적절합니다.
현재 제공된 정보는 witimcorp/payment-api 한 저장소의 알림이므로, 여러 저장소 간 GHAS 공통 패턴까지 분석하려면 각 저장소의 alert 목록·경로·노출 서비스 여부가 추가로 필요합니다.
| AI Agent Architect — Design Production-Ready Agents in 15 Steps | |
| AI Agent Security Evaluation Checklist | |
| AI Provider Research Expert | |
| AI Trying to Escape the Box | |
| Android AI App Security Specialist Task |