Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Java rule for insecure java.net.HttpCookie #432

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Apr 18, 2024

Similar to javax.servlet.http.Cookie, the java.net.HttpCookie is also a class whether the contents of the cookie can be marked secure. This rule advises to always set secure to true.

Similar to javax.servlet.http.Cookie, the java.net.HttpCookie
is also a class whether the contents of the cookie can be marked
secure. This rule advises to always set secure to true.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit dbb7ac4 into securesauce:main Apr 19, 2024
7 checks passed
@ericwb ericwb deleted the java_net_httpcookie branch April 19, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant