Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# CWE-000: Title goes here

Introduction paragraph...

[*example01.py:*](example01.py)

```py
""" Code Example """

# Code goes here
```

**Output of example01.py:**

```bash
Console output...
```

## Non-Compliant Code Example

Introduction to the code example...

*[noncompliant01.py](noncompliant01.py):*

```python
""" Non-compliant Code Example """

# Code goes here

#####################
# Exploiting above code example
#####################

# Code goes here
```

## Compliant Solution

Introduction to the code example...

*[compliant01.py](compliant01.py):*

```python
""" Compliant Code Example """

# Code goes here

#####################
# Exploiting above code example
#####################

# Code goes here
```

## Automated Detection

|Tool|Version|Checker|Description|
|:---|:---|:---|:---|
|Bandit|1.7.4 on Python 3.10.4|Not Available||
|Flake8|8-4.0.1 on Python 3.10.4|Not Available||

## Related Guidelines

|||
|:---|:---|
|[MITRE CWE](http://cwe.mitre.org/)|Pillar: [CWE-000: Name of the pillar (4.13) (mitre.org)](https://cwe.mitre.org/data/definitions/000.html)|
|[MITRE CWE](http://cwe.mitre.org/)|Base: [CWE-000: Numeric Truncation Error](https://cwe.mitre.org/data/definitions/000.html)|
|[SEI CERT Coding Standard for Java](https://wiki.sei.cmu.edu/confluence/display/java/SEI+CERT+Oracle+Coding+Standard+for+Java)|[Reference Goes here](http://YOUR_LINK)|
|[SEI CERT C Coding Standard](https://web.archive.org/web/20220511061752/https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard)|[Reference Goes here](http://YOUR_LINK)|
|[ISO/IEC TR 24772:2019]|[Reference Goes here](http://YOUR_LINK)|

## Bibliography

|||
|:---|:---|
|[[Python docs](https://docs.python.org/3/reference/expressions.html#binary-arithmetic-operations)]|Python Software Foundation. (2024). Expressions, Title goes here [online]. Available from: [https://docs.python.org/3/reference/YOUR_LINK](https://docs.python.org/3/reference/YOUR_LINK) [accessed 1 January 2024] |

When writing bibligraphy, follow the [Harvard reference guide](https://dkit.ie.libguides.com/harvard/citing-referencing)
Loading