Skip to content

feat: detect Lingguang execution environment - #23

Open
sunner wants to merge 2 commits into
vercel:mainfrom
sunner:sunner/detect-lingguang
Open

sunner wants to merge 2 commits into
vercel:mainfrom
sunner:sunner/detect-lingguang

Conversation

@sunner

@sunner sunner commented Nov 3, 2026 •

Copy link
Copy Markdown

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.

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.

1 participant