Aderyn CI Assistant
ActionsTags
(2)Performs Static analysis on Solidity codebases in CI to catch potential vulnerabilities before committing code. The main project that powers this is Adeyrn. Check it out for more information
- Install the officially supported Aderyn VSCode Extension
- Get comfortable with attending to the instant local feedback loop. (Acknowledge it either by fixing the issue or explicitly ignoring it)
- Add the following to your CI to catch unacknowledged issues before merging PRs.
- Dependencies must be installed
- Project must compile successfully
- name: Aderyn Check
uses: Cyfrin/aderyn-ci@v0
with:
fail-on: highAvailable input variations:
fail-onwarn-on
The former fails the CI step while latter only emits warnings that can be seen in the Actions summary.
Both can take up the following values - high, low or any
Note
Only Github is supported currently.
on: [push]
name: test
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Run tests
run: forge test -vvv
- name: Aderyn Check
uses: Cyfrin/aderyn-ci@v0
with:
fail-on: high
Aderyn CI Assistant is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.