Skip to content

feat: audit feedback for ovault - #1617

Merged
shankars99 merged 34 commits into
feat/ovault-evmfrom
ovault-audit/paladin
Jul 20, 2025
Merged

feat: audit feedback for ovault#1617
shankars99 merged 34 commits into
feat/ovault-evmfrom
ovault-audit/paladin

Conversation

@shankars99

Copy link
Copy Markdown
Collaborator

No description provided.

shankars99 and others added 30 commits July 14, 2025 21:16
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
…ate()

Signed-off-by: shankar <shankar@layerzerolabs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: alexanderliteplo <alexanderliteplo@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Co-authored-by: ravinagill15 <ravina@layerzerolabs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…n wiring (#1538)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
AlexanderLiteplo and others added 4 commits July 20, 2025 18:30
Co-authored-by: Shankar Subramanian <shankars0899@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert (click for details)
Warn High
@openzeppelin/contracts-upgradeable@5.4.0 has Unstable ownership.

Author: arr00

From: packages/ovault-evm/package.jsonnpm/@openzeppelin/contracts-upgradeable@5.4.0

ℹ Read more on: This package | This alert | What is unstable ownership?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Try to reduce the number of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@openzeppelin/contracts-upgradeable@5.4.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/errors@0.21.5 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/nodes@0.21.5npm/@kinobi-so/nodes-from-anchor@0.21.3npm/@kinobi-so/renderers-js-umi@0.21.7npm/kinobi@0.21.5npm/@kinobi-so/renderers@0.21.5npm/@kinobi-so/errors@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/errors@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/node-types@0.21.5 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/nodes@0.21.5npm/@kinobi-so/nodes-from-anchor@0.21.3npm/@kinobi-so/renderers-js-umi@0.21.7npm/kinobi@0.21.5npm/@kinobi-so/renderers@0.21.5npm/@kinobi-so/node-types@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/node-types@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/nodes-from-anchor@0.21.3 is an Unpopular package.

Location: Package overview

From: examples/oapp-solana/package.jsonnpm/@kinobi-so/nodes-from-anchor@0.21.3

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/nodes-from-anchor@0.21.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/nodes@0.21.5 is an Unpopular package.

Location: Package overview

From: examples/oapp-solana/package.jsonnpm/@kinobi-so/nodes@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/nodes@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/renderers-core@0.21.3 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/renderers-js-umi@0.21.7npm/@kinobi-so/renderers@0.21.5npm/@kinobi-so/renderers-core@0.21.3

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/renderers-core@0.21.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/renderers-js-umi@0.21.7 is an Unpopular package.

Location: Package overview

From: examples/oapp-solana/package.jsonnpm/@kinobi-so/renderers-js-umi@0.21.7

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/renderers-js-umi@0.21.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/renderers-js@0.21.9 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/renderers@0.21.5npm/@kinobi-so/renderers-js@0.21.9

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/renderers-js@0.21.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/renderers-rust@0.21.8 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/renderers@0.21.5npm/@kinobi-so/renderers-rust@0.21.8

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/renderers-rust@0.21.8. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/renderers@0.21.5 is an Unpopular package.

Location: Package overview

From: examples/oapp-solana/package.jsonnpm/@kinobi-so/renderers@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/renderers@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/validators@0.21.5 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/renderers-js-umi@0.21.7npm/kinobi@0.21.5npm/@kinobi-so/validators@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/validators@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
@kinobi-so/visitors@0.21.5 is an Unpopular package.

Location: Package overview

From: pnpm-lock.yamlnpm/@kinobi-so/nodes-from-anchor@0.21.3npm/kinobi@0.21.5npm/@kinobi-so/visitors@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@kinobi-so/visitors@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
kinobi@0.21.5 is an Unpopular package.

Location: Package overview

From: examples/oapp-solana/package.jsonnpm/kinobi@0.21.5

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/kinobi@0.21.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@shankars99
shankars99 merged commit f901e40 into feat/ovault-evm Jul 20, 2025
2 of 8 checks passed
@shankars99
shankars99 deleted the ovault-audit/paladin branch July 20, 2025 18:32
shankars99 added a commit that referenced this pull request Jul 20, 2025
Signed-off-by: shankar <shankar@layerzerolabs.org>
Co-authored-by: Nazreen <nazreen.mohamad@layerzerolabs.org>
Co-authored-by: layerzero-bot <131946195+layerzero-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Krak <krak@layerzerolabs.org>
Co-authored-by: DanL0 <159833747+DanL0@users.noreply.github.com>
Co-authored-by: alexanderliteplo <alexanderliteplo@gmail.com>
Co-authored-by: Alexander Liteplo <65365446+AlexanderLiteplo@users.noreply.github.com>
Co-authored-by: Adel Akbar <adel-s@outlook.com>
Co-authored-by: ravinagill15 <ravina@layerzerolabs.org>
Co-authored-by: Nazreen <10964594+nazreen@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
shankars99 added a commit that referenced this pull request Jul 20, 2025
Signed-off-by: shankar <shankar@layerzerolabs.org>
Co-authored-by: Nazreen <nazreen.mohamad@layerzerolabs.org>
Co-authored-by: layerzero-bot <131946195+layerzero-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Krak <krak@layerzerolabs.org>
Co-authored-by: DanL0 <159833747+DanL0@users.noreply.github.com>
Co-authored-by: alexanderliteplo <alexanderliteplo@gmail.com>
Co-authored-by: Alexander Liteplo <65365446+AlexanderLiteplo@users.noreply.github.com>
Co-authored-by: Adel Akbar <adel-s@outlook.com>
Co-authored-by: ravinagill15 <ravina@layerzerolabs.org>
Co-authored-by: Nazreen <10964594+nazreen@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
shankars99 added a commit that referenced this pull request Jul 20, 2025
shankars99 added a commit that referenced this pull request Jul 20, 2025
feat: audit feedback for ovault (#1617)

- issue-5: skip removeDust() on slippage check when dstEid=hub
- issue-9: token.safeTransfer(..args) instead of transfer
- issue-4: refuse msg.value on proxySend() when dstEid is the hub
- issue-12: remove duplicated safeERC20 import and library usage
- issue-13: initialize() for upgradeable
- issue-14: remove unused interface errors
- issue-11: remove duplication in retry() and constructor
- copy-pasta ERC4626 caution/warning from OpenZeppelin on donation attack
- match packages and interface improvements
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.

7 participants