Repository navigation
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
Open
Add cargo-audit, cargo-deny, cargo-fuzz harness and budget-exhaustion experiment (#73 #74 #75 #76)#143Freezyyy-arch wants to merge 4 commits into
Freezyyy-arch wants to merge 4 commits into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 whoseapproveloops 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 anentry_pointstarget driving subscribe, charge, cancel, pause and resume with arbitrary arguments and checking that remaining cap never goes negative, plusfuzz/README.mdand a weekly.github/workflows/fuzz.ymlthat uploads crashes.fb4760a: ci: add cargo-deny for licences, bans and advisories
Adds
deny.toml(advisories, licences, bans, sources),.github/workflows/deny.ymlrunningcargo deny check, anddocs/advisories.mdexplaining how to handle an advisory.9f89052: ci: add scheduled and PR-triggered cargo-audit job
Adds
.github/workflows/audit.yml, runningcargo auditagainst the RustSec database on pull requests, pushes to main and a daily schedule. It is a separate workflow file rather than an edit toci.yml, to avoid conflicts.