Skip to content

Add verification bypass prevention checks on restricted actions #540

@Baskarayelu

Description

@Baskarayelu

Description

Develop centralized guard coverage to prevent unverified actors from restricted finance actions.

Requirements and context

  • Must be secure, tested, and documented
  • Should be efficient and easy to review
  • Include negative tests for every guarded path

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b feature/verification-bypass-prevention
  • Implement changes
  • Write contract: src/verification.rs and src/lib.rs
  • Write comprehensive tests: src/test_investor_kyc.rs and src/test_business_kyc.rs
  • Add documentation: docs/contracts/verification.md
  • Include NatSpec-style comments
  • Validate security assumptions

Test and commit

  • Run tests
  • Cover edge cases
  • Include test output and security notes

Example commit message

feat: prevent verification bypass on restricted actions

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programaccess-controlAuto label for contract issues: access-controlpriority-highAuto label for contract issues: priority-highsmart-contractsAuto label for contract issues: smart-contractstestingAuto label for contract issues: testingverificationAuto label for contract issues: verification

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions