Skip to content

fix(release): harden Skylos supply chain - #1294

Merged
duriantaco merged 2 commits into
mainfrom
hardening/release-supply-chain
Nov 25, 2026
Merged

duriantaco merged 2 commits into
mainfrom
hardening/release-supply-chain

Conversation

@duriantaco

Copy link
Copy Markdown
Owner

Summary

  • Built the Go engine with Go 1.26.11. New native macOS wheels require macOS 12 or later.
  • Require an OSV audit of the Python and VSC lockfiles before release.
  • Generate SBOMs for Python packages, container images, and the VSCE.
  • Added a workflow to build and verify the 0.6.1 VSIX.

Tests

  • pytest test/test_build_dist.py test/test_build_go_wheels.py test/test_artifact_sbom.py test/test_release_checks.py

@github-actions

Copy link
Copy Markdown
Contributor

Skylos Analysis Summary

Gate: passed

6 issue(s) on changed lines | 6 total

View Skylos report

Details

AI PR Risk Passport

Merge recommendation: PASS

Signal Value
Files with recorded agent lines 0
Files with declared agent association 0
Agents -
Provenance confidence low
Changed-line evidence Proven 4 / Likely 2 / Speculative 0
High-risk agent-associated files -
Security controls weakened -
Missing LLM guardrails -
Severity Count
HIGH 2
MEDIUM 2
LOW 2
Category Count
danger 4
quality 2

Top Issues

  • 🟠 HIGH SKY-D215 (test_artifact_sbom.py:61): Review (not listed, not blocking): caller analysis stopped before any chain reached request data, an upload, a network message or an archive member. Possible path traversal: a filesystem call uses a path from a function parameter whose callers are not visible, with no containment check; if a caller can pass user input, resolve it and check it stays under the base directory.
    • Fix: Validate file paths against an allowed directory: ˋPath(path).resolve().relative_to(allowed_dir)ˋ.
  • 🟠 HIGH SKY-D324 (artifact_sbom.py:75): Review (not listed, not blocking): caller analysis stopped before any chain reached request data, an upload, a network message or an archive member. Possible symlink-following write: the path comes from a function parameter whose callers are not visible; if a caller can pass user input, reject symlinks or open with O_NOFOLLOW and check containment.
    • Fix: Reject symlinks before writing, keep the resolved path inside the trusted root, or open with ˋO_NOFOLLOWˋ.

Skylos edits this comment on each push instead of adding a new one. Inline comments from earlier runs stay on the PR.

@duriantaco
duriantaco merged commit 00140f8 into main Nov 25, 2026
31 checks passed
@duriantaco
duriantaco deleted the hardening/release-supply-chain branch November 25, 2026 02:26
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