Skip to content

Feat/denny/fix - #7

Closed
DennySORA wants to merge 3 commits into
mainfrom
feat/denny/fix
Closed

Feat/denny/fix#7
DennySORA wants to merge 3 commits into
mainfrom
feat/denny/fix

Conversation

@DennySORA

Copy link
Copy Markdown
Owner

No description provided.

1. Add bandit[toml]>=1.7.0 to dev dependency group for CI security scans
2. Update fastapi to >=0.118,<0.119 and add starlette>=0.47.2,<0.48
   to address security vulnerabilities (GHSA-2jv5-9r88-3w3p)
3. Replace SHA-1 with SHA-256 in file comparison module for better
   cryptographic security

Root cause of CI failure:
- Bandit was configured in pyproject.toml but not listed as a dependency
- CI workflow ran 'uv run bandit' causing "No such file or directory" error

Security improvements:
- SHA-256 is more resistant to collision attacks than deprecated SHA-1
- Updated dependencies address known vulnerabilities
- Bandit static analysis now properly configured for CI/CD pipeline

Verified:
✅ uv run bandit --version works (returns 1.8.6)
✅ Bandit scan runs successfully
✅ All 382 tests pass in ~0.4 seconds
✅ Code quality checks pass (ruff format, ruff check, mypy)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

fix: cicd issue and update code.

fix: cicd issue and update code.
@DennySORA DennySORA closed this Oct 8, 2025
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.

1 participant