...
Sound automated detection appears to be infeasible in the general case. Heuristic approaches could be useful.
Related Guidelines
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="99c32159-bbbd-4321-94b9-5ce20d0f89e4"><ac:plain-text-body><![CDATA[ | AA. Bibliography#MITRE 09]] | [CWE-374 | http://cwe.mitre.org/data/definitions/374.html] CWE ID 374, "Passing Mutable Objects to an Untrusted Method" and [CWE-375http://cwe.mitre.org/data/definitions/375.html] | |
| CWE ID 375, "Returning a Mutable Object to an Untrusted Caller" | ]]></ac:plain-text-body></ac:structured-macro> |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6e68aac89542f13f-5c79b7a1-4ad442bf-82eea161-3aa47106c5c8fd480d897b04"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | [method clone() | http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="90fd31023e430792-e10a9d0f-40d34626-b0e1a361-98c538d9d187c5caf1335581"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 39: Make defensive copies when needed and Item 11: Override clone judiciously | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3ea38514b530c5b2-7ae62274-44984a0a-8bf3b17c-0b010033929a5387eb82f4b8"><ac:plain-text-body><![CDATA[ | [[SCG 2007 | AA. Bibliography#SCG 07]] | Guideline 2-2 Support copy functionality for a mutable class | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="585cf54556d29e73-af5d8e4c-48fa4071-bc3e9749-6f07be9c799e7fac4c110133"><ac:plain-text-body><![CDATA[ | [[SCG 2009 | AA. Bibliography#SCG 09]] | Guideline 2-3 Support copy functionality for a mutable class | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="da29ceee5c178c39-c7775d22-42db4f80-b46191e3-e17fc1bc1d447a26d481f2e4"><ac:plain-text-body><![CDATA[ | [[Security 2006 | AA. Bibliography#Security 06]] | ]]></ac:plain-text-body></ac:structured-macro> |
...