|
|
@ -549,10 +549,12 @@ include Trace.Make (struct
|
|
|
|
| Endpoint _, CreateFile ->
|
|
|
|
| Endpoint _, CreateFile ->
|
|
|
|
(* user-controlled file creation; may be vulnerable to path traversal + more *)
|
|
|
|
(* user-controlled file creation; may be vulnerable to path traversal + more *)
|
|
|
|
Some IssueType.untrusted_file_risk
|
|
|
|
Some IssueType.untrusted_file_risk
|
|
|
|
| ( (Endpoint _ | Intent | IntentFromURI | UserControlledString | UserControlledURI)
|
|
|
|
| (Intent | IntentFromURI | UserControlledString | UserControlledURI), Deserialization ->
|
|
|
|
, Deserialization ) ->
|
|
|
|
|
|
|
|
(* shouldn't let anyone external control what we deserialize *)
|
|
|
|
(* shouldn't let anyone external control what we deserialize *)
|
|
|
|
Some IssueType.untrusted_deserialization
|
|
|
|
Some IssueType.untrusted_deserialization
|
|
|
|
|
|
|
|
| Endpoint _, Deserialization ->
|
|
|
|
|
|
|
|
(* shouldn't let anyone external control what we deserialize *)
|
|
|
|
|
|
|
|
Some IssueType.untrusted_deserialization_risk
|
|
|
|
| (Endpoint _ | Intent | IntentFromURI | UserControlledString | UserControlledURI), HTML ->
|
|
|
|
| (Endpoint _ | Intent | IntentFromURI | UserControlledString | UserControlledURI), HTML ->
|
|
|
|
(* untrusted data flows into HTML; XSS risk *)
|
|
|
|
(* untrusted data flows into HTML; XSS risk *)
|
|
|
|
Some IssueType.cross_site_scripting
|
|
|
|
Some IssueType.cross_site_scripting
|
|
|
|