Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 2

Software systems can be validated as conforming to the CERT Sun Microsystems Secure Coding Standard for Java. Source code analysis tools, including compilers and static analysis tools, can be certified as able to validate source code as conforming to this standard.

Source Code Compliance

The CERT Sun Microsystems Secure Coding Standard for Java can be used as a measure of software security by determining the degree to which a software system complies with the rules and recommendations in this standard. While compliance does not guarantee the absence of vulnerabilities (for example, vulnerabilities resulting from design flaws), it does guarantee the absence of coding errors that are commonly found to be the root causes of vulnerabilities.

The easiest way to validate code as compliant with the CERT Sun Microsystems Secure Coding standard for Java is to use a certified source code analysis tool.

Levels

Rules and recommendations in this standard are classified into three levels (see Priority and Levels). Emphasis should be placed on conformance Level 1 (L1) rules. Software systems that have been validated as complying with all Level 1 rules are considered to be L1 Conforming. Software systems can be assessed as L1, L2, or fully conforming depending on the set of rules to which the system has been validated.

Rules versus Recommendations

Conformance to secure coding rules must be demonstrated to claim compliance with this standard unless an exceptional condition exists. If an exceptional condition is claimed, the exception must correspond to a predefined exceptional condition and the application of this exception must be documented in the source code.

Compliance with recommendations is not necessary to claim compliance with this standard. It is possible, however, to claim compliance with recommendations (especially in cases in which compliance can be verified).

Deviation Procedure

Strict adherence to all rules is unlikely. Consequently, deviations associated with individual situations are permissible.

...