Tackling binary program analysis problems has traditionally implied manually defining rules and heuristics, a tedious and time-consuming task for human analysts. In order to improve automation and scalability, we propose an alternative direction based on distributed representations of binary programs with applicability to a number of downstream tasks. We introduce Bin2vec, a new approach leveraging Graph Convolutional Networks (GCN) along with computational program graphs in order to learn a high dimensional representation of binary executable programs. We demonstrate the versatility of this approach by using our representations to solve two semantically different binary analysis tasks - functional algorithm classification and vulnerability discovery. We compare the proposed approach to our own strong baseline as well as published results and demonstrate improvement over state-of-the-art methods for both tasks. We evaluated Bin2vec on 49191 binaries for the functional algorithm classification task, and on 30 different CWE-IDs including at least 100 CVE entries each for the vulnerability discovery task. We set a new state-of-the-art result by reducing the classification error by 40% compared to the source-code-based inst2vec approach, while working on binary code. For almost every vulnerability class in our dataset, our prediction accuracy is over 80% (and over 90% in multiple classes).
Fine-grained software vulnerability detection is an important and challenging problem. Ideally, a detection system (or detector) not only should be able to detect whether or not a program contains vulnerabilities, but also should be able to pinpoint the type of a vulnerability in question. Existing vulnerability detection methods based on deep learning can detect the presence of vulnerabilities (i.e., addressing the binary classification or detection problem), but cannot pinpoint types of vulnerabilities (i.e., incapable of addressing multiclass classification). In this paper, we propose the first deep learning-based system for multiclass vulnerability detection, dubbed $\mu$VulDeePecker. The key insight underlying $\mu$VulDeePecker is the concept of code attention, which can capture information that can help pinpoint types of vulnerabilities, even when the samples are small. For this purpose, we create a dataset from scratch and use it to evaluate the effectiveness of $\mu$VulDeePecker. Experimental results show that $\mu$VulDeePecker is effective for multiclass vulnerability detection and that accommodating control-dependence (other than data-dependence) can lead to higher detection capabilities.
Certain research strands can yield "forbidden knowledge". This term refers to knowledge that is considered too sensitive, dangerous or taboo to be produced or shared. Discourses about such publication restrictions are already entrenched in scientific fields like IT security, synthetic biology or nuclear physics research. This paper makes the case for transferring this discourse to machine learning research. Some machine learning applications can very easily be misused and unfold harmful consequences, for instance with regard to generative video or text synthesis, personality analysis, behavior manipulation, software vulnerability detection and the like. Up to now, the machine learning research community embraces the idea of open access. However, this is opposed to precautionary efforts to prevent the malicious use of machine learning applications. Information about or from such applications may, if improperly disclosed, cause harm to people, organizations or whole societies. Hence, the goal of this work is to outline norms that can help to decide whether and when the dissemination of such information should be prevented. It proposes review parameters for the machine learning community to establish an ethical framework on how to deal with forbidden knowledge and dual-use applications.
The binary similarity problem consists in determining if two functions are similar by only considering their compiled form. Advanced techniques for binary similarity recently gained momentum as they can be applied in several fields, such as copyright disputes, malware analysis, vulnerability detection, etc., and thus have an immediate practical impact. Current solutions compare functions by first transforming their binary code in multi-dimensional vector representations (embeddings), and then comparing vectors through simple and efficient geometric operations. However, embeddings are usually derived from binary code using manual feature extraction, that may fail in considering important function characteristics, or may consider features that are not important for the binary similarity problem. In this paper we propose SAFE, a novel architecture for the embedding of functions based on a self-attentive neural network. SAFE works directly on disassembled binary functions, does not require manual feature extraction, is computationally more efficient than existing solutions (i.e., it does not incur in the computational overhead of building or manipulating control flow graphs), and is more general as it works on stripped binaries and on multiple architectures. We report the results from a quantitative and qualitative analysis that show how SAFE provides a noticeable performance improvement with respect to previous solutions. Furthermore, we show how clusters of our embedding vectors are closely related to the semantic of the implemented algorithms, paving the way for further interesting applications (e.g. semantic-based binary function search).
In this paper we consider the binary similarity problem that consists in determining if two binary functions are similar only considering their compiled form. This problem is know to be crucial in several application scenarios, such as copyright disputes, malware analysis, vulnerability detection, etc. The current state-of-the-art solutions in this field work by creating an embedding model that maps binary functions into vectors in $\mathbb{R}^{n}$. Such embedding model captures syntactic and semantic similarity between binaries, i.e., similar binary functions are mapped to points that are close in the vector space. This strategy has many advantages, one of them is the possibility to precompute embeddings of several binary functions, and then compare them with simple geometric operations (e.g., dot product). In [32] functions are first transformed in Annotated Control Flow Graphs (ACFGs) constituted by manually engineered features and then graphs are embedded into vectors using a deep neural network architecture. In this paper we propose and test several ways to compute annotated control flow graphs that use unsupervised approaches for feature learning, without incurring a human bias. Our methods are inspired after techniques used in the natural language processing community (e.g., we use word2vec to encode assembly instructions). We show that our approach is indeed successful, and it leads to better performance than previous state-of-the-art solutions. Furthermore, we report on a qualitative analysis of functions embeddings. We found interesting cases in which embeddings are clustered according to the semantic of the original binary function.
The detection of software vulnerabilities (or vulnerabilities for short) is an important problem that has yet to be tackled, as manifested by the many vulnerabilities reported on a daily basis. This calls for machine learning methods for vulnerability detection. Deep learning is attractive for this purpose because it alleviates the requirement to manually define features. Despite the tremendous success of deep learning in other application domains, its applicability to vulnerability detection is not systematically understood. In order to fill this void, we propose the first systematic framework for using deep learning to detect vulnerabilities in C/C++ programs with source code. The framework, dubbed Syntax-based, Semantics-based, and Vector Representations (SySeVR), focuses on obtaining program representations that can accommodate syntax and semantic information pertinent to vulnerabilities. Our experiments with 4 software products demonstrate the usefulness of the framework: we detect 15 vulnerabilities that are not reported in the National Vulnerability Database. Among these 15 vulnerabilities, 7 are unknown and have been reported to the vendors, and the other 8 have been "silently" patched by the vendors when releasing newer versions of the pertinent software products.
Increasing numbers of software vulnerabilities are discovered every year whether they are reported publicly or discovered internally in proprietary code. These vulnerabilities can pose serious risk of exploit and result in system compromise, information leaks, or denial of service. We leveraged the wealth of C and C++ open-source code available to develop a large-scale function-level vulnerability detection system using machine learning. To supplement existing labeled vulnerability datasets, we compiled a vast dataset of millions of open-source functions and labeled it with carefully-selected findings from three different static analyzers that indicate potential exploits. The labeled dataset is available at: https://osf.io/d45bw/. Using these datasets, we developed a fast and scalable vulnerability detection tool based on deep feature representation learning that directly interprets lexed source code. We evaluated our tool on code from both real software packages and the NIST SATE IV benchmark dataset. Our results demonstrate that deep feature representation learning on source code is a promising approach for automated software vulnerability detection.
The automatic detection of software vulnerabilities is an important research problem. However, existing solutions to this problem rely on human experts to define features and often miss many vulnerabilities (i.e., incurring high false negative rate). In this paper, we initiate the study of using deep learning-based vulnerability detection to relieve human experts from the tedious and subjective task of manually defining features. Since deep learning is motivated to deal with problems that are very different from the problem of vulnerability detection, we need some guiding principles for applying deep learning to vulnerability detection. In particular, we need to find representations of software programs that are suitable for deep learning. For this purpose, we propose using code gadgets to represent programs and then transform them into vectors, where a code gadget is a number of (not necessarily consecutive) lines of code that are semantically related to each other. This leads to the design and implementation of a deep learning-based vulnerability detection system, called Vulnerability Deep Pecker (VulDeePecker). In order to evaluate VulDeePecker, we present the first vulnerability dataset for deep learning approaches. Experimental results show that VulDeePecker can achieve much fewer false negatives (with reasonable false positives) than other approaches. We further apply VulDeePecker to 3 software products (namely Xen, Seamonkey, and Libav) and detect 4 vulnerabilities, which are not reported in the National Vulnerability Database but were "silently" patched by the vendors when releasing later versions of these products; in contrast, these vulnerabilities are almost entirely missed by the other vulnerability detection systems we experimented with.
Thousands of security vulnerabilities are discovered in production software each year, either reported publicly to the Common Vulnerabilities and Exposures database or discovered internally in proprietary code. Vulnerabilities often manifest themselves in subtle ways that are not obvious to code reviewers or the developers themselves. With the wealth of open source code available for analysis, there is an opportunity to learn the patterns of bugs that can lead to security vulnerabilities directly from data. In this paper, we present a data-driven approach to vulnerability detection using machine learning, specifically applied to C and C++ programs. We first compile a large dataset of hundreds of thousands of open-source functions labeled with the outputs of a static analyzer. We then compare methods applied directly to source code with methods applied to artifacts extracted from the build process, finding that source-based models perform better. We also compare the application of deep neural network models with more traditional models such as random forests and find the best performance comes from combining features learned by deep models with tree-based models. Ultimately, our highest performing model achieves an area under the precision-recall curve of 0.49 and an area under the ROC curve of 0.87.
소프트웨어 취약점 탐지(vulnerability detection)는 시스템 보안을 보장하는 데 핵심적인 역할을 하며, 실제 환경의 감사(auditing)에서는 함수가 취약한지 여부를 판단하는 것뿐만 아니라 그 원인이 되는 구체적인 코드 라인을 정확히 찾아내는 것도 요구된다. 그러나 기존 접근법들은 순차적(sequential), 구조적(structural), 또는 의미적(semantic) 정보 중 단일 정보 소스에만 의존하여 여러 모달리티(modality) 간의 상호 보완적인 장점을 함께 활용하지 못하거나, 명시적인 라인 수준의 감독(supervision) 없이 문장 수준의 위치 추정을 함수 수준 탐지의 부산물로만 취급한다. 이러한 한계를 해결하기 위해, 우리는 함수 수준 탐지와 문장 수준 위치 추정을 함께 수행하는 통합 프레임워크인 DCVD(Dual-Channel Cross-Modal Vulnerability Detection)를 제안한다. DCVD는 두 개의 병렬 분기(branch)를 통해 제어 종속성(control-dependency) 특징과 의미적 특징을 추출하고, 대조적 정렬(contrastive alignment)과 양방향 교차 어텐션(bidirectional cross-attention)을 결합하여 이를 통합함으로써 모달리티 간 표현 격차(representation gap)를 효과적으로 좁힌다. 또한 함수 수준과 문장 수준 모두에서 명시적인 감독 신호(supervision signal)를 도입하여 두 세분화 수준(granularity) 간의 협력적 최적화(optimization)를 가능하게 한다. 대규모 실제 취약점 벤치마크(benchmark)에 대한 광범위한 실험 결과, DCVD는 함수 수준 탐지와 문장 수준 위치 추정 모두에서 최신(state-of-the-art) 방법들을 일관되게 능가하는 것으로 나타났다. 코드는 https://github.com/vinsontang1/DCVD 에서 확인할 수 있다.
에이전트 파이프라인에 배포된 학습 기반 분류기는 근본적인 신뢰성 문제에 직면합니다. 예측은 검증된 결론이 아닌 확률적 추론이며, 관찰 가능한 증거에 기반한 그라운딩(grounding) 없이 이를 바탕으로 동작하면 다운스트림 단계 전반에서 복합적인 실패가 발생합니다. 소프트웨어 취약점 분석은 이러한 비용을 구체적이고 측정 가능하게 만듭니다. 본 연구에서는 엄격한 불변 조건(exploitability에 대한 실행 기반 확인 없이는 어떠한 수정 조치도 취하지 않음)에 의해 관리되는 세 가지 대규모 언어 모델(LLM) 기반 추론 단계—하이브리드 구조-의미론적 탐지, 실행 기반 에이전트 검증, 검증 인식 반복 수정—를 중심으로 구축된 통합 다국어 취약점 수명 주기 프레임워크를 통해 이 문제를 해결합니다. 다국어 일반화는 Java, Python, C++를 공유 구조 스키마로 정규화하는 범용 추상 구문 트리(uAST)와 학습된 양방향 게이팅을 통한 GraphSAGE 및 Qwen2.5-Coder-1.5B 임베딩의 하이브리드 융합을 통해 달성되며, 샘플별 가중치는 추가 비용 없이 본질적인 설명 가능성을 제공합니다. 이 프레임워크는 89.84-92.02%의 언어 내 탐지 정확도와 74.43-80.12%의 제로샷(zero-shot) 다국어 F1 점수를 달성하며, 12.27%의 총 실패율로 취약점의 69.74%를 엔드투엔드로 해결합니다. 소거 연구(Ablation)를 통해 필수성을 입증했습니다. uAST를 제거하면 다국어 F1이 23.42% 저하되며, 검증을 비활성화하면 불필요한 수정이 131.7% 증가합니다. 이러한 결과는 실행 기반 폐루프 추론이 신뢰할 수 있는 LLM 기반 에이전트 AI를 위한 원칙적이고 실질적으로 배포 가능한 메커니즘임을 보여줍니다.
대규모 언어 모델(LLM) 기반 에이전트는 명령 실행, 파일 시스템 접근, 네트워크 통신, 브라우저 제어 및 외부 도구와 같은 보안에 민감한 소프트웨어 기능에 모델이 생성한 결정을 점점 더 많이 연결하고 있습니다. 기존 분석은 사전 정의된 민감 연산을 앵커로 사용하는 경우가 많지만, 연산의 식별 정보 자체만으로는 보안 영향을 판단하기에 불충분합니다. 본 논문에서는 보안에 민감한 각 연산에 대해 후보 중심의 보안 인식 에이전트 의존성 그래프(Security-ADG)를 구축하는 보안 인식 정적 분석 프레임워크인 AgentSecGraph를 제시합니다. 이는 연산 식별 정보에 에이전트 연관성, 소스 및 의존성 증거, 신뢰 경계(trust-boundary) 컨텍스트, 가드 증거, 외부 영향 시맨틱을 보강합니다. 나아가 11개 생태계와 37,542개 소스 파일에 걸친 67개의 실제 LLM 에이전트 저장소 코퍼스인 AgentSecBench를 소개합니다. 현재 분석기는 65개 저장소에서 23,866개의 정적 보안 민감 연산 후보를 식별하고 후보당 하나의 Security-ADG 아티팩트를 출력합니다. 전체 코퍼스 분석 결과 9,821개 후보(41.15%)에 대해 소스-연산 간 의존성 증거를, 3,075개(12.88%)에 대해 잠재적 가드 증거를 복원하였으며, 분석은 50.8분 만에 완료되었습니다. 재현 기반의 별도 평가 층(layer)을 통해 13개 저장소에 걸쳐 22개의 보안 민감 동작(확인된 취약점 1건, 공개 대기 후보 1건, 가드된 동작 20건)을 규명했습니다. 9개의 홀드아웃(held-out) 사례에서 Security-ADG는 싱크 전용(sink-only) 뷰가 20.0%, 단순화된 ADG가 40.0%인 것에 비해 기준 컨텍스트의 91.1%와 관찰된 5개의 가드를 모두 보존했습니다. 이러한 결과는 보안 인식 의존성 및 문맥적 증거를 통해 민감 연산 식별 정보 자체만으로는 포착할 수 없는 차이를 구분할 수 있음을 보여줍니다.
대규모 언어 모델(LLM)은 일상적인 코딩 작업에서 강한 성능을 낼 수 있지만, 프로그램 의미에 대한 비자명한(non-trivial) 추론을 요구하는 복잡한 작업에서는 실패할 수 있다. LLM이 이러한 작업을 풀도록 가르치기 위한 학습 예시를 마련하는 것은 어려울 수 있다. 본 연구에서는 의미적 비동치 게임(semantic inequivalence game, SInQ)에 기반해 코드 추론 학습 데이터를 합성적으로 생성하는 방법을 탐구한다. 생성자 에이전트는 실제 프로그래밍 과제 데이터셋에서 파생된, 의미적으로 구별되는 프로그램 변형을 만들고, 평가자 에이전트는 두 변형이 서로 다르게 동작하는 입력 예시를 찾아야 한다. 에이전트들은 준적대적으로(semi-adversarially) 서로를 학습시키며 코드의 기저 논리를 이해하는 능력을 향상시킨다. 우리는 코드 생성 및 이해 벤치마크 여러 곳에서 접근법을 평가했으며, 여기에는 교차 언어 취약점 탐지(Lu et al., 2021)가 포함된다. 이 설정에서 우리 방법은 오직 Python 코드로만 학습했음에도 C/C++ 코드의 취약점 탐지를 개선하며, 까다로운 Python 내장 식별자 교체 벤치마크(Miceli Barone et al., 2023)에서는 최신 LLM이 여전히 이 벤치마크에서 어려움을 겪는 반면 우리 접근법이 상당한 개선을 보여준다. 실험 재현에 필요한 코드와 LLM 파인튜닝에 사용할 수 있는 생성된 합성 데이터를 공개한다.
원래 ALPHA 벤치마크는 Python에서 CWE 수준 취약점 예측을 평가하기 위한 분류체계 인식 페널티를 도입했으며, 이 페널티가 이론적으로 학습 신호로도 사용될 수 있다고 제안했다. 본 논문은 그 검증을 제공한다. 우리는 세 가지 전달 메커니즘을 비교한다: 지도 미세조정, 이중 헤드 분류 손실, 그리고 정규화된 페널티에서 유도된 밀집 보상을 사용한 강화학습. 분포 이동 하에서 지도 방식은 일관되게 제로샷 기준선 아래로 퇴화하는 반면, GRPO는 성공한다. 최적 정책은 탐욕 디코딩에서 SVEN(Security Hardening and Adversarial Testing) 데이터셋의 Qwen2.5-Coder-7B 누적 ALPHA 페널티를 27.9% 줄이고, 샘플링 디코딩에서는 25.5% 줄인다(p = 0.005, Welch's t-test). 4.5배 더 큰 제로샷 교사 모델과 통계적 동등성에 도달한다. 계층적 페널티를 학습 신호로서의 가치는 크게 그 전달 방식의 직접성에 달려 있다고 결론짓는다.
대규모 언어 모델(LLM)은 잠재 능력과 일관된 활성화 사이에 잘 문서화된 격차를 보인다. 라우터 가설(router hypothesis)은 모델이 과제를 해결할 지식은 갖추고 있지만, 이를 활성화할 신뢰할 수 있는 내부 라우팅이 부족하다고 본다. 형식적 수학적 추론 분야의 선행 연구(SAIR, Cázares 2026)는 구조적 사전(prior)(치트시트)가 분포 내(in-distribution) 성능을 극적으로 높이지만, 분포 외(OOD)에서는 제로샷 기준선 이하로 붕괴한다고 보고하며 — 반복적 재보정(recalibration)이 붕괴를 교정하기보다 오히려 증폭한다고 한다.
이 현상이 도메인 간(cross-domain) 현상인지 검증하기 위해 SAIR 설계를 소스 코드 보안 취약점 탐지에 재현하고, 구문적·문맥적·의미적 복잡도에 걸친 세 가지 취약점 범주(CWE-798, CWE-284, 비CWE N+1 안티패턴)에서 세 LLM(GPT-OSS-120B, Llama-3.3-70B, Gemma-4-31B)을 평가한 뒤, 치트시트가 보강된 프롬프트를 VUDENC의 실제 CVE 데이터(CWE-89, CWE-22)로 이전(transfer)했다.
결과는 SAIR를 재현하고 확장한다: (F1) 구조적 사전은 모든 모델에서 의미적 취약점 재현율을 20.0%에서 100.0%로 끌어올린다; (F2) 제로샷 성능은 의미적 복잡도 그래디언트를 따라 저하된다; (F3) 합성 성능을 포화시키는 동일한 치트시트가 실제 CVE 데이터에서 분포 이동(distribution-shift) 붕괴를 증폭한다(CWE-89: 합성 F1 100% → VUDENC 48.9%, -51.1pp); (F5) 반복적 재보정은 실제 데이터에서 v1보다 성능이 더 낮은 v2 치트시트를 만들어 SAIR의 AN45c 대 AN38 발견을 재현한다.
이 결과는 SAIR에서 문서화된 교차-분포 트레이드오프 표면이 코드 보안으로 일반화된다는 증거를 제공하며, 라우터 가설이 도메인 간에 성립함을 시사한다. 붕괴의 구조적 특성은 프롬프트 보정보다 분포 인식(distribution-aware) 학습을 정당화한다고 주장한다. 코드 및 평가 스크립트: https://github.com/bytepro-ai/bitcoder-v2-research
컨테이너 생태계에서 파일시스템 격리는 종종 경계 간 경로 오해석으로 약화되어 경로 순회(PaTra) 취약점을 유발한다. 이러한 취약점은 불안전한 호스트-컨테이너 상호작용에서 비롯되며, 클라우드 시스템이 AI 워크로드를 지원하기 위해 GPU 및 에이전트 워크스페이스와 같은 공유 자원을 컨테이너에 마운트하면서 점점 더 만연해지고 있다. 기존 방어 기법은 여전히 불충분하다. 커널 수준 보호는 침습적이며 시스템 호출을 불안정하게 만들 수 있어 Linux 메인라인에 채택되지 않았다. 탐지 방법은 정적 규칙 매칭이나 수동 코드 감사에 의존한다. 정적 규칙은 경로 관련 함수를 표시할 수 있지만 호스트-컨테이너 상호작용이 존재하는지 판단하는 데 필요한 의미론을 포착하지 못해 많은 거짓 양성을 초래한다. 수동 검토는 도메인 전문성을 요구하여 비용이 높고 비효율적이며 확장하기 어렵다. 이러한 위협에 대응하기 위해, 우리는 대규모 언어 모델(LLM)과 형식적 방법을 통합하여 의미론적 취약점 탐지 및 수정을 수행하는 자동화 프레임워크인 Bulkhead를 제시한다. Bulkhead는 알려진 사례에서 일반화된 다차원 지식 패턴을 통해 PaTra 취약점을 식별하고 복구하는 다중 에이전트 시스템을 사용한다. 먼저 고위험 함수 패턴을 적용하여 컨테이너화된 코드에서 경계 간 상호작용의 진입점을 찾고, 호출 체인 패턴을 사용하여 적절한 깊이에서 해당 실행 경로를 복구한다. 탐지 파이프라인은 이러한 호출 체인을 응용 시나리오 및 위협 모델에 대해 분석하여 경계 간 상호작용에서 누락된 보안 검사 및 TOCTOU 결함과 같은 취약점을 식별하고, 검증을 위한 개념 증명(PoC) 익스플로잇을 생성한다. 이러한 PoC는 패치 생성을 안내한다. 수정의 정확성을 보장하기 위해 패치 파이프라인은 사전 정의된 모델 검사 템플릿을 사용하여 어설션 기반 검증을 수행한다.
취약점 수정 커밋이 주어졌을 때, 트리거 위치 특정(trigger localization)은 어떤 특정 문(statement)이 취약한 프로그램 상태를 구체적인 불안전 연산으로 전환시키는지를 묻는다. 이 문제는 이진 취약점 탐지보다 더 어렵다. 답은 절차 간, 인과적 추론을 요구하기 때문이다. 실제 CVE의 상당 부분에서 트리거 문은 패치된 함수 바깥 여러 호출 층에 위치하며, 정적 규칙 집합과 패턴 매칭 언어 모델 모두의 범위를 벗어난다. 우리는 AutoTrace를 제시한다. 이는 코드 속성 그래프(code property graph)를 층별로 탐험하여 취약점 트리거를 특정하는 에이전트 기반 파이프라인이다. LLM 에이전트가 다음에 어디를 살펴볼지 결정하고, 결정론적 허용 가능성 게이트(deterministic admissibility gates)가 트리거를 보고하기 전에 어떤 증거가 필요한지 결정한다. 에이전트는 자체 권한으로 트리거를 받아들이지 않으며, 보고된 모든 트리거는 그래프에서 도출된 명시적 증거에 의해 뒷받침된다. 따라서 파이프라인은 근거 없는 모델 판단에 의존하지 않고 절차 내 및 절차 간 취약점을 모두 다룬다. 전체 InterPVD 벤치마크에서 AutoTrace는 75.0% VulnHit 및 80.8% FuncHit를 달성하여, 동일한 코퍼스에서 이전 최신 기술(state of the art)을 능가한다. 동일한 메커니즘을 기반으로, 우리는 SinkTrace-Bench를 구축한다. 이 데이터셋은 각 취약점을 공격자 제어 입력에서 전파(propagation)를 거쳐 위험한 연산까지 이어지는 source-to-sink(S2S) 인과 사슬로 드러내며, 매칭된 취약 및 패치된 프로그램 상태에서 추출된다. 이는 검증자 확인(verifier-confirmed) 1,542개의 완벽하게 균형 잡힌 취약/안전 샘플로 구성되며, 라벨 충실도는 전문가 주석에 대해 감사(audit)했다. 이를 통해 최첨단 LLM을 벤치마킹한 결과, 가장 강력한 모델조차 매칭된 쌍을 구분하는 데 어려움을 겪는 것을 발견하며, 트리거 위치 특정이 겨냥하는 인과 추론 격차를 드러낸다. 아티팩트는 https://github.com/Erroristotle/AutoTrace 에서 이용할 수 있다.
에이전틱 코딩 도구는 실제 프로젝트에 대한 자율적인 저장소 수준의 변경을 수행하는 데 점점 더 많이 활용되고 있다. 선행 연구는 풀 리퀘스트(pull request) 수락 및 검토 노력과 같은 결과를 통해 이러한 기여를 주로 병합 전 단계에서 평가해 왔다. 그러나 에이전틱 코드가 병합 후 어떻게 되는지에 대해서는 알려진 바가 훨씬 적다. 병합 성공 여부만으로는 해당 기여가 안정적으로 유지될지, 아니면 하위 과정에서 버그 수정이나 기타 수정 유지보수가 필요할지를 알 수 없다. 우리는 182개의 저장소에서 에이전틱 기여와 인간 기여에 대한 종단적 실증 분석을 수행하여, 시간에 따른 병합 후 운명을 추적하고, 후속 수정의 의도를 분석하며, 이들이 도입하는 결함과 취약점을 조사했다. 전체 유지보수 비율은 유사하지만, 에이전틱 기여는 수정 유지보수 비율이 유의하게 높고 보안 취약점 및 의존성 취약점을 더 많이 도입하는 것으로 나타났다. 또한 에이전틱 유지보수 부담이 저장소 특성과 통계적으로 유의하게 연관된다는 증거를 발견했다. 특히, 프로젝트의 무검토 비율(no-review rate)이 10퍼센트포인트 증가할 때마다 평균적으로 에이전틱 유지보수 부담이 약 6% 증가하는 것과 관련된다. 코딩 에이전트가 소프트웨어 개발에 널리 보급됨에 따라, 우리의 연구 결과는 에이전틱 도구를 단순히 병합 가능한 변경사항을 생성하는 데 그치지 않고, 안전하고 유지보수 가능한 기여를 생성하도록 평가하고 설계해야 할 필요성을 강조한다.
동일 계보 모델(Gemma, Qwen)에서 안전성 정렬 상태(Aligned)와 거부 제거 상태(Abliterated)를 비교해 취약점 탐지·위치 파악·패치 검증 등 소프트웨어 보안 워크플로우 전반의 방어적 유용성을 측정한 연구로, 거부율만으로는 평가가 불충분하며 응답 커버리지·정확도·실행 가능성을 함께 측정해야 함을 보인다. Abliterated 모델이 Vul4J 패치 검증에서 컴파일 성공률 32.8% 대 9.0%, Qwen 라인 수준 F1에서 3.91% 대 2.08%로 코드 기반의 심층 작업에서 우위를 보인 반면, 정렬 모델은 일부 고수준 분류 작업에서 여전히 강점을 유지했다.
대규모 언어 모델(LLM)이 Text-to-SQL 작업에서 눈부신 성과를 거두었지만, 실제 환경에서의 배포는 잠재적 신뢰성 문제로 인해 저해되고 있다. 이러한 잠재적 약점을 식별하는 것은 신뢰할 수 있는 데이터베이스 인터페이스 구축에 매우 중요하지만, 현재의 진단 접근법은 정적이고 전문가가 정의한 규칙에 크게 의존하여 체계적이고 자동화된 탐험 역량이 부족하다. 이 간극을 해소하기 위해, 우리는 LLM 기반 Text-to-SQL 생성의 잠재적 실패 패턴을 자율적으로 발견하도록 설계된 새로운 프레임워크인 SAGE(Systematic Automated Guided Exploration)를 제안한다. 구체적으로, SAGE는 주어진 샘플에 대한 취약점 가설을 생성하고 지속적으로 진화하는 취약점 코덱스(Vulnerability Codex)를 참조하여 표적화된 변형(perturbation)을 설계함으로써, 잠재적 결함을 반복적으로 검증하고 문서화한다. 최신 오픈소스 LLM에 대한 광범위한 실험을 통해 SAGE가 상당한 수의 실패 사례를 발견하며, 현재 모델들의 심각한 취약성을 드러냄을 입증한다. 나아가, 분석 결과 취약점 코덱스가 강력한 모델 간 전이 가능성을 보이며, 이는 발견된 패턴이 일반화된 구조적 약점을 나타냄을 시사한다. 마지막으로, 우리는 SAGE의 교정(remediation) 가능성을 탐색한다. 예비적 수준이지만, 생성된 샘플에 대한 경량 미세조정이 유망한 성능 향상을 보여, 향후 연구에서 신뢰성 루프를 닫기 위한 확장 가능한 경로를 제시한다.