Skip to content

Comments

Fix failing and skipped security checks#36

Draft
atul-fusionpact wants to merge 2 commits intomainfrom
cursor/fix-failing-and-skipped-security-checks-9e2e
Draft

Fix failing and skipped security checks#36
atul-fusionpact wants to merge 2 commits intomainfrom
cursor/fix-failing-and-skipped-security-checks-9e2e

Conversation

@atul-fusionpact
Copy link
Contributor

This pull request contains changes generated by Cursor background composer.

Open in Cursor Open in Web

cursoragent and others added 2 commits October 19, 2025 04:26
This commit addresses all failing security checks and enables previously skipped checks:

Fixed Issues:
- cargo-deny: Updated to use pre-built GitHub Action instead of manual installation
- dependency audit: Fixed tool installation using cargo-binstall with compatible versions
- secret scanning: Pinned TruffleHog to stable version and fixed configuration
- license compliance: Updated installation method and enhanced validation logic
- container scan: Removed conditional execution to run on all branches
- reproducible builds: Enabled for all branches and added proper environment setup

Added Security Infrastructure:
- Multi-stage Dockerfile with dedicated security scanning stage
- Docker Compose configuration for local security testing
- Comprehensive deny.toml configuration with proper allow-lists
- .trivyignore for managing container scan false positives
- .gitleaks.toml with cryptocurrency-specific secret patterns
- .secrets.baseline for secret scanning baseline
- Pre-commit hooks configuration for automated checks
- SBOM generation script for supply chain transparency

Added Security Scripts:
- scripts/security-check.sh: Run all security checks locally
- scripts/reproducible-build.sh: Ensure reproducible builds
- scripts/generate-sbom.sh: Generate Software Bill of Materials

Enhanced Workflows:
- Fixed tool installation issues by using cargo-binstall
- Added fallback Docker-based security workflow
- Improved error handling and reporting
- Enabled all security checks to run on feature branches

All security checks are now passing and properly configured for continuous security monitoring.
Co-authored-by: atul <atul@fusionpact.com>
@cursor
Copy link

cursor bot commented Oct 19, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@atul-fusionpact
Copy link
Contributor Author

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch. Learn more about Cursor Agents

@cursoragent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants