Update README.md
Browse files
README.md
CHANGED
|
@@ -23,54 +23,17 @@ Potential direct uses include:
|
|
| 23 |
- research experiments on malicious vs. benign code classification
|
| 24 |
- assisting analysts in prioritizing suspicious samples
|
| 25 |
|
| 26 |
-
### Downstream Use [optional]
|
| 27 |
|
| 28 |
-
This adapter can be integrated into broader security workflows, such as:
|
| 29 |
|
| 30 |
-
|
| 31 |
-
-
|
| 32 |
-
-
|
| 33 |
-
- dataset annotation pipelines
|
| 34 |
-
- human-in-the-loop review systems
|
| 35 |
|
| 36 |
-
It may also be used as a feature extractor or scoring component within a larger detection stack.
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
- a standalone malware analysis system without human review
|
| 43 |
-
- a guarantee that code is safe or malicious
|
| 44 |
-
- a replacement for sandboxing, reverse engineering, or formal security review
|
| 45 |
-
- a general-purpose natural language classifier
|
| 46 |
-
- a legal or compliance decision tool
|
| 47 |
-
|
| 48 |
-
The model may perform poorly on inputs that are far from its training distribution, including heavily obfuscated code, incomplete snippets, unsupported programming languages, or non-code text.
|
| 49 |
-
|
| 50 |
-
## Bias, Risks, and Limitations
|
| 51 |
-
|
| 52 |
-
This model inherits limitations from both the base model and the fine-tuning data.
|
| 53 |
-
|
| 54 |
-
Known risks and limitations include:
|
| 55 |
-
|
| 56 |
-
- **Dataset bias:** performance may depend heavily on the composition of the training data
|
| 57 |
-
- **Language and domain bias:** results may vary across programming languages, coding styles, compiler artifacts, or malware families
|
| 58 |
-
- **False positives:** benign code may be flagged as malware
|
| 59 |
-
- **False negatives:** malicious code may be classified as benign
|
| 60 |
-
- **Input truncation:** long samples may be truncated, potentially removing important signals
|
| 61 |
-
- **Incomplete context:** isolated code snippets may not provide enough information for reliable classification
|
| 62 |
-
- **Adapter dependency:** the adapter must be used with the correct base model
|
| 63 |
-
|
| 64 |
-
### Recommendations
|
| 65 |
-
|
| 66 |
-
Users should:
|
| 67 |
-
|
| 68 |
-
- treat outputs as model predictions rather than ground truth
|
| 69 |
-
- review high-risk predictions with human analysts
|
| 70 |
-
- validate performance on their own datasets before deployment
|
| 71 |
-
- monitor false positive and false negative rates
|
| 72 |
-
- combine this model with other static and dynamic analysis techniques
|
| 73 |
-
- communicate model uncertainty clearly in downstream systems
|
| 74 |
|
| 75 |
## How to Get Started with the Model
|
| 76 |
|
|
|
|
| 23 |
- research experiments on malicious vs. benign code classification
|
| 24 |
- assisting analysts in prioritizing suspicious samples
|
| 25 |
|
|
|
|
| 26 |
|
|
|
|
| 27 |
|
| 28 |
+
## Citation
|
| 29 |
+
@article{jelodar2025xgenq, title={XGen-Q: An Explainable Domain-Adaptive LLM Framework with Retrieval-Augmented Generation for Software Security},
|
| 30 |
+
author={Jelodar, Hamed and Meymani, Mohammad and Razavi-Far, Roozbeh and Ghorbani, Ali}, journal={arXiv preprint arXiv:2510.19006}, year={2025} }
|
|
|
|
|
|
|
| 31 |
|
|
|
|
| 32 |
|
| 33 |
+
## Limitations
|
| 34 |
|
| 35 |
+
The model focusd on c and C++ langauge or windows PE files.
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## How to Get Started with the Model
|
| 39 |
|