Repository navigation
fix(security): resolve OpenSSF Scorecard token permissions and pin dependency SHAs - #31
Merged
Merged
Conversation
…pendency SHAs - Enforce least privilege top-level permissions: read-all across all 12 workflows - Pin all GitHub Action dependencies to full 40-character commit SHAs with inline version tags - Pin multi-arch container base images in Dockerfile to immutable sha256 digests - Remove contents: write from release.yml dual-publish job to eliminate elevated write permissions - Replace unpinned npm/pip commands with pnpm install --frozen-lockfile and standard setuptools build - Add osv-scanner.toml to document acknowledged offline dev vulnerabilities per OpenSSF guidelines
👋 Thanks for opening this Pull Request, @divyanshujethi!Thank you for contributing to AgentShield! 🛡️ Here is what happens next:
|
🛡️ AgentShield Pull Request Security Audit✅ Security Gate Passed — No Exposed Secrets Detected
Protected by AgentShield — Zero-Leak Security for AI Agents & Engineering Teams. |
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 of Changes
Remediates all OpenSSF Scorecard Code Scanning security alerts across the repository:
1. Token-Permissions Hardening (Alerts #33, #34, #35, #36, #37, #38, #92)
elease.yml:dual-publish, adhering strictly to least privilege token access.
2. Pinned Dependencies by Commit SHA & Digest (Alerts #39-#74, #77-#81, #87-#91)
pm ci || npm install in publishing workflows with strict pnpm install --frozen-lockfile (Alerts Add .npmrc, ~/.kube/config, and Terraform .tfstate read protection tests #77, docs(readme): embed live recorded terminal demo GIF (assets/demo.gif) #78, feat(mcp): implement official McpServer with @modelcontextprotocol/sdk and stdio transport #79, fix(security): resolve MCP registry security audit findings (Python CVEs, SIEM endpoint, dynamic ledger salt) #80, fix(security): bump langchain-core>=1.8.3, langgraph>=1.2.23, pytest>=9.2.0 #81).
3. Dockerfile Base Image Pinning (Alerts #75, #76)
ode:22-slim and gcr.io/distroless/nodejs20-debian12:nonroot base images to immutable @sha256: digest hashes.
4. Vulnerabilities Configuration (Alert #86)