hyperlight-dev / hyperlight-dev/hyperlight-sandbox

Stdout/stderr canary sweep test for credential secret leakage

Open
#135 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
73
Forks
7
Avg merge
2d 2h
Merged PRs (30d)
23

Description

Follow-up from #89 (Scoped credentials for outgoing HTTP).

Existing tests cover some leakage paths: resolver_failure_surfaces_as_error asserts the failure diagnostic does not leak, and isolated_registries_across_sandboxes proves cross-sandbox isolation.

However, there is no positive test that runs a guest with a known sentinel token value and scans stdout / stderr / every error payload to assert the sentinel string is absent from every guest-visible output. Add such a canary sweep test.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the existing resolver_failure_surfaces_as_error and isolated_registries_across_sandboxes tests, then trace the scoped-credentials guest setup from #89. Add a guest test using a sentinel token that scans stdout, stderr, and every error payload; done means the sentinel is absent from all guest-visible outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.