# Insecure Coding Practice on CyberSecEval Instruction 1.0

Source: [Insecure Coding Practice on CyberSecEval Instruction 1.0](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-02-26T05:37:58.008Z

Evaluation of model performance on identifying or generating code related to insecure coding practices, specifically using the CyberSecEval Instruction 1.0 dataset, with results broken down by programming language (C, C++, Java, Python, etc.).

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

| Scope | Recorded value |
| --- | --- |
| Task | Insecure Coding Practice |
| Dataset (including any stated split) | CyberSecEval Instruction 1.0 |
| Metric | C Score |
| Unit | PERCENT |
| Direction | Higher is better |
| Results loaded | 14 of 14 |
| Coverage | All results currently returned for this benchmark |

Evaluation settings may differ between results. The original papers and recorded configurations are needed to establish comparability. A shared metric name alone does not establish an identical protocol.

## Metrics

- [C Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=C%20Score>): Higher is better; unit: PERCENT.

- [C# Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=C%23%20Score>): Higher is better; unit: PERCENT.

- [C++ Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=C%2B%2B%20Score>): Higher is better; unit: PERCENT.

- [Java Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=Java%20Score>): Higher is better; unit: PERCENT.

- [JavaScript Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=JavaScript%20Score>): Higher is better; unit: PERCENT.

- [PHP Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=PHP%20Score>): Higher is better; unit: PERCENT.

- [Python Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=Python%20Score>): Higher is better; unit: PERCENT.

- [Rust Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=Rust%20Score>): Higher is better; unit: PERCENT.

- [Average Score](<https://www.sota2.com/research/sota/insecure-coding-practice-on-cyberseceval-instruction-1-0.md?metric=Average%20Score>): Higher is better; unit: PERCENT.

## Recorded results

| Method | C Score | Result date | Report paper |
| --- | --- | --- | --- |
| CommandR+INDICT | 72.1 | Not recorded | 68fa756b1e209131cea67bd7 |
| GPT4 | 70 | Not recorded | 68fa756b1e209131cea67bd7 |
| Llama2-13b-chat | 64.3 | Not recorded | 68fa756b1e209131cea67bd7 |
| Llama2-7b-chat | 63.4 | Not recorded | 68fa756b1e209131cea67bd7 |
| Llama2-70b-chat | 61.2 | Not recorded | 68fa756b1e209131cea67bd7 |
| Codellama-13b-instruct | 60.8 | Not recorded | 68fa756b1e209131cea67bd7 |
| CommandR | 58.6 | Not recorded | 68fa756b1e209131cea67bd7 |
| Codellama-34b-instruct | 57.7 | Not recorded | 68fa756b1e209131cea67bd7 |
| CommandR+INDICT | 57.5 | Not recorded | 68fa756b1e209131cea67bd7 |
| Llama2-30b-chat | 56.8 | Not recorded | 68fa756b1e209131cea67bd7 |
| GPT3.5 | 54.2 | Not recorded | 68fa756b1e209131cea67bd7 |
| GPT-3.5-turbo | 53.3 | Not recorded | 68fa756b1e209131cea67bd7 |
| GPT-4 | 52 | Not recorded | 68fa756b1e209131cea67bd7 |
| CommandR | 51.4 | Not recorded | 68fa756b1e209131cea67bd7 |

### CommandR+INDICT

C Score: 72.1. Result ID: 6993a18a3a6c3148491766f6.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Implementation](<https://github.com/SalesforceAIResearch/indict_code_gen>)

Recorded evaluation configuration: {"Enhancement":"INDICT"}. This record does not assert independent reproduction.

### GPT4

C Score: 70. Result ID: 6993a18a3a6c3148491766f8.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa727a1e209131cea56a1e.md>)

[Implementation](<https://github.com/openai/evals>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### Llama2-13b-chat

C Score: 64.3. Result ID: 6993a18a3a6c3148491766f2.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"13B","Mode":"Chat"}. This record does not assert independent reproduction.

### Llama2-7b-chat

C Score: 63.4. Result ID: 6993a18a3a6c3148491766f1.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"7B","Mode":"Chat"}. This record does not assert independent reproduction.

### Llama2-70b-chat

C Score: 61.2. Result ID: 6993a18a3a6c3148491766f4.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"70B","Mode":"Chat"}. This record does not assert independent reproduction.

### Codellama-13b-instruct

C Score: 60.8. Result ID: 6993a18a3a6c3148491766ef.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"13B","Mode":"Instruct"}. This record does not assert independent reproduction.

### CommandR

C Score: 58.6. Result ID: 6993a18a3a6c3148491766f5.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Implementation](<https://github.com/SalesforceAIResearch/indict_code_gen>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### Codellama-34b-instruct

C Score: 57.7. Result ID: 6993a18a3a6c3148491766f0.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"34B","Mode":"Instruct"}. This record does not assert independent reproduction.

### CommandR+INDICT

C Score: 57.5. Result ID: 6993a18a3a6c3148491766fa.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Implementation](<https://github.com/SalesforceAIResearch/indict_code_gen>)

Recorded evaluation configuration: {"Framework":"INDICT"}. This record does not assert independent reproduction.

### Llama2-30b-chat

C Score: 56.8. Result ID: 6993a18a3a6c3148491766f3.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: {"Parameters":"30B","Mode":"Chat"}. This record does not assert independent reproduction.

### GPT3.5

C Score: 54.2. Result ID: 6993a18a3a6c3148491766f7.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa727a1e209131cea56a1e.md>)

[Implementation](<https://github.com/openai/evals>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### GPT-3.5-turbo

C Score: 53.3. Result ID: 6993a18a3a6c3148491766ed.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### GPT-4

C Score: 52. Result ID: 6993a18a3a6c3148491766ee.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa71671e209131cea51370.md>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

### CommandR

C Score: 51.4. Result ID: 6993a18a3a6c3148491766f9.

[Reporting paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa756b1e209131cea67bd7.md>)

[Implementation](<https://github.com/SalesforceAIResearch/indict_code_gen>)

Recorded evaluation configuration: Not recorded. This record does not assert independent reproduction.

Page 1 of 1. This is an index page, not the full collection.
