test: add workspace-level security issue remediation test set#418
Merged
Baskarayelu merged 2 commits intoRemitwise-Org:mainfrom Mar 28, 2026
Merged
Conversation
…events (SECURITY-001, 002, 003)
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.
Overview
close #335
This Pull Request remediates several critical security vulnerabilities (SECURITY-001, 002, 003) and standardizes protocol-wide event publishing. The changes ensure that the Remitwise smart contract suite is production-ready and fully compliant with the protocol's threat model.
Key Remediations
1. Event Standardization
remittance_split,savings_goals,bill_payments,orchestrator,insurance, andfamily_walletto use theRemitwiseEvents::emithelper.(symbol_short!("Remitwise"), category.to_u32(), priority.to_u32(), action).2. Security Hardening
user.require_auth()in all sensitive query functions to prevent information disclosure.family_walletemergency mode.3. Stability & Integration
remitwise-commondependencies across the workspace.bill_payments/src/events.rs).Verification Results
Full execution of the integration test suite (
cargo test -p integration_tests) confirmed a 100% pass rate (16/16 tests). This includes the newtest_event_topic_compliance_across_contractsvalidator.Documentation
THREAT_MODEL.mdandSECURITY_REVIEW_SUMMARY.mdto reflect the mitigated status of critical threats.