-
Notifications
You must be signed in to change notification settings - Fork 0
updates #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updates #59
Changes from all commits
d12bcb1
bfcd44f
b383eb3
db7983b
0089227
cffebdd
99c6462
eee093b
a0153c7
abdd07d
c35c331
4f0569a
5d2270d
ecfb4b5
ec82a92
d1f4d69
bb7456d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,3 +12,6 @@ | |
|
|
||
| # Python virtual environment | ||
| venv | ||
|
|
||
| # OMO | ||
| .omo | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,13 +28,13 @@ USER="pixincreate" # GitHub username | |
| # Application version variables | ||
| VERSION[AFSR]="${VERSION[AFSR]:-1.0.4}" | ||
| VERSION[ALTERINSTALLER]="${VERSION[ALTERINSTALLER]:-2.4}" | ||
| VERSION[AVBROOT]="${VERSION[AVBROOT]:-3.31.0}" | ||
| VERSION[AVBROOT_SETUP]="e4f80bb54aa5ae8de6109edd7d0873d5b4966748" # Commit hash | ||
| VERSION[BCR]="${VERSION[BCR]:-3.4}" | ||
| VERSION[CUSTOTA]="${VERSION[CUSTOTA]:-6.2}" | ||
| VERSION[AVBROOT]="${VERSION[AVBROOT]:-3.33.0}" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== declarations.sh relevant lines =="
sed -n '1,80p' src/declarations.sh 2>/dev/null || true
echo "== util_functions.sh AVBROOT/url references =="
rg -n "AVBROOT|avbroot|VERSION\[" src/util_functions.sh src/declarations.sh 2>/dev/null || true
echo "== local git diff summary =="
git diff --stat 2>/dev/null || true
echo "== upstream AVBRoot release metadata =="
python3 - <<'PY'
import json, urllib.request
url = "https://api.github.com/repos/chenxiaolong/avbroot/releases/latest"
try:
with urllib.request.urlopen(url, timeout=20) as r:
data = json.load(r)
print("latest_release_tag:", data.get("tag_name"))
print("latest_release_name:", data.get("name"))
print("published_at:", data.get("published_at"))
except Exception as e:
print("ERROR:", type(e).__name__, str(e))
for i in range(1, 6):
url = f"https://api.github.com/repos/chenxiaolong/avbroot/releases?per_page=20&page={i}"
print(f"\npage {i} releases:")
try:
with urllib.request.urlopen(url, timeout=20) as r:
for item in json.load(r)[:5]:
print("-", item.get("tag_name") or "<nil>", item.get("published_at"))
except Exception as e:
print("ERROR:", type(e).__name__, str(e))
PYRepository: 0cwa/PixeneOS Length of output: 9633 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== util_functions.sh download function around AVBRoot release URLs =="
sed -n '335,380p' src/util_functions.sh 2>/dev/null || true
echo "== fetch all known AVBRoot releases containing v3.33.0 or v3.32.2 =="
python3 - <<'PY'
import urllib.request, json, ssl
ctx = ssl.create_default_context()
ctx.check_hostname=False
ctx.verify_mode=ssl.CERT_NONE
releases=[]
for page in range(1,10):
url = f"https://api.github.com/repos/chenxiaolong/avbroot/releases?per_page=100&page={page}"
try:
with urllib.request.urlopen(url, timeout=20, context=ctx) as r:
data = json.load(r)
except Exception as e:
print(f"page {page} error:", repr(e))
break
if not data:
break
releases.extend(data)
for tag in ["v3.33.0", "v3.32.2"]:
hits = [r for r in releases if r.get("tag_name") == tag]
print("tag:", tag, "count", len(hits))
if hits:
print(hits[0].get("published_at"), hits[0].get("assets", [])[:3])
latest = None
for r in releases:
if not latest or r.get("published_at", "") > latest.get("published_at",""):
latest=r
print("latest:", latest.get("tag_name"), "published", latest.get("published_at"))
PYRepository: 0cwa/PixeneOS Length of output: 2627 🌐 Web query:
💡 Result: As of August 6, 2026, there are no official releases for avbroot versions v3.33.0 or v3.32.2 [1][2]. The latest available version of avbroot is v3.32.0, which was published on July 18, 2026 [2]. Citations: Use a published AVBRoot release.
🤖 Prompt for AI Agents |
||
| VERSION[AVBROOT_SETUP]="848deb1311a72fcb9b582cef79e0be558ae64db8" # Commit hash | ||
| VERSION[BCR]="${VERSION[BCR]:-3.5}" | ||
| VERSION[CUSTOTA]="${VERSION[CUSTOTA]:-6.4}" | ||
| VERSION[GRAPHENEOS]="${VERSION[GRAPHENEOS]:-}" | ||
| VERSION[MAGISK]="${VERSION[MAGISK]:-}" | ||
| VERSION[MSD]="${VERSION[MSD]:-2.3}" | ||
| VERSION[MSD]="${VERSION[MSD]:-2.4}" | ||
| VERSION[OEMUNLOCKONBOOT]="${VERSION[OEMUNLOCKONBOOT]:-1.4}" | ||
|
|
||
| # Magisk | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Pin all changed workflow actions to immutable commit SHAs.
Both updated references use mutable tags, violating the repository’s blanket action-pinning policy:
.github/workflows/release.yml#L172-L172: pinactions/setup-pythonto the verified full SHA for v7..github/workflows/renovate.yml#L28-L28: pinrenovatebot/github-actionto the verified full SHA for v46.1.20.🧰 Tools
🪛 zizmor (1.26.1)
[error] 172-172: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
📍 Affects 2 files
.github/workflows/release.yml#L172-L172(this comment).github/workflows/renovate.yml#L28-L28🤖 Prompt for AI Agents
Source: Linters/SAST tools