Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

upgrade-llvm

Latest version: vgit:5cebfe493cb1645e64bcb03fdf39b3aa058c6b16

Overview

Agent skill Publisher: clice-io
1,955 Stars
105 Forks
1 Versions
C++ Repo language

Scan summary

upgrade-llvm was scanned at commit 5cebfe49. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 5cebfe49 (2 instances: 2 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
5cebfe49 1 rule fired

Rules fired in 5cebfe49: 1

Findings

2 Low

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.

Skill mentions tunnel, paste or webhook services

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.

LOW
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 5cebfe49; other versions have their own rules, not their own score.

README

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.

Step 1: The xclang Release

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.

Step 2: A clice to Regenerate With

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.

Step 3: Pin It

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 lock

Every 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).

Step 4: Regenerate 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.
  • A warning from 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).
  • What only some configurations export lands under their conditions in 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.

Step 5: Build and Adapt the API

pixi run build RelWithDebInfo

Fix LLVM API breaking changes based on compilation errors. Common categories:

  • Header path changes: e.g., clang/Driver/Options.h → clang/Options/Options.h
  • Namespace migrations: e.g., clang::driver::options → clang::options
  • Type system changes: e.g., ElaboratedType removal, NestedNameSpecifier pointer→value
  • Function signature changes: e.g., createDiagnostics parameter changes
  • Type merges/splits: e.g., DependentTemplateSpecializationType → TemplateSpecializationType

Strategy:

  1. Fix header/namespace changes first (mechanical). A header, name or macro clice now needs that modules/ does not export goes into demand.cpp, and Step 4 runs again.
  2. Fix type system and signature changes (requires understanding semantics)
  3. Update the case outputs upstream changed: UPDATE_SNAPSHOTS=1, every changed block reviewed like code (the write-tests skill)
  4. Ensure pixi run -e test-run unit-test RelWithDebInfo passes
  5. Port clang/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 afterwards
  6. Bump index_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 symbols
  7. A library clice starts using directly is added to LLVM_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 release

When 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.

Step 6: Write the Changelogs (REQUIRED)

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:

  • Change description
  • Upstream commit hash
  • PR number (link to https://github.com/llvm/llvm-project/pull/<NUM>)
  • Impact on clice

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.

Step 7: Report and Wait

Present a summary to the maintainer and wait for confirmation before opening the PR. The summary should include:

  • All API changes that were adapted and how they were resolved
  • What the regenerated modules/ dropped, and what demand.cpp gained
  • All test expectation changes (snapshot updates, assertion value changes) and why
  • Any unavoidable behavior changes from upstream LLVM (e.g., TypePrinter output differences, type sugar changes) that affect user-visible features like hover
  • The LLVM changelog that was written

The maintainer decides whether all changes are acceptable or if adjustments are needed.

Step 8: The PR

The pull-request skill takes over; the title is chore: upgrade LLVM to <X.Y.Z>.

Notes

  • Other libraries: a version bump of kotatsu or any other library 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.
  • Private headers: clice includes no private clang headers, and xclang's libclang archives carry none; one clice starts to need goes into xclang's libclang package (toolchain/ in xclang) first.
  • Debug builds: ASan builds (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.

OX Radar and Response Center

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.

Where it’s listed

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).

  • GitHub clice-io/clice/upgrade-llvm

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229