Summary
There is no automated dependency/vulnerability scanning. A payments service should fail CI when a dependency has a known advisory or an incompatible/unmaintained license.
Where
Proposed change
- Add
cargo audit (RustSec advisory DB) to CI.
- Optionally add
cargo deny for advisories + license + duplicate-version checks, with a checked-in deny.toml.
- Run on push/PR and on a weekly schedule so newly-disclosed advisories surface even without code changes.
Acceptance criteria
- CI fails on a known advisory in the dependency tree.
- (If
cargo deny) deny.toml defines the allowed license set.
- A scheduled run exists in addition to PR runs.
Summary
There is no automated dependency/vulnerability scanning. A payments service should fail CI when a dependency has a known advisory or an incompatible/unmaintained license.
Where
Cargo.toml/Cargo.lock— runtime deps includeaxum,reqwest,sqlx,hmac,sha2, etc.Proposed change
cargo audit(RustSec advisory DB) to CI.cargo denyfor advisories + license + duplicate-version checks, with a checked-indeny.toml.Acceptance criteria
cargo deny)deny.tomldefines the allowed license set.