\[~ann.campbell.2]: I refer to the Message in the rule : "If the data stored in this cookie is sensitive, it should be encrypted or stored internally in the user session. "
Message should be : "If the data stored in this cookie is sensitive, it should be stored internally in the user session. "
\[~alexandre.gigleux] that "derived from" reference you omitted was there because of discussions and agreement with the FindSecBugs author. Granted, this was several years ago (the Geneva office was still on 5) but...
Having the https://find-sec-bugs.github.io/bugs.htm#COOKIE_USAGE[FindSecBugs rule COOKIE_USAGE] in the description is a bit misleading. The description of the rule is ok, but the actual find-sec-bugs implementation is inside https://github.com/find-sec-bugs/find-sec-bugs/blob/1d288ef15122a4d883343769dd221cbe7bbeecb1/plugin/src/main/java/com/h3xstream/findsecbugs/cookie/CookieReadDetector.java[CookieReadDetector.java] which merely detects if the cookie is read.
\[~andrei.epure] This rule was inspired by FindSecBugs one and we agreed years ago with the main contributor of FindSecBugs to keep a reference to his rule.