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

better-update

Latest version: vgit:4095db2efd66c39eaa0e4a545358b651421ba8cc

Overview

Last scanned
14 Nov 2026
Agent skill Publisher: aislopware
7 Stars
1 Forks
1 Versions
TypeScript Repo language

Scan summary

better-update was last scanned on 14 Nov 2026 at commit 4095db2e. Risk score 20 of 100 (low). High-severity rules fired.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 4095db2e (2 instances: 2 high). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
4095db2e 1 rule fired

Rules fired in 4095db2e: 1

Findings

2 High

Findings for commit 4095db2e. 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.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

HIGH
Checking access…

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

The score describes 4095db2e; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

better-update CLI

better-update is a self-hosted mobile release platform for Expo, React Native, Kotlin Multiplatform, and native apps — any project type, including ones driven by a custom build command — running on Cloudflare. It does OTA JS updates (Expo Updates protocol-compatible), local native builds (EAS Build-compatible), an end-to-end-encrypted credential vault, server-side env vars, store submission, and macOS Developer ID builds, signing, packaging + notarization (build --platform macos, macos sign / macos package / macos notarize) with Sparkle / electron-updater / Tauri update feeds (macos release), and Windows / Linux installers and packages from any toolchain (build --platform windows|linux, windows release, linux release, with an APT repository of the deb releases) — all driven from one CLI, better-update. This skill is how you operate that CLI on a user's behalf.

The one mental model that explains everything

  publish ──► branch ◄── channel ──► device
  • You publish an update group (a JS bundle + its assets) to a branch. Branches are server-side streams of updates; they need not match git branches.
  • A channel points at exactly one branch at a time. The channel a device reads is baked in at build time and cannot change without a new native build.
  • A device on channel X fetches the latest compatible update from whatever branch X currently points at — if its installed binary's runtime version matches the update's.

This indirection is the whole point: you ship a release candidate to a branch, vet it on a staging channel, then repoint production at that branch with one command — no rebuild. Rollback is the same move in reverse.

Two facts that prevent most mistakes:

  1. Channel ↔ branch is a pointer you move (channels update <id> --branch <name>), not a recompile. There is no channels point command.
  2. A published update only reaches a device whose installed build advertises a matching runtime version. Publish to a runtime no installed build matches → zero devices get it. Verify with better-update builds compatibility-matrix.

Setup (do this before anything else)

curl -fsSL https://raw.githubusercontent.com/aislopware/better-update/main/install.sh | sh
                                   # standalone binary; npm @better-update/cli is deprecated (frozen at 0.79)
                                   # Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/aislopware/better-update/main/install.ps1 | iex"
better-update login                # browser OAuth; --api-key for headless paste
better-update init                 # from the Expo project root: links app.json → a project

login writes ~/.better-update/auth.json (mode 0600). init reads app.json, finds/creates a project by expo.slug, and writes the project id into expo.extra.betterUpdate.projectId — every other command reads it from there. Default server is the one baked into the CLI build (its operator's instance); override with BETTER_UPDATE_URL / BETTER_UPDATE_WEB_URL or ~/.better-update/config.json. Auth can also come from BETTER_UPDATE_ROBOT (a robot account, for CI). Full detail: references/getting-started.md.

To know whether a project already uses better-update, look for a legacy @better-update/cli dependency in package.json (remove it and use the binary), expo.extra.betterUpdate.projectId in app.json, or a better-update manifest URL in expo.updates.url.

Command map

better-update
├── login / logout / whoami   Auth + identity (token at ~/.better-update/auth.json, mode 0600)
├── org                       list · switch — the session's active organization (all commands scope to it)
├── init / status / doctor    Link project · status · diagnostics
├── open / autocomplete       Open the dashboard · print a shell completion script
├── projects                  list · create · get · rename · archive · unarchive · delete
├── branches                  list · view · create · rename · delete
├── update                    publish · list · view · edit · promote · republish · rollback ·
│                             revert · rollout(set/complete/revert) · revert-rollout ·
│                             roll-back-to-embedded · embedded:upload · configure · insights · delete
├── channels                  list · view · create · update(repoint) · pause · resume · delete · insights · rollout
├── build [+ configure]       Build the app locally and (by default) upload the artifact
├── builds                    list · get · download · run · install-link · compatibility-matrix · upload · resign · delete
├── credentials               Signing vault + E2E encryption (identity/access/device/unlock/lock);
│                             account/env-vault subcommands (or web self-enroll + grant) for browser env editing;
│                             certificate/bundle-id/profile/capability list+enable (read-only ASC inventory, CI-safe)
├── env                       Project env vars: list/get/set/update/delete/history/rollback/import/export/pull/push/exec
├── environments              Org environment definitions: list/create/rename/delete
├── fingerprint               generate · compare (runtime-compatibility hashes)
├── analytics                 adoption · updates · downloads · channels · platforms
├── audit-logs                list (every mutation, with actor + timestamp)
├── apple                     login · logout · whoami · accounts (multi-account switch); builds · users (CI-safe); asc-key · sandbox (Apple ID login; `sandbox list` prefers an ASC key)
├── submit                    Submit a build to App Store Connect / Google Play
├── testflight                group · tester · review · build · feedback — full TestFlight beta lifecycle (CI-safe)
├── app-store                 version · submit/cancel/status/release/reject · rollout · review-detail · info · categories · age-rating · privacy · apps (list + create) · pricing · availability (show + set) · territories · config (pull/push) (CI-safe; apps create needs Apple ID login)
├── reviews                   list · reply — App Store customer reviews (CI-safe)
├── metadata                  media (list/sync) · screenshots (upload/clear) · previews (upload) — store media (CI-safe)
├── app-review                list · view · rejections · reply — Apple App Review / Resolution Center (Apple ID login, NOT CI-safe)
├── devices                   Register Apple device UDIDs for ad-hoc/development provisioning
└── webhooks                  update.published / build.completed subscriptions

Core workflows (the 90% cases)

Ship a JS/asset update — you do NOT run expo export first; publish does it for you:

better-update update publish --branch main --message "Fix login crash on iOS 17"

Stage it to a slice, then ramp (default-on safety net for risky changes):

better-update update publish --branch production --rollout-percentage 10 --message "Cache migration"
better-update update rollout set <updateId> 50
better-update update rollout complete <updateId>     # → 100%
better-update update rollout revert <updateId>       # → 0%, stops the spread

Cut a release candidate, vet, promote — no re-export, no second upload:

better-update update publish --branch staging --message "v1.4 candidate"
better-update update list --branch staging --limit 1          # grab its id
better-update update promote <updateId> --channel production   # or repoint the channel:
better-update channels update <prodChannelId> --branch staging

Roll back production now (devices fall back to the embedded bundle):

better-update update rollback --branch production --message "Revert e7f3 — login crash"

Build a new native binary (needed whenever native code / runtime version changes):

better-update build --platform ios --profile production
better-update builds compatibility-matrix     # confirm channels are covered before you publish OTA

Per-environment server-side env vars, injected into expo export at publish time:

better-update env set EXPO_PUBLIC_API_URL=https://api.example.com
better-update env set STRIPE_KEY=sk_live_xxx --visibility sensitive
better-update update publish --branch production --environment production

Submit a build to the stores (App Store Connect / Google Play), from the CLI:

better-update submit --platform ios --latest --what-to-test "Fixed the login crash and refreshed onboarding"
better-update build --platform android --auto-submit          # or build + submit in one step

Gotchas worth memorizing

  • No channels point. Repoint with channels update <id> --branch <name>.
  • Runtime version gates delivery. Match builds and updates; use fingerprint + builds compatibility-matrix to verify before publishing.
  • The channel is build-time. Set it in the build profile / --release-channel; it cannot be changed OTA. You move branches under channels, never recompile to change which update serves.
  • --commit-time for rollback must be canonical ISO 8601 with milliseconds and a trailing Z (2026-05-06T14:00:00.000Z). The on-device expo-updates client only parses YYYY-MM-DDTHH:mm:ss.SSSZ; numeric offsets / missing millis are rejected.
  • Env-var visibility is plaintext or sensitive — there is NO secret tier. Passing --visibility secret is rejected by the CLI. sensitive values are masked (******) on env get unless --include-sensitive, and readable in the console only by owners/admins; they are still returned by env export/env pull. Visibility gates who on the team can read — it does not harden a value against device extraction (anything in a JS bundle is extractable; use a backend).
  • env get <key> and env delete <key> both take the KEY name (not an ID). env delete with no --environment deletes the key across every environment.
  • env pull writes .env.local by default, not stdout — use --stdout to source into a shell (eval "$(better-update env pull --stdout)").
  • update rollout is per-update %; channels rollout is a branch-level traffic split. They compose — you can ramp a channel onto a new branch while updates inside it have their own %.
  • better-update DOES submit to stores from the CLI. better-update submit --platform ios|android uploads to App Store Connect (via Apple's Build Upload API when an ASC key is the upload auth — live progress bar — with xcrun altool as the app-specific-password path and automatic fallback) or Google Play; build --auto-submit chains build → submit. (It does not poll store review — only the upload/submission.)
  • --what-to-test has a length floor Apple won't document. submit rejects empty or >4000-byte text before upload, but Apple also rejects short strings ("too short" — e.g. Fix, and even Bug fixes in some reports) with no published minimum. Write a full sentence. If it trips after upload, fix it without re-uploading: testflight build whats-new --latest --whats-new "<longer text>".
  • submit is idempotent — just re-run it after a metadata failure. It checks App Store Connect for the IPA's build number before uploading (and Apple 409s the Build Upload API's reserve step for a duplicate — before any bytes upload); if the binary is already there it skips the upload and only re-applies the TestFlight config (so the "already been used" duplicate-build error can't strand you). When the upload succeeds but config fails, the submission is still recorded as metadata-incomplete (dashboard shows amber "Metadata pending"; a finished one reads a plain "Complete"); the re-run that completes config updates that same row.
  • App Store Connect operations run from the CLI, headless. testflight … (group / tester / review / build / feedback), app-store … (version / submit / cancel / status / release / reject / rollout / review-detail / info / categories / age-rating / privacy / apps / pricing / availability), apple builds/apple users, reviews …, metadata … (store media), and the credentials ASC inventory (certificate / bundle-id / profile / capability) all drive App Store Connect with a stored ASC API key — no browser, CI-safe. testflight group create is the fix for a submit ios that fails with TESTFLIGHT_GROUP_NOT_FOUND. apple builds compliance --no-uses-encryption clears a build stranded in MISSING_EXPORT_COMPLIANCE. app-store age-rating set / privacy set are authored from a JSON document (--from), not a flag matrix. metadata media sync declaratively pushes a screenshots/<locale>/<device>/*.png tree (with --dry-run / --prune). apple users needs an Admin-role key. See references/cli.md.
  • A few App Store Connect ops are cookie-only (Apple ID login + 2FA, NOT CI-safe). app-review … (Resolution Center: read App Review threads / rejection guideline codes / reply — text only), apple asc-key list + credentials revoke asc-key (the upstream ASC-key lifecycle), app-store apps create, credentials bundle-id create --app-clip, and apple sandbox create/delete (IAP testers) all hit Apple's Iris API, which a JWT key can't reach — they log in via apple login and fail with a clear error under --non-interactive / CI. (apple sandbox list is token-first: it prefers the public ASC API when an ASC key is configured via --asc-api-key-id or the submit profile, falling back to Apple ID login.) A rejected app-store submit is closed out with app-review list → app-review rejections --thread <id> → app-review reply.

Reference index — read the file that matches the task

The depth lives in references/. Pull the one you need; don't load them all.

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 aislopware/better-update/better-update

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

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

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229