Skip to content

fix: batch security hardening (Batch #93) #1321

fix: batch security hardening (Batch #93)

fix: batch security hardening (Batch #93) #1321

Workflow file for this run

name: PoC Audit 2867 - Vote Spoofing + Float Precision
on:
push:
branches:
- audit/poc-2867-vote-spoof-float
pull_request:
branches:
- main
jobs:
p2p-vote-spoofing:
name: P2P Epoch Vote Spoofing PoC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install node dependencies
run: pip install -r requirements-node.txt
- name: Run PoC test (expected to fail while bug is present)
run: python node/tests/test_p2p_vote_spoofing.py
continue-on-error: true
id: spoof_test
- name: Upload test log
if: always()
uses: actions/upload-artifact@v7
with:
name: p2p-spoof-log
path: |
node/tests/test_p2p_vote_spoofing.py
utxo-float-precision:
name: UTXO Float Precision PoC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install node dependencies
run: pip install -r requirements-node.txt
- name: Run PoC test (expected to fail while bug is present)
run: python node/tests/test_utxo_float_precision_bug.py
continue-on-error: true
id: float_test
- name: Upload test log
if: always()
uses: actions/upload-artifact@v7
with:
name: utxo-float-log
path: |
node/tests/test_utxo_float_precision_bug.py