Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an execution-environment detector for Lingguang (
lingguang), with regression cases. This is independent of the other agent contributions and keeps the upstream result API.Signal: non-empty
EXEC_FROM.Evidence and scope: Redacted observation of Lingguang command execution in Linux cloud sandboxes (2026-10-31). EXEC_FROM arrived non-empty, was checked by name only and was absent from a fresh login shell/inspected global profiles. EXEC_FROM is a generic name: this is a scoped community heuristic, not exclusive vendor identity or a stability guarantee.
Investigated while maintaining AI-Shifu Detect Agent, a community specification and shared synthetic fixtures. The pinned rule/evidence record explains the source, matching policy and known limits. This contributes detection knowledge back upstream without a runtime dependency on that project.
Validation: Node 22: Vitest,
tsc --noEmit, and tsup build passed. Go 1.27:go test ./...passed. Both language implementations use the new shared cases. Cases cover non-empty values, empty/missing markers and relevant configuration or partial-condition boundaries. No new process-tree probe is added.These checks use synthetic environment mappings. A fresh live vendor session was not run for this PR. The observations/source paths do not establish every build or interface; inherited or manually set markers do not authenticate the immediate caller.