Skip to content

Add bandit SAST + pip-audit dependency scan to CI #19

@devonartis

Description

@devonartis

Summary

Python SDK CI has 9 gates but no SAST or dependency vulnerability scanning. Security product needs both.

What to add

1. bandit (Python SAST)

Static analysis for common security issues.

Known finding: src/agentwrit/orchestrator.py:83assert in production code, stripped by python -O. Replace with explicit AuthenticationError raise.

2. pip-audit (dependency vulnerability scan)

Checks installed packages against OSV and PyPI advisory databases.

Why this matters

Security experts evaluating the repo expect SAST and dep scanning as baseline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions