 
                            ...
Failure to defensively copy mutable components during deserialization can violate the immutability contract of an object.
| Rule | Severity | Likelihood | 
|---|
| Detectable | Repairable | Priority | Level | 
|---|---|---|---|
| SER06-J | Low | Probable | 
| Yes | Yes | 
| P6 | 
| L2 | 
Automated Detection
| Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar | 
 | JAVA.CLASS.SER.ND | Serialization Not Disabled (Java) | ||||||
| Coverity | 7.5 | UNSAFE_DESERIALIZATION | Implemented | 
Related Guidelines
Bibliography
| [API 2014] | 
| Item 76, "Write  | |
| [Sun 2006] | Serialization Specification, A.6, Guarding Unshared Deserialized Objects | 
...
...