paper-with-me

홈 › Papers

GNN-Based Code Annotation Logic for Establishing Security Boundaries in C Code

2024-11-18 · Varun Gadey, Raphael Goetz, Christoph Sendner, Sampo Sovio, Alexandra Dmitrienko

Securing sensitive operations in today's interconnected software landscape is crucial yet challenging. Modern platforms rely on Trusted Execution Environments (TEEs), such as Intel SGX and ARM TrustZone, to isolate security sensitive code from the main system, reducing the Trusted Computing Base (TCB) and providing stronger assurances. However, identifying which code should reside in TEEs is complex and requires specialized expertise, which is not supported by current automated tools. Existing solutions often migrate entire applications to TEEs, leading to suboptimal use and an increased TCB. To address this gap, we propose Code Annotation Logic (CAL), a pioneering tool that automatically identifies security sensitive components for TEE isolation. CAL analyzes codebases, leveraging a graph-based approach with novel feature construction and employing a custom graph neural network model to accurately determine which parts of the code should be isolated. CAL effectively optimizes TCB, reducing the burden of manual analysis and enhancing overall security. Our contributions include the definition of security sensitive code, the construction and labeling of a comprehensive dataset of source files, a feature rich graph based data preparation pipeline, and the CAL model for TEE integration. Evaluation results demonstrate CAL's efficacy in identifying sensitive code with a recall of 86.05%, an F1 score of 81.56%, and an identification rate of 91.59% for security sensitive functions. By enabling efficient code isolation, CAL advances the secure development of applications using TEEs, offering a practical solution for developers to reduce attack vectors.

📄 PDF Abstract BibTeX arXiv:2411.11567

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeGraph Neural Network

Methods 이 논문이 사용한 방법론

BASE 설명 없음
Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

A New Framework for Cybersecurity Refusals in AI Agents

2026-05-31 · Eliot Krzysztof Jones, Mateusz Dziemian, Matt Fredrikson, J Zico Kolter arxiv

Agentic scaffolds have dramatically improved LLM performance on complex, long-horizon tasks, yielding both broad benefits and amplified risks in domains like cybersecurity. Existing benchmarks for AI agents in cybersecur…

A2AS: Agentic AI Runtime Security and Self-Defense

2025-10-08 · Eugene Neelou, Ivan Novikov, Max Moroz, Om Narayan 외 arxiv

The A2AS framework is introduced as a security layer for AI agents and LLM-powered applications, similar to how HTTPS secures HTTP. A2AS enforces certified behavior, activates model self-defense, and ensures context wind…

Prompt Fencing: A Cryptographic Approach to Establishing Security Boundaries in Large Language Model Prompts

2025-11-24 · Steven Peh arxiv

Large Language Models (LLMs) remain vulnerable to prompt injection attacks, representing the most significant security threat in production deployments. We present Prompt Fencing, a novel architectural approach that appl…

Neural Modeling for Named Entities and Morphology (NEMO^2)

2020-07-30 · Dan Bareket, Reut Tsarfaty

Named Entity Recognition (NER) is a fundamental NLP task, commonly formulated as classification over a sequence of tokens. Morphologically-Rich Languages (MRLs) pose a challenge to this basic formulation, as the boundari…

Named Entity RecognitionNamed Entity Recognition (NER)

Distilling Lightweight Language Models for C/C++ Vulnerabilities

2025-10-08 · Zhiyuan Wei, Xiaoxuan Yang, Jing Sun, Zijian Zhang arxiv

The increasing complexity of modern software systems exacerbates the prevalence of security vulnerabilities, posing risks of severe breaches and substantial economic loss. Consequently, robust code vulnerability detectio…

Vulnerability DetectionKnowledge Distillation