Scan your whole stack
Latest version: vgit:5cebfe493cb1645e64bcb03fdf39b3aa058c6b16
upgrade-llvm was scanned at commit 5cebfe49. Risk score 1 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 5cebfe49 | 1 rule fired |
Findings for commit 5cebfe49. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The skill's text or scripts mention a tunneling service such as ngrok or trycloudflare, a Discord webhook, a raw paste link or a public IP address. Legitimate tools reference these too, so this is context for review rather than evidence of harm.
LOWThe score describes 5cebfe49; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Upgrade LLVM to a new version. Accepts the xclang version as argument (e.g., 23.1.2.1: LLVM 23.1.2, xclang's first build of it).
The compiler clice builds with and the LLVM/Clang libraries it links both come from one xclang release: xclang's Bazel module (registry https://bazel.clice.io) brings the toolchain and the release's libclang-<version>-<triple>[-asan].tar.xz archives as repositories, and the conda package xclang (channel https://conda.clice.io) the LLVM tools the tests and the packaging run. They always move together: the archives hold ThinLTO bitcode, which only the LLVM that wrote it is sure to read. clice imports libclang's headers, with every other third-party library's, through the generated module in modules/, so an upgrade regenerates it before anything builds. Follow each step in order.
Read toolchain-changelog.md in this directory before touching MODULE.bazel, .bazelrc, BUILD.bazel or bazel/: it records the platform pitfalls that still apply (symptom, cause, fix, how to check). Every new one is added there in the same shape; a toolchain change without an entry is not finished.
The work happens on a branch chore/upgrade-llvm-<major>, created from fresh origin/main (CLAUDE.md) before Step 2, and runs on Linux boxes (the agent-box skill): one, leased once and kept for the whole upgrade, regenerates modules/ for every configuration; the builds and suites of Step 5 get a box each.
The toolchain and the libraries are built in the xclang repository, by its own pipeline; a new LLVM version there is a change of its LLVM_VERSION and sources, and ends with a release tagged <llvm version>.<revision>, the conda packages on conda.clice.io and the Bazel module on bazel.clice.io. Upgrading clice starts once that release exists:
gh release view <VERSION> -R clice-io/xclang --json assets --jq '.assets[].name' | grep libclang
Every target clice builds needs its libclang-<VERSION>-<triple>.tar.xz, and the Debug builds (x86_64 Linux, arm64 macOS) their -asan archives.
On the Linux box, build clice from this tree before any pin moves, and keep it aside:
pixi run build RelWithDebInfo
rm -rf ~/clice-bin && cp -RL build/RelWithDebInfo/bin ~/clice-bin
The new headers need not build the old modules/ (a name it exports may be gone upstream), and regenerating only reads them. But the clice must carry this tree's own clice modularize: one built from an older tree writes another shape (thousands of extra lines of enum wrappers). main's CI build artifact (build-<triple>-RelWithDebInfo, kept 3 days) serves as well: unpacked into ~/clice-bin, it needs chmod +x ~/clice-bin/bin/* (artifacts drop the executable bit), and a box that skips the build needs pixi run install-tests before Step 4, or npx bazel gets a 404.
Move every pin in one change:
MODULE.bazel: bazel_dep(name = "xclang", version = "<VERSION>")pixi.toml: every xclang = "==<VERSION>", and the Windows test environments' llvm-tools = "==<LLVM version>"pixi.lock: pixi lockEvery file of the toolchain and of libclang is an input of the actions that read it, so the new release rebuilds everything; nothing has to be cleaned. A release re-published under the same tag needs a new module version on the registry (its archive digests are recorded there).
modules/modules/demand.cpp records what clice takes from the libraries; tools/modules/modules.ts builds it for a configuration, indexes it with clice and wraps the libraries' headers with clice modularize, then merges the eight configurations into modules/. Push the pinned tree to the Linux box, then:
box run $linux 'pixi run node tools/modules/modules.ts --clice ~/clice-bin/bin/clice generate'
box run $linux 'pixi run node tools/modules/modules.ts --clice ~/clice-bin/bin/clice merge'
box cp $linux . modules
Each configuration takes about half a minute. The macOS ones compile against Apple's SDK, which the first of them fetches (MODULE.bazel accepts its license). Nothing under modules/ but demand.cpp, BUILD.bazel and modules.bzl is edited by hand; a wrong result is fixed in its inputs and regenerated:
generate compiles demand.cpp first, so a header that moved or went upstream stops it there: fix the include in demand.cpp, as the API adaptation of Step 5 would in clice's own files.clice modularize stops it too: a header the partition leaves to the program means a library's include directory moved (the partition's globs are in tools/modules/modules.ts).third_party.cppm and libc.cppm; what clice uses on one platform alone is written under that platform's #ifdef in demand.cpp (llvm/Support/WindowsError.h under _WIN32).The diff of modules/ is part of the upgrade's review: names the libraries dropped or renamed, and macros that changed.
pixi run build RelWithDebInfo
Fix LLVM API breaking changes based on compilation errors. Common categories:
clang/Driver/Options.h → clang/Options/Options.hclang::driver::options → clang::optionscreateDiagnostics parameter changesStrategy:
modules/ does not export goes into demand.cpp, and Step 4 runs again.UPDATE_SNAPSHOTS=1, every changed block reviewed like code (the write-tests skill)pixi run -e test-run unit-test RelWithDebInfo passesclang/lib/AST/StmtProfile.cpp changes into src/semantic/expr_hash.cpp (a trimmed copy of StmtProfiler with clice's own leaves): do not diff the files — list the upstream commits with git log llvmorg-<old>..llvmorg-<new> -- clang/lib/AST/StmtProfile.cpp, and hand an Opus subagent that list with the instruction to apply each commit's C and C++ visitor changes to the port; pixi run -e test-run unit-test RelWithDebInfo -- --test-filter='expr_hash.*' (the bit-for-bit fidelity test against Stmt::Profile) must be green afterwardsindex_format_version in src/index/format.cppm: entity hashes (src/semantic/identity.cpp) follow clang's canonicalization rules, so they can change silently across versions and an old index would otherwise keep serving stale symbolsLLVM_LIBRARIES in bazel/BUILD.bazel. xclang's libclang archives carry only the libraries clice uses: one they lack goes into xclang's toolchain/cmake/caches/clang.cmake (LLVM_Development_DISTRIBUTION_COMPONENTS) first, and needs a new xclang releaseWhen a fix is not obvious, read the LLVM source code to understand the new API. If ../llvm-project exists locally, use it. Otherwise, look up the upstream commit/PR on GitHub.
Then the unit tests and the cases, and a build of every other configuration, each on a box of its own (the build-and-test skill): pixi run build Debug and pixi run build Debug -- --platforms=@xclang//platforms:aarch64-apple-darwin (the ASan libclang, built with assertions, declares more than the release one), and pixi run build RelWithDebInfo -- --platforms=@xclang//platforms:<triple> for the other targets. CI runs them all, but a configuration that does not build is found faster here.
Toolchain-level findings on clice's side (MODULE.bazel, .bazelrc, BUILD.bazel, bazel/, CI mechanics; the toolchain itself keeps its own notes in xclang) go to toolchain-changelog.md in this directory, in its symptom / cause / fix / check shape. API changes go to llvm-changelog.md, maintainer reference material, deliberately not a docs page.
Every LLVM upgrade adds a new H2 section to llvm-changelog.md (e.g., ## LLVM 22 → 23) documenting all breaking changes encountered. For each API change, record:
https://github.com/llvm/llvm-project/pull/<NUM>)To find upstream commits, search the LLVM git history between version tags (git log --oneline llvmorg-<OLD>..llvmorg-<NEW> -- clang/include/clang/AST/ in ../llvm-project, or the GitHub history). Group changes by category with a table per category, as the newest section does.
Present a summary to the maintainer and wait for confirmation before opening the PR. The summary should include:
modules/ dropped, and what demand.cpp gainedThe maintainer decides whether all changes are acceptable or if adjustments are needed.
The pull-request skill takes over; the title is chore: upgrade LLVM to <X.Y.Z>.
modules/ wraps (its bazel_dep in MODULE.bazel) is Steps 2 and 4 alone, then the build; so is clice starting to use a header or macro modules/ does not export yet. A new library is added to LIBRARIES in modules/modules.bzl and to the partition in tools/modules/modules.ts.toolchain/ in xclang) first.bazel/clice.bazelrc's Debug) link the ASan libclang, which xclang builds for x86_64 Linux and arm64 macOS (its @libclang follows --features=asan); the other targets have no Debug build.Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.