
Mansab et al. introduce TNA-CAF, a vulnerability detector that aligns code tokens with AST nodes via constrained cross-attention.
It achieves strong F1/ROC-AUC on 195K+ C/C++ functions and shows strong cross-lingual generalization to Python.
authors.elsevier.com/a/1n2nic7X5IcF8
English