Skip to content

Commit 4a6e6a7

Browse files
committed
Add a note about Mock classes not considered for security issues
1 parent 8bf8b11 commit 4a6e6a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contributing/code/security.rst

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ email for confirmation):
2121
production (including the web profiler or anything enabled when ``APP_DEBUG``
2222
is set to ``true`` or ``APP_ENV`` set to anything but ``prod``);
2323

24+
* Any security issues found in classes provided to help fo testing that should
25+
never be used in production (like for instance mock classes that contain
26+
``Mock`` in their name);
27+
2428
* Any fix that can be classified as **security hardening** like route
2529
enumeration, login throttling bypasses, denial of service attacks, timing
2630
attacks, or lack of ``SensitiveParameter`` attributes.

0 commit comments

Comments
 (0)