Mark Shannon
|
f190f83406
|
Python: Give most non-self instance attributes the 'unknown' value; improves reachability analysis.
|
2019-01-31 15:05:13 +00:00 |
|
Taus
|
83e2689645
|
Merge pull request #844 from markshannon/python-hide-magic-variables-in-test
Python tests: Further hiding of special ESSA variables in tests
|
2019-01-29 18:51:06 +01:00 |
|
Taus Brock-Nannestad
|
edd4468d08
|
Fix tests by stubbing relevant os functions.
|
2019-01-29 17:27:14 +01:00 |
|
Taus
|
6f7c96db54
|
Merge branch 'master' into python-unsafe-use-of-mktemp
|
2019-01-29 16:12:53 +01:00 |
|
Taus Brock-Nannestad
|
9a9d902cfb
|
Add support for os.tempnam and os.tmpnam.
|
2019-01-29 16:08:32 +01:00 |
|
Mark Shannon
|
9820249c71
|
Python tests: Further hiding of special ESSA variables in tests, to ease transition from '*' to '$' variable.
|
2019-01-29 15:06:47 +00:00 |
|
Mark Shannon
|
7fe3c3d516
|
Merge branch 'master' into python-mutating-descriptor
|
2019-01-29 14:46:33 +00:00 |
|
Taus
|
9adb19f3a9
|
Merge branch 'master' into python-incomplete-url-sanitize
|
2019-01-29 14:17:37 +01:00 |
|
Taus
|
1d28c63703
|
Merge pull request #810 from markshannon/python-hide-magic-variables
Python hide magic variables
|
2019-01-28 23:21:31 +01:00 |
|
Taus
|
0f5b21e392
|
Merge pull request #807 from markshannon/python-insecure-file-permission
Python: Weak file permissions query.
|
2019-01-28 23:21:10 +01:00 |
|
Taus
|
f61e7b66cc
|
Merge pull request #835 from markshannon/python-compare-is-enum
Python: Fix 'comparison using is' query to account for enum members.
|
2019-01-28 16:22:57 +01:00 |
|
Mark Shannon
|
6d553ae2be
|
Python: Check os.open as well as os.chmod for weak file permissions.
|
2019-01-28 14:26:16 +00:00 |
|
Mark Shannon
|
3992346add
|
Python: Fix up mutating-descriptor query to only flag mutation when they occur during descriptor protocol.
|
2019-01-28 12:57:18 +00:00 |
|
Mark Shannon
|
5da209f876
|
Python: add failing test for comparison using 'is' and enum members.
|
2019-01-28 12:19:54 +00:00 |
|
Mark Shannon
|
1bec219048
|
Python: Remove AST test (it will be added to the extractor tests).
|
2019-01-28 11:41:12 +00:00 |
|
Taus
|
fc00e0a64a
|
Merge pull request #796 from markshannon/python-import-used-in-doctest
Python: Fix 'unused import' for doctests and typehints.
|
2019-01-25 16:14:08 +01:00 |
|
Mark Shannon
|
88d8cb514c
|
Python: Two new queries for URL and hostname sanitization (CWE-020).
|
2019-01-24 12:57:14 +00:00 |
|
Taus
|
ffa8b12d48
|
Merge pull request #782 from markshannon/python-add-more-tests
Python: Add more tests
|
2019-01-23 14:04:23 +01:00 |
|
Mark Shannon
|
0ea2d56945
|
Python tests: Move helper predicate into TestUtils.qll
|
2019-01-23 11:20:04 +00:00 |
|
Mark Shannon
|
547b3eb973
|
Python: Fix 'unused import' to no longer give alerts for imported modules used in typehints.
|
2019-01-22 17:38:09 +00:00 |
|
Mark Shannon
|
19c43510a3
|
Python: Make test 2/3 compatible.
|
2019-01-22 14:01:44 +00:00 |
|
Mark Shannon
|
a3b5769c2c
|
Python: Weak file permissions query.
|
2019-01-22 11:33:19 +00:00 |
|
Mark Shannon
|
21299493c9
|
Python tests: Hide special ESSA variables in tests, to ease transition from '*' to '$' variable.
|
2019-01-22 11:02:36 +00:00 |
|
Mark Shannon
|
61d8319b4e
|
Fix compilation warning in test.
|
2019-01-21 14:38:12 +00:00 |
|
Mark Shannon
|
5e8ab92cc6
|
Add test for attribute points-to extension.
|
2019-01-21 14:38:12 +00:00 |
|
Mark Shannon
|
01a2add73b
|
Python: Internal points-to extension enhancement. Use it handle re module constants.
|
2019-01-21 14:38:07 +00:00 |
|
Mark Shannon
|
5dd0123f0d
|
Python tests: Remove useless duplicate test.
|
2019-01-21 14:31:15 +00:00 |
|
Mark Shannon
|
261cd36b8c
|
Merge pull request #781 from kevinbackhouse/HashedButNoHash
Python: fix false positive result.
|
2019-01-18 21:56:12 +00:00 |
|
Taus
|
8d99186d74
|
Merge pull request #795 from markshannon/remove-builtin-class-test
Python: Remove fragile and unnecessary test.
|
2019-01-18 15:17:39 +01:00 |
|
Taus
|
92d2e18bf2
|
Merge pull request #712 from markshannon/python-fix-odasa-7307
Python: Detect a wider range of generated files.
|
2019-01-18 14:38:08 +01:00 |
|
Mark Shannon
|
9f93bf8d17
|
Python: Fix 'unused import' to no longer give alerts for imported modules used in doctests.
|
2019-01-18 11:08:53 +00:00 |
|
Kevin Backhouse
|
5fc056beb3
|
Add regression test for false positive result.
|
2019-01-17 16:22:19 +00:00 |
|
Taus Brock-Nannestad
|
ad429f5ae1
|
Add tests.
|
2019-01-17 14:45:25 +01:00 |
|
Mark Shannon
|
801d8cb3a5
|
Python: Remove fragile and unnecessary test.
|
2019-01-17 12:31:19 +00:00 |
|
Mark Shannon
|
73095c53b8
|
Python: Add another AST test.
|
2019-01-17 11:24:41 +00:00 |
|
Taus Brock-Nannestad
|
e8c092ad72
|
Python: Support the dill pickling library.
|
2019-01-16 14:53:42 +01:00 |
|
Mark Shannon
|
65337ef835
|
Merge pull request #564 from taus-semmle/python-insecure-ssl-version
Python: Check for insecure versions of SSL and TLS.
|
2019-01-16 12:32:30 +00:00 |
|
Mark Shannon
|
7b8468d81b
|
Python: Add bulk regression test for CFG successors.
|
2019-01-16 11:48:58 +00:00 |
|
Mark Shannon
|
e506bf85e8
|
Python: Add some regression tests for CFG of comparisons.
|
2019-01-16 11:45:20 +00:00 |
|
Mark Shannon
|
d1d898efac
|
Python: Add regression test for code that proved problematic with the new parser.
|
2019-01-16 11:44:11 +00:00 |
|
Mark Shannon
|
bc4301f7b1
|
Python: Add an extra test for import parsing.
|
2019-01-16 11:32:59 +00:00 |
|
Mark Shannon
|
b8a91d4b1e
|
Python tests: Add a few tests to check parsing and location of comparisons.
|
2019-01-16 11:27:57 +00:00 |
|
Mark Shannon
|
c9a929fb23
|
Python tests: Increase import depth to ensure sre_constants module is imported.
|
2019-01-14 11:18:36 +00:00 |
|
Mark Shannon
|
33a2315ba0
|
Python tests: Increase import depth to ensure sre_constants module is imported.
|
2019-01-11 12:15:56 +00:00 |
|
Taus Brock-Nannestad
|
46973f4305
|
Support from ssl import PROTOCOL_....
|
2019-01-07 15:24:15 +01:00 |
|
Taus Brock-Nannestad
|
dfe3fc6d5c
|
Pass pyOpenSSL method as parameter instead of keyword argument.
|
2019-01-07 15:24:15 +01:00 |
|
Taus Brock-Nannestad
|
a893dca06e
|
Add support for ssl.SSLContext.
|
2019-01-07 15:24:15 +01:00 |
|
Taus Brock-Nannestad
|
0a839f8468
|
Python: Check for insecure versions of SSL and TLS.
|
2019-01-07 15:24:15 +01:00 |
|
Mark Shannon
|
6b5ad0d928
|
Python: Detect a wider range of generated files.
|
2018-12-27 15:01:10 +00:00 |
|
Taus
|
cb93017d98
|
Merge pull request #606 from markshannon/python-fix-regex-fp
Python: Fix off-by-one error in regex parsing.
|
2018-12-06 12:59:44 +01:00 |
|