Securecodingprompts
No description available
Install / Use
/learn @mbscit/SecurecodingpromptsREADME
Prompt Engineering for Secure Code
This repository accompanies our study Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Models. The study investigates how various prompt engineering techniques influence the security of code generation.
Repository Structure
benchmark/: Contains the benchmarking tool and experimental results. The benchmark systematically evaluates prompt variations and their impact on secure code generation using static analysis.agent/: A prototype implementation of a prompt agent that applies our findings to improve code security in LLM code generation. It extends an existing ChatGPT web interface with a security-focused prompt prefix and optional post-processing.
Paper and Academic Usage
For full details, methodology, and results, refer to our paper
Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Models
Citation
If you use this repository in your research or projects, we would appreciate it if you cite our work.
M. Bruni, F. Gabrielli, M. Ghafari, and M. Kropp, “Benchmarking prompt engineering techniques for secure code generation with gpt models,” in Proceedings of the 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering, 2025.
BibTeX:
@inproceedings{Bruni2025,
title={Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Models},
author={Bruni, Marc and Gabrielli, Fabio and Ghafari, Mohammad and Kropp, Martin},
year={2025},
booktitle = {Proceedings of the 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering}
}
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
