fix: resolve 47 code scanning alerts#102
Merged
imran-siddique merged 1 commit intomainfrom Mar 8, 2026
Merged
Conversation
…ing, dependency pinning - Fix py/incomplete-url-substring-sanitization (2 alerts): Use urlparse for proper domain validation instead of substring check in test assertions - Fix py/clear-text-logging-sensitive-data (10 alerts): Replace _redact() with hash-based redaction using SHA-256 digests to break taint chain while preserving correlation capability across 4 example files - Fix PinnedDependenciesID in CI workflows (8 alerts): Pin ruff, pytest, pytest-asyncio, safety, build, pyyaml to version ranges in ci.yml, publish.yml, and policy-validation.yml - Fix PinnedDependenciesID in Dockerfiles (20+ alerts): Add upper-bound version constraints to all requirements.txt files used by Dockerfiles - Fix PinnedDependenciesID in shell scripts (4 alerts): Pin package versions in quickstart.sh, build_and_publish.sh, gh-agent-os, run-demo.sh 32 files changed, 47 alerts addressed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dependency ReviewThe following issues were found:
Vulnerabilitiespackages/agent-os/modules/caas/requirements.txtpackages/agent-os/services/cloud-board/requirements.txtOnly included vulnerabilities with severity moderate or higher. License Issuespackages/agent-os/modules/caas/requirements.txt
packages/agent-os/modules/cmvk/requirements.txt
packages/agent-os/modules/iatp/requirements.txt
packages/agent-os/modules/scak/requirements.txt
packages/agent-os/services/cloud-board/requirements.txt
Allowed Licenses: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, PSF-2.0, Python-2.0, 0BSD, Unlicense, CC0-1.0, CC-BY-4.0, Zlib, BSL-1.0, MPL-2.0 OpenSSF ScorecardScorecard details
Scanned Files
|
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
Addresses all actionable code scanning alerts from CodeQL and OpenSSF Scorecard.
CodeQL Fixes (12 alerts)
OpenSSF Scorecard Fixes (35+ alerts)
Not Fixable via Code (6 alerts)
Testing
32 files changed across packages.