Skip to content

Malicious behavior miner#132

Draft
NathanBSC wants to merge 503 commits intodevelopfrom
malicious_behavior_miner
Draft

Malicious behavior miner#132
NathanBSC wants to merge 503 commits intodevelopfrom
malicious_behavior_miner

Conversation

@NathanBSC
Copy link

@NathanBSC NathanBSC commented Aug 2, 2024

Description

Malicious behavior miner

Rationale

just to see the diff between latest tag and this branch

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 4513f63 to 760bd68 Compare August 2, 2024 02:09
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 3 times, most recently from 4e6b257 to 13c253f Compare August 14, 2024 09:37
@NathanBSC NathanBSC changed the base branch from develop to tag-v1.4.13 August 14, 2024 09:37
@OKE66
Copy link

OKE66 commented Aug 20, 2024

Description

Malicious behavior miner

Rationale

just to see the diff between latest tag and this branch

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Pla

@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 13de488 to c0130a6 Compare September 19, 2024 06:59
@NathanBSC NathanBSC changed the base branch from tag-v1.4.13 to develop November 6, 2024 08:23
@NathanBSC NathanBSC changed the base branch from develop to master November 6, 2024 08:25
@NathanBSC NathanBSC changed the base branch from master to develop November 6, 2024 08:25
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from c0130a6 to 30981ee Compare November 6, 2024 08:58
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 2 times, most recently from aaa126b to af69f74 Compare November 29, 2024 08:11
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 2 times, most recently from 91e6121 to ce27018 Compare December 13, 2024 09:26
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 3 times, most recently from 29c8284 to 80258ff Compare December 25, 2024 07:35
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 2 times, most recently from 29ce87e to c7b40a7 Compare January 7, 2025 06:26
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from c7b40a7 to e6134a4 Compare January 13, 2025 09:19
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 2 times, most recently from 375817c to b4cfbb1 Compare February 10, 2025 01:47
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from b4cfbb1 to 7914ade Compare February 21, 2025 02:33
@NathanBSC NathanBSC changed the base branch from develop to master February 21, 2025 02:33
@NathanBSC NathanBSC changed the base branch from master to develop February 21, 2025 02:33
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 7914ade to 628bcc3 Compare March 5, 2025 02:53
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch 3 times, most recently from 17d7505 to b6de6db Compare March 17, 2025 03:15
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 577bac6 to 24047e3 Compare February 4, 2026 10:08
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 24047e3 to 230cd62 Compare February 4, 2026 10:15
allformless and others added 22 commits February 5, 2026 15:32
* READMD: keep latest 3 days history logs

* README: fix history.state
Fix ECIES invalid-curve handling in RLPx handshake (reject invalid
ephemeral pubkeys early)
- Add curve validation in crypto/ecies.GenerateShared to reject invalid
public keys before ECDH.
- Update RLPx PoC test to assert invalid curve points fail with
ErrInvalidPublicKey.
 
Motivation / Context
RLPx handshake uses ECIES decryption on unauthenticated network input.
Prior to this change, an invalid-curve ephemeral public key would
proceed into ECDH and only fail at MAC verification, returning
ErrInvalidMessage. This allows an oracle on decrypt success/failure and
leaves the code path vulnerable to invalid-curve/small-subgroup attacks.
The fix enforces IsOnCurve validation up front.
Fix ECIES invalid-curve handling in RLPx handshake (reject invalid
ephemeral pubkeys early)
- Add curve validation in crypto/ecies.GenerateShared to reject invalid
public keys before ECDH.
- Update RLPx PoC test to assert invalid curve points fail with
ErrInvalidPublicKey.
 
Motivation / Context
RLPx handshake uses ECIES decryption on unauthenticated network input.
Prior to this change, an invalid-curve ephemeral public key would
proceed into ECDH and only fail at MAC verification, returning
ErrInvalidMessage. This allows an oracle on decrypt success/failure and
leaves the code path vulnerable to invalid-curve/small-subgroup attacks.
The fix enforces IsOnCurve validation up front.
* parlia: use parent snapshot for finalized quorum

Use the parent block's snapshot instead of the current block's snapshot
when computing the validator quorum for fast finality. The current block's
snapshot may reflect epoch changes (validator set transitions) that have
not yet taken effect, leading to incorrect quorum thresholds.

* parlia: improve GetFinalizedHeader

---------

Co-authored-by: allformless <[email protected]>
* feehistory.go: add logs

* fix: add MaxBlockHistory && MaxHeaderHistory in FullNodeGPO

* fix: remove logs
…g. (#147)

* feat: add malicious behavior simulation for BEP-657 blob chaos testing.

* feat: add malicious behavior simulation for BEP-657 blob chaos testing.
@NathanBSC NathanBSC force-pushed the malicious_behavior_miner branch from 230cd62 to 4e270a0 Compare February 27, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.