CWE一覧に戻る
CWE-546

不審なコメント

Suspicious Comment
脆弱性 レビュー中
JA

コードには、バグや不完全な機能、弱点の存在を示唆するコメントが含まれている。

コード中のBUG、HACK、FIXME、LATER、LATER2、TODOといった不審なコメントの多くは、セキュリティ機能の欠落やチェック漏れを示している。その他にも、ハードコードされた変数、エラー処理、ストアドプロシージャの不使用、パフォーマンスの問題など、プログラマが修正すべきコードの問題を示している。

EN

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.

Scope: Other / Impact: Quality Degradation
Remove comments that suggest the presence of bugs, incomplete functionality, or weaknesses, before deploying the application.
MITRE公式ページ — CWE-546