Repository navigation
fix: resolve Snyk findings (hardcoded secrets in tests, urllib3 floor) - v1.11.3 - #192
Open
reeshika-h wants to merge 3 commits into
Open
reeshika-h wants to merge 3 commits into
reeshika-h wants to merge 3 commits into
Conversation
Replace hardcoded passwords and secrets in tests with env/cred-helper values or per-run generated values, and drop the deepcode ignore suppression comments. Clears the Snyk Code NoHardcodedPasswords and HardcodedNonCryptoSecret findings. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
urllib3 2.7.0 is affected by improper certificate validation, resource allocation without limits and an infinite loop; 2.8.0 fixes all three. Raise the minimum so the vulnerable version is no longer installable. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves the open Snyk tickets for this repo (v1.11.3).
Snyk Code — hardcoded passwords / non-cryptographic secrets (tests only) — DX-22180 to DX-22195
tests/api,tests/mock,tests/integration,tests/unitwith env-backed (tests/cred.py) or per-run generated values, per the dummy-secret standard (SDK sink properties are env/computed with no literal).# deepcode ignoresuppression comments.Snyk SCA — urllib3 2.7.0 — DX-27815, DX-27816, DX-27817
urllib3>=2.8.0,<3.0.0inrequirements.txtandsetup.py(improper certificate validation, resource allocation without limits, infinite loop).Version bumped to 1.11.3 with a CHANGELOG entry.
Verification
snyk code test --org=contentstack-developer-ecosystem: 0 issues (was 17).snyk test --file=requirements.txt: no vulnerabilities; only the transitive certifi MPL-2.0 licence note remains (no code fix).tests/unit/contentstack+tests/unit/test_oauth_handler.py: 156 passed.tests/mock/users::test_mock_get_userandtest_mock_user_updatefail identically onmain(live login insetUp); unrelated to this change.🤖 Generated with Claude Code