Skip to content

Commit 8e8c107

Browse files
jacalataclaude
andcommitted
Address review: mixed scope + pyproject comment cleanup
- Fix em dash and long inline comment in pyproject.toml (ASCII-only per repo style) - PR title and body updated to reflect mixed docs+fix scope (audit uncovered a real XXE hardening on metric_item.MetricItem.from_response, plus a fragile transitive-import cleanup in server_info_item.py) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0c12c74 commit 8e8c107

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ license-files = ["LICENSE"]
1313
readme = "README.md"
1414

1515
dependencies = [
16-
'defusedxml>=0.7.1', # latest as at 7/31/23; use for all XML parsing — stdlib xml is unsafe against XXE. XML building (Element/SubElement/tostring) still uses stdlib as defusedxml has no equivalents.
16+
# defusedxml: parse all incoming XML (stdlib xml.etree is XXE-unsafe).
17+
# XML building (Element/SubElement/tostring) still uses stdlib; defusedxml has no builder equivalents.
18+
'defusedxml>=0.7.1', # latest as at 7/31/23
1719
'packaging>=23.1', # latest as at 7/31/23
1820
'requests>=2.32', # latest as at 7/31/23
1921
'urllib3>=2.6.0,<3',

0 commit comments

Comments
 (0)