Google ADK for Python 1.39
Last reviewed Oct 12, 2026
Prompt Details
Prompt Composition
2prompts
- Python 3155 lines · 3.8K tokens
- Google ADK for Python 1.3994 lines · 3.3K tokens
Total249 lines · 7.1K tokens
CWE Coverage
- 20
- 23
- 36
- 59
- 78
- 89
- 95
- 117
- 201
- 208
- 209
- 214
- 250
- 295
- 306
- 319
- 328
- 338
- 347
- 352
- 367
- 379
- 409
- 416
- 426
- 427
- 470
- 488
- 502
- 522
- 524
- 532
- 611
- 639
- 674
- 732
- 770
- 772
- 776
- 829
- 862
- 916
- 918
- 941
- 942
- 1104
- 1333
- 1395
- 1426
- 1427
Prompt Preview
Apply the Python 3 baseline first. These rules cover ADK Python 1.39 and its v1 APIs.
Release line and dependency scope
- Review v1 release notes alongside advisories and dependency scans: published v1 releases include security-related ports without dedicated advisories. Keep the exact deployed dependency set in the lockfile and verify which controls its release provides; a clean scan cannot establish that every upstream fix is present.
- Update every place that runs ADK, including developer machines that run
adk weboradk api_serverlocally, not only deployed services; a local server runs agent code and can be reached from the developer's browser and network. - Choose a security-supported CPython minor compatible with every deployed integration. Python 3.10 is end of life. This line declares
requires-python = ">=3.10"without an upper bound; its classifiers name 3.10 through 3.13, the v1.39.1 CI also tests 3.14, and current 1.x installation guidance says 3.10 or later. Use the maintained 3.11 through 3.14 candidates only after checking the deployed integrations; verify newer minors separately. - Track both branches when you assess a fix, and verify that it is present in the exact v1 release you deploy instead of assuming every 2.x security change is backported. No published v1 support window or backport commitment was found. When a relevant fix has no v1 release, document and test a mitigation for that specific flaw; if none works, disable the affected feature or complete migration to a release containing the fix before continued exposure.