Releases: Santandersecurityresearch/DrHeader
Releases · Santandersecurityresearch/DrHeader
Release v2.0.0
New Features
- Added support for requests keyword arguments (
method
,params
,data
,json
,headers
,cookies
,auth
,timeout
,allow_redirects
,proxies
,verify
,cert
)
CLI
- Added support for requests keyword arguments (same as above)
- Add the option to configure SSL verification and requests keyword arguments on a per-target basis when bulk scanning
- Added a prompt when a scheme is not provided during single scanning
- Added shorthand options for all options (not including requests keyword arguments)
- POSSIBLE BREAKING CHANGE
--verify
moved to request args.--verify-enable
replaced with--verify
- POSSIBLE BREAKING CHANGE
--certs
/--certificates
replaced with--verify path/to/certificate/bundle
- POSSIBLE BREAKING CHANGE
--json
replaced with--output json
- POSSIBLE BREAKING CHANGE
--rules
replaced with--rules-file
(for consistency with--rules-uri
)
Bug Fixes
- Added error handling so that the whole scan doesn't break if a single target isn't reachable when bulk scanning
Other
- Deprecated support for Python <3.8. Added support for Python 3.8 - 3.11
- Changed the default HTTP request method from
GET
toHEAD
when retrieving headers from remote endpoint - Add a default timeout of 5 seconds to HTTP requests when retrieving headers from remote endpoint
- Default behaviour to follow redirects when retrieving headers from remote endpoint
- Added code coverage check to the pipeline (min 80% required)
- Use isolated tox environments for pipeline checks & local testing
- POSSIBLE BREAKING CHANGE Removed top-level Headers key from the rules specification
- POSSIBLE BREAKING CHANGE Changed request_headers argument in main class to headers
- POSSIBLE BREAKING CHANGE Moved
rules.yml
to resources folder - General refactoring & maintenance
Release v1.7.0
New Features
- Added validations for cross-origin isolation headers (COEP & COOP)
- Added two new validations
value-any-of
andvalue-one-of
- Added the option to validate named cookies
- Added the option to define a fallback referrer policy
- Added the option to specify a custom severity in the rules file
Bug Fixes
- CSP validations will now validate non-key-value directives
- YAML keys in the rules file are no longer case sensitive
Value
validation will now enforce an exact match against the entire valueX-Content-Type-Options
will now only permit a single value
Other
- Simplified the rules file. The
enforce
anddelimiter
keys has been removed - Condensed the report when multiple errors are reported for the same rule
- Case is preserved in the report when returning expected values, anomalies etc.
- Improved matching mechanism for validations to reduce false positives and false negatives
- Updated documentation and Docstring
- General refactoring
Release v1.6.0
Updates to header rules along with bug fixes and general code and test improvements
- The default value for X-XSS-Protection has been changed to '0' as per the current OWASP standard: https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.md#x-xss-protection-header
- The default value for Cache-Control has been changed to 'no-store, max-age=0' as per the current Mozilla standard on preventing caching
- All header keys are now case-insensitive
- New functionality has been added to enable rule specification at a directive level
- Improvements to exception handling
- Improvements in tests
- Improvement in documentation
Release v1.5.3
Merge pull request #135 from Santandersecurityresearch/develop Testing AutoBumpVersions
Release v1.5.0
Merge pull request #133 from Santandersecurityresearch/develop CLI option changes from Develop to Master
Release v1.3.1
Merge pull request #123 from Santandersecurityresearch/develop Changes in setup.py to align minimum version with requirements.txt
Release v1.3.0
Merge pull request #121 from Santandersecurityresearch/develop Bug fix, process to automatically release new versions documented and dependency versions updated
Release v1.2.2
Merge pull request #118 from Santandersecurityresearch/develop Develop
Release v1.2.1
Merge pull request #113 from Santandersecurityresearch/develop Added pypi documentation
Release v1.2.0
Merge pull request #109 from Santandersecurityresearch/develop Changes for v1.2.0