Repository navigation
Conversation
|
@Ejvictor4 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
9cc909f to
38cf44a
Compare
|
Warning Possible malicious code: please review before merging. An automated security scan flagged files in this pull request that appear to contain malicious code. Code like this can run automatically when a project is opened in an editor or its dependencies are installed, so it could compromise the machine of anyone who checks out this branch. Automated scans can be wrong, so this may be a false positive. Maintainers: please review the flagged files carefully before merging, on GitHub in your browser rather than by checking out the branch. The malicious part is often hidden far off to the right of an ordinary-looking line, so scroll sideways through each file. @Ejvictor4: this pull request adds or changes these files, possibly without your knowledge. Malware like this spreads by adding itself to repositories on machines it has infected, so your machine and / or GitHub account may be compromised. Please review your machine for a possible malware infection, and rotate your GitHub credentials / SSH keys as needed. Flagged files at commit Only merge once you're confident these files are safe. ℹ️ Posted automatically by Drips Wave. Questions? Contact support@drips.network. |
|
Closing: branch was force-pushed with Wave malware droppers ( |
Overview
This PR restricts escrow funding to explicitly supported Stellar assets by adding a maintained token allowlist, validating asset contract addresses during escrow creation and funding, enforcing admin authorization on allowlist changes, and recording audit entries for those changes.
Related Issue
Closes #ejvictor4
Changes
🔐 Escrow Asset Allowlisting
[MODIFY]
contracts/contracts/escrow/src/lib.rs[ADD]
lib/db/migrations/012_supported_assets_allowlist.sql[MODIFY]
lib/audit-log.ts[MODIFY]
lib/auth/adminMiddleware.ts[MODIFY]
app/api/escrow/create/route.ts[MODIFY]
app/api/escrow/fund/route.ts[MODIFY]
docs/soroban-escrow-deployment.mdVerification Results
Automated test coverage for the allowlist paths listed in the acceptance criteria (invalid addresses, unsupported assets, metadata/decimal handling, authorized and unauthorized modifications, unsupported-asset funding) is not included in the changed files for this PR and should be added before merge.
Closes #248