Skip to content

Conversation

@ivanovanton
Copy link
Contributor

upx dependency, which is used for processing ELFs, is currently missing from the Docker container:

~ % docker run --rm -it --entrypoint bash ghcr.io/onekey-sec/unblob:latest
unblob@24788f601886:/data/output$ upx
bash: upx: command not found

Attempt to process test file:

unblob % docker run \
  --rm \
  --pull always \
  -v $(pwd)/io:/data/output \
  -v $(pwd):/data/input \
ghcr.io/onekey-sec/unblob:latest /data/input/tests/integration/executable/elf/elf64/__input__/hello.upx
latest: Pulling from onekey-sec/unblob
Digest: sha256:2f9d2412f029f5bbf68e5940d3f31230bdf92b725db5b3c969dda9ddd83ced14
Status: Image is up to date for ghcr.io/onekey-sec/unblob:latest

╭────────────────────────────── unblob (25.5.26) ──────────────────────────────╮
│ Output path: None                                                            │
│ Extracted files: 1                                                           │
│ Extracted directories: 0                                                     │
│ Extracted links: 0                                                           │
│ Extraction directory size: 5.68 KB                                           │
╰────────────────────────────────── Summary ───────────────────────────────────╯
       Chunks distribution
┏━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┓
┃ Chunk type ┃  Size   ┃  Ratio  ┃
┡━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━┩
│ ELF64      │ 5.68 KB │ 100.00% │
│ UNKNOWN    │ 0.00 B  │  0.00%  │
└────────────┴─────────┴─────────┘
Chunk identification ratio: 100.00%
                  Encountered errors
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Severity       ┃ Name                              ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Severity.ERROR │ ExtractorDependencyNotFoundReport │
└────────────────┴───────────────────────────────────┘

CI tests are passing successfully only because upx is pre-installed in the ubuntu:latest image provided by GitHub.

@qkaiser qkaiser added bug Something isn't working format:executable labels Nov 21, 2025
@qkaiser qkaiser self-requested a review November 21, 2025 07:43
@qkaiser qkaiser self-assigned this Nov 21, 2025
CI tests were passing successfully only because upx is pre-installed in
the ubuntu:latest image provided by GitHub.
@qkaiser qkaiser force-pushed the bugfix/add-upx-dependency branch from db98003 to b16d70e Compare November 21, 2025 07:55
@qkaiser qkaiser enabled auto-merge November 21, 2025 07:55
@qkaiser
Copy link
Contributor

qkaiser commented Nov 21, 2025

@ivanovanton thanks !

@qkaiser qkaiser added this pull request to the merge queue Nov 21, 2025
Merged via the queue into onekey-sec:main with commit 9d29da7 Nov 21, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working format:executable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants