EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Detección de Vulnerabilidades en Código Fuente Mediante Inteligencia Artificial: Enfoque Híbrido con CodeBERT, Regex y Automatización

Jefferson Miguel Peña Serrano, Jonathan Orlando Rojas Reyes, Luiggi Anthony Rosas Pérez, Alberto Carlos Mendoza de los Santos

Ingeniería: ciencia, tecnología e innovación · 09.11.2026 · 13

DOI: 10.26495/8v58r307 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Ingeniería: ciencia, tecnología e innovación, online erschienen am 09.11.2026. Verfasst von Jefferson Miguel Peña Serrano und 3 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Objetive: present a hybrid approach for the automated detection of vulnerabilities in source code, which integrates semantic analysis using CodeBERT with the identification of specific patterns via regular expressions (Regex). Methodology: In this study, we demonstrated, proposed and implemented a hybrid approach that combined the CodeBERT semantic model with detection using explanatory rules (Regex) within an automated architecture integrating GitHub, FastAPI, SQLite and n8n, to process source code, detect vulnerabilities and record the results in a traceable manner.

Results

In experimental tests, the hybrid model achieved an accuracy of 0.90, a recall of 1.00 and an F1-score of 0.94, outperforming the CodeBERT model, which achieved an accuracy of 0.50 and an F1-score of 0.67. The best performance was also observed for PHP (88.89 per cent) and Python (77.78 per cent), whilst lower results were found for C++ and Go due to their greater structural complexity and their limited representation in the training data.

Conclusions

The hybrid approach is an effective alternative for the automated analysis of vulnerabilities in source code and provides a foundation for future work focused on continuous integration, adaptive learning, and validation in real software repositories.

Zitieren

APA

Serrano, J. M. P., Reyes, J. O. R., Pérez, L. A. R., & Santos, A. C. M. D. L. (2026). Detección de Vulnerabilidades en Código Fuente Mediante Inteligencia Artificial: Enfoque Híbrido con CodeBERT, Regex y Automatización. Ingeniería: ciencia, tecnología e innovación, 13. https://doi.org/10.26495/8v58r307

Vancouver

Serrano JMP, Reyes JOR, Pérez LAR, Santos ACMDL. Detección de Vulnerabilidades en Código Fuente Mediante Inteligencia Artificial: Enfoque Híbrido con CodeBERT, Regex y Automatización. Ingeniería: ciencia, tecnología e innovación. 2026;13. doi:10.26495/8v58r307

BibTeX
@article{Serrano2026,
  author = {Serrano, Jefferson Miguel Peña and Reyes, Jonathan Orlando Rojas and Pérez, Luiggi Anthony Rosas and Santos, Alberto Carlos Mendoza de los},
  title = {Detección de Vulnerabilidades en Código Fuente Mediante Inteligencia Artificial: Enfoque Híbrido con CodeBERT, Regex y Automatización},
  journal = {Ingeniería: ciencia, tecnología e innovación},
  year = {2026},
  volume = {13},
  doi = {10.26495/8v58r307}
}
Kostenlos starten →