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

Run the scanner in an isolated environment #8141

Open
5 of 7 tasks
Tracked by #7728
teor2345 opened this issue Jan 8, 2024 · 0 comments
Open
5 of 7 tasks
Tracked by #7728

Run the scanner in an isolated environment #8141

teor2345 opened this issue Jan 8, 2024 · 0 comments
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions C-security Category: Security issues I-memory-safety Vulnerable code in Zebra or dependencies I-privacy Zebra discloses private information

Comments

@teor2345
Copy link
Contributor

teor2345 commented Jan 8, 2024

Motivation

Zebra's scanner currently runs asynchronously in the same process. This prevents some timing attacks, but still leaves the private keys vulnerable to memory unsafety and remote code execution.

It could also result in tight binding of the scanner with Zebra's internal APIs, making it difficult to change.

Alternatives

There are a range of isolation options we can use for the scanner.

Here are some alternatives and a quick security analysis for each:

@mpguerra mpguerra added this to Zebra Jan 8, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Zebra Jan 8, 2024
@teor2345 teor2345 added P-Medium ⚡ C-security Category: Security issues I-privacy Zebra discloses private information I-memory-safety Vulnerable code in Zebra or dependencies A-blockchain-scanner Area: Blockchain scanner of shielded transactions labels Jan 8, 2024
@teor2345 teor2345 changed the title Run the scanner in a separate process Run the scanner in an isolated environment Jan 8, 2024
@mpguerra mpguerra moved this from New to Product Backlog in Zebra Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions C-security Category: Security issues I-memory-safety Vulnerable code in Zebra or dependencies I-privacy Zebra discloses private information
Projects
Status: Product Backlog
Development

No branches or pull requests

2 participants