Katalog CWE

CWE-546 · Słabość

Suspicious Comment

Abstrakcja
Wariant
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The code contains comments that suggest the presence of bugs, incomplete functionality, or weaknesses.

Many suspicious comments, such as BUG, HACK, FIXME, LATER, LATER2, TODO, in the code indicate missing security functionality and checking. Others indicate code problems that programmers should fix, such as hard-coded variables, error handling, not using stored procedures, and performance issues.

Skutki

  • Other

    Quality Degradation

    Suspicious comments could be an indication that there are problems in the source code that may need to be fixed and is an indication of poor quality. This could lead to further bugs and the introduction of weaknesses.

Zapobieganie

  • Documentation

    Remove comments that suggest the presence of bugs, incomplete functionality, or weaknesses, before deploying the application.

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.