Skip to content

Slashing-Rules | Proportional Security Bond Reductions for Malicious Feeds#500

Merged
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
jaynomyaro:main
Jun 28, 2026
Merged

Slashing-Rules | Proportional Security Bond Reductions for Malicious Feeds#500
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
jaynomyaro:main

Conversation

@jaynomyaro

Copy link
Copy Markdown
Contributor

Summary

This PR introduces proportional slashing rules for oracle security bonds, enabling penalties to scale with the severity and frequency of malicious or invalid data submissions. The implementation strengthens protocol security by discouraging malicious behavior while ensuring fair treatment of validators and data providers.

Changes Made

  • Implemented proportional slashing logic for malicious or invalid feed submissions.
  • Added configurable penalty thresholds based on the severity of protocol violations.
  • Applied bond reductions proportional to the detected offense instead of fixed penalties.
  • Introduced validation checks to identify malicious, stale, conflicting, and invalid feed data.
  • Recorded slashing events with detailed metadata for auditing and dispute resolution.
  • Added safeguards to prevent duplicate slashing for the same violation.
  • Introduced unit and integration tests covering valid submissions, proportional penalties, repeated offenses, edge cases, and dispute scenarios.
  • Updated protocol documentation with slashing rules, configuration options, and operational examples.

Benefits

  • Strengthens economic security by penalizing malicious behavior fairly.
  • Encourages honest participation from oracle operators.
  • Prevents excessive punishment for minor or isolated violations.
  • Improves transparency through comprehensive slashing event records.
  • Provides a flexible framework for future governance-controlled penalty adjustments.

Testing

Contracts | Default Parameter Reset Capabilities
@Sadeequ Sadeequ merged commit 2b496c7 into StellarFlow-Network:main Jun 28, 2026
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.

🪓 Slashing-Rules | Proportional Security Bond Reductions for Malicious Feeds

2 participants