Skip to content

Add cargo-audit, cargo-deny, cargo-fuzz harness and budget-exhaustion experiment (#73 #74 #75 #76) - #143

Open
Freezyyy-arch wants to merge 4 commits into
stellar-sub:mainfrom
Freezyyy-arch:fix/issues-73-74-75-76
Open

Freezyyy-arch wants to merge 4 commits into
stellar-sub:mainfrom
Freezyyy-arch:fix/issues-73-74-75-76

Conversation

@Freezyyy-arch

Copy link
Copy Markdown

Closes #73
Closes #74
Closes #75
Closes #76

Summary

5a26cb9: docs: add budget-exhausting token fixture and Testnet experiment procedure

Adds examples/budget-exhausting-token/, a minimal standalone token whose approve loops until the transaction budget is exhausted once armed, and a SECURITY.md section describing the Testnet procedure. The Testnet result is not yet recorded; the section is labelled as pending and no outcome is claimed.

c52d6ad: test: add cargo-fuzz harness for subscription entry points

Adds a standalone fuzz/ crate (outside the root workspace) with an entry_points target driving subscribe, charge, cancel, pause and resume with arbitrary arguments and checking that remaining cap never goes negative, plus fuzz/README.md and a weekly .github/workflows/fuzz.yml that uploads crashes.

fb4760a: ci: add cargo-deny for licences, bans and advisories

Adds deny.toml (advisories, licences, bans, sources), .github/workflows/deny.yml running cargo deny check, and docs/advisories.md explaining how to handle an advisory.

9f89052: ci: add scheduled and PR-triggered cargo-audit job

Adds .github/workflows/audit.yml, running cargo audit against the RustSec database on pull requests, pushes to main and a daily schedule. It is a separate workflow file rather than an edit to ci.yml, to avoid conflicts.

Adds .github/workflows/audit.yml, which runs cargo audit against the RustSec database on pull requests, pushes to main and a daily schedule.
Adds deny.toml, a deny workflow and docs/advisories.md explaining how to handle an advisory.
Adds a standalone fuzz/ crate fuzzing subscribe, charge, cancel, pause and resume, plus a weekly fuzz workflow that uploads crashes.
…edure

Adds examples/budget-exhausting-token and a SECURITY.md section describing the experiment. The Testnet result is pending.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant