Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global context in Cross-VM calls #98

Open
conr2d opened this issue Dec 8, 2024 · 0 comments
Open

Global context in Cross-VM calls #98

conr2d opened this issue Dec 8, 2024 · 0 comments
Labels
K:multi Cross-protocol features P:medium Priority: Medium

Comments

@conr2d
Copy link
Contributor

conr2d commented Dec 8, 2024

Description

In Noir's Multi-VM architecture, each VM maintains its own local context. This context includes parameters like call depth, execution limits, and other runtime constraints, all managed independently within each VM.

However, this approach introduces potential vulnerabilities when Cross-VM calls come into play. Specifically:

  • Cross-VM calls could unintentionally bypass local limits (e.g., call depth) by distributing execution across multiple VMs.
  • This opens up a possibility for exceeding intended thresholds, potentially causing performance degradation or introducing security loopholes.

To address these concerns, the introduction of a Global Context might be necessary.

@conr2d conr2d added P:medium Priority: Medium K:multi Cross-protocol features labels Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
K:multi Cross-protocol features P:medium Priority: Medium
Projects
None yet
Development

No branches or pull requests

1 participant