Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This rule appears in the C Secure Coding Standard as MSC18-C. Be careful while handling sensitive data, such as passwords, in program code

Related Guidelines

MITRE CWE

CWE ID 259, "Use of Hard-coded Password"

 

CWE ID 798, "Use of Hard-coded Credentials"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="990c4f1e9a02af30-b5e9f0a8-43b9497b-86c8b677-470293b6a3072b6808397cc2"><ac:plain-text-body><![CDATA[

[ISO/IEC TR 24772:2010

http://www.aitcnet.org/isai/]

"Hard-coded Password [XYP]"

]]></ac:plain-text-body></ac:structured-macro>

MITRE CWE

CWE ID 259, "Use of Hard-coded Password"

 

CWE ID 798, "Use of Hard-coded Credentials"

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c9446fce7c0ea397-288f073d-44ee4d48-bcb7a226-b97b0545043b108b2ebd309f"><ac:plain-text-body><![CDATA[

[[Chess 2007

AA. Bibliography#Chess 07]]

11.2 Outbound Passwords: Keep Passwords out of Source Code

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="13098efbe1ef4d6a-3be78a9d-4cdb4b70-bf8f8bff-93e9f3626af59b266b15ca4e"><ac:plain-text-body><![CDATA[

[[Fortify 2008

AA. Bibliography#Fortify 08]]

"Unsafe Mobile Code: Database Access"

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8cb88a03d2c94ec6-2e99288f-4cd2416e-b8828e08-e17bd3759dfc5cfb11a9da57"><ac:plain-text-body><![CDATA[

[[Gong 2003

AA. Bibliography#Gong 03]]

9.4 Private Object State and Object Immutability

]]></ac:plain-text-body></ac:structured-macro>

...