Hai-Sheng Li

31 papers Journal 28Unranked 3
YearRankTypeTitle / Venue / Authors
2026 J jnl
Pattern Recognit. Lett.
Hai-Sheng Li, Haizhen Liu, Shuxiang Song, Cong Hu
2024 J jnl
IEEE Trans. Artif. Intell.
Hai-Sheng Li, Jing-Yin Chen, Haiying Xia
2023 J jnl
ACM Trans. Quantum Comput.
Hai-Sheng Li, Jinhui Quan, Shuxiang Song, Yuxing Wei, Li Qing
2022 J jnl
Quantum Inf. Process.
Mengting Wang, Hai-Sheng Li
2022 J jnl
Multim. Tools Appl.
Haiying Xia, Lingyu Wu, Yang Lan, Hai-Sheng Li, Shuxiang Song
2022 J jnl
IEEE Trans. Cybern.
Hai-Sheng Li, Ping Fan, Huiling Peng, Shuxiang Song, Gui-Lu Long
2022 J jnl
Signal Image Video Process.
Haiying Xia, Yang Lan, Shuxiang Song, Hai-Sheng Li
2021 J jnl
Knowl. Based Syst.
Haiying Xia, Yang Lan, Shuxiang Song, Hai-Sheng Li
2021 J jnl
Quantum Inf. Process.
Ping Fan, Mengjuan Hou, Aihan Yin, Hai-Sheng Li
2020 J jnl
Quantum Inf. Process.
Hai-Sheng Li, Ping Fan, Haiying Xia, Ri-Gui Zhou
2020 J jnl
IET Image Process.
Haiying Xia, Fuyu Zhu, Hai-Sheng Li, Shuxiang Song, Xiangwei Mou
2020 J jnl
IEEE Access
Yang Lan, Haiying Xia, Hai-Sheng Li, Shuxiang Song, Lingyu Wu
2020 J jnl
Quantum Inf. Process.
Haiying Xia, YuFang Xiao, Shuxiang Song, Hai-Sheng Li
2020 J jnl
Multim. Tools Appl.
Hai-Sheng Li, Fan Xue, Haiying Xia
2019 J jnl
IEEE Access
Hai-Sheng Li, Xiao Chen, Shuxiang Song, Zhixian Liao, Jianying Fang
2019 J jnl
Multim. Tools Appl.
Haiying Xia, Wenxian Zhao, Frank Jiang, Hai-Sheng Li, Jing Xin, Zheng Zhou
2019 J jnl
Quantum Inf. Process.
Haiying Xia, Hai-Sheng Li, Han Zhang, Yan Liang, Jing Xin
2019 J jnl
IEEE Trans. Circuits Syst. I Regul. Pap.
Hai-Sheng Li, Ping Fan, Haiying Xia, Huiling Peng, Shuxiang Song
2019 J jnl
Inf. Sci.
Hai-Sheng Li, Ping Fan, Haiying Xia, Shuxiang Song
2019 J jnl
Inf. Sci.
Hai-Sheng Li, Shuxiang Song, Ping Fan, Huiling Peng, Haiying Xia, Yan Liang
2018 J jnl
IEEE Access
Hai-Sheng Li, Xiao Chen, Haiying Xia, Yan Liang, Zuoshan Zhou
2018 conf
ICONIP (6)
Ruibin Zhuge, Haiying Xia, Hai-Sheng Li, Shuxiang Song
2018 conf
BIBM
Haiying Xia, Ruibin Zhuge, Hai-Sheng Li
2018 J jnl
IEEE Access
Haiying Xia, Ruibin Zhuge, Hai-Sheng Li, Shuxiang Song, Frank Jiang, Min Xu
2018 J jnl
Quantum Inf. Process.
Hai-Sheng Li, Ping Fan, Haiying Xia, Shuxiang Song, Xiangjian He
2017 conf
TrustCom/BigDataSE/ICESS
Haiying Xia, Wenxian Zhao, Zheng Zhou, Frank Jiang, Hai-Sheng Li, Xiangjian He
2016 J jnl
CoRR
Ping Fan, Ri-Gui Zhou, Naihuan Jing, Hai-Sheng Li
2016 J jnl
Inf. Sci.
Ping Fan, Ri-Gui Zhou, Naihuan Jing, Hai-Sheng Li
2014 J jnl
Quantum Inf. Process.
Hai-Sheng Li, Qingxin Zhu, Ri-Gui Zhou, Lan Song, Xing-jiang Yang
2014 J jnl
Inf. Sci.
Hai-Sheng Li, Qingxin Zhu, Ri-Gui Zhou, Ming-Cui Li, Lan Song, Hou Ian
2013 J jnl
Quantum Inf. Process.
Hai-Sheng Li, Qingxin Zhu, Lan Song, Chen-Yi Shen, Ri-Gui Zhou, Jia Mo
Dockerfile
← Index Dockerfile dockerfile
FROM python:3.12-slim

# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies (build tools will be removed after pip install).
# curl + ca-certificates + gnupg are needed to add the NodeSource repository
# for the JS analysis toolchain (webcrack + @nodesecure/js-x-ray).
RUN apt-get update && apt-get install -y \
    git \
    gcc \
    g++ \
    build-essential \
    libmagic1 \
    file \
    libqt5core5a \
    libqt5gui5 \
    libqt5widgets5 \
    default-jre-headless \
    curl \
    ca-certificates \
    gnupg \
    && rm -rf /var/lib/apt/lists/*

# Install Node.js 22 LTS (needed by webcrack and @nodesecure/js-x-ray). Pinning
# to 22.x because that's the active LTS — bumping to a future major is a
# deliberate Dockerfile change, not a silent upgrade on rebuild.
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
    apt-get install -y nodejs && \
    rm -rf /var/lib/apt/lists/*

# webcrack is the deobfuscator (CLI on PATH). Pinned to 2.16.0 — released
# 2026-04-25, last verified working with our subprocess invocation. Bumping
# this is a deliberate change so a future regression in webcrack does not
# show up as a silent JSDeobfuscation behaviour shift on image rebuild.
RUN npm install -g webcrack@2.16.0

# Create application directory
WORKDIR /app

# Copy requirements and install Python dependencies
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt

# Remove build dependencies to reduce image size. curl + gnupg are kept —
# curl is widely useful and gnupg is small. Node.js stays.
RUN apt-get remove -y gcc g++ build-essential git && \
    apt-get autoremove -y && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Copy application code (explicit files to help debug .dockerignore issues)
COPY redb/ ./redb/
COPY start.py .
COPY scripts/ ./scripts/

# Install @nodesecure/js-x-ray locally next to its bundled Node bridge so the
# Python wrapper's `node_modules/@nodesecure/js-x-ray` existence check passes
# without any runtime configuration. Version is pinned in the package.json.
# The npm install also triggers the `postinstall: patch-package` hook which
# re-applies the local patch in scripts/patches/ — currently a one-line fix
# for a `from "repl"` → `from "module"` import in [email protected] that breaks
# on Node 22 patches above ~22.10. Drop the patch when js-x-ray ships a fix.
RUN cd /app/redb/extractors/js_extractors/scripts && npm install --omit=dev

# Set up logging path and create logs directory
ENV LOG_FILE_PATH="/app/logs/"
RUN mkdir -p /app/logs

# Environment variables for tools (snapshot-style paths)
ENV CAPA_PATH="/usr/bin/capa"
ENV DIE_PATH="/usr/bin/nfdc"
ENV GORESYM_PATH="/usr/bin/GoReSym"
ENV JADX_PATH="/opt/deploy/jadx/bin/jadx"
ENV APKTOOL_PATH="/usr/local/bin/apktool"
ENV MALCONTENT_PATH="/usr/local/bin/mal"
ENV PATH="/usr/bin:/opt/binaryninja:${PATH}"
ENV PYTHONPATH="/opt/binaryninja/python"

# Tool timeouts
ENV CAPA_TIMEOUT="300"
ENV DIE_TIMEOUT="180"
ENV MALCONTENT_TIMEOUT="300"
ENV JADX_TIMEOUT="600"
ENV BINJA_TIMEOUT="1200"
ENV DECOMPILE_EXTRACTOR_TIMEOUT="2580"

ENV MALCONTENT_FORMATS=pebin,elf,macho,apk,javascript

# JS analysis toolchain. webcrack is on PATH from the global npm install;
# js-x-ray's Python wrapper finds the bundled Node bridge at the default
# location (no env needed). Override these in .env / Nomad if you swap tools.
ENV JS_DEOBFUSCATOR_PATH="webcrack"
ENV JS_DEOBFUSCATE_TIMEOUT="60"
ENV JS_XRAY_TIMEOUT="60"

# Copy the Binary Ninja setup script
COPY scripts/setup-and-run.sh /usr/local/bin/setup-and-run.sh
RUN chmod +x /usr/local/bin/setup-and-run.sh

# Create non-root user for security
RUN useradd -m -u 1000 analyzer
RUN chown -R analyzer:analyzer /app /app/logs
USER analyzer

# Set entrypoint to setup script for Binary Ninja installation (runtime)
ENTRYPOINT ["/usr/local/bin/setup-and-run.sh"]

# Set working directory
WORKDIR /app

# Default command - supports both feature extraction and decompilation
CMD ["python3", "start.py", "--nomad-job"]