← All projects
Project record1 mention
Originally shared on Hacker News

hexora

hexora is a library that detects malicious Python code using static analysis combined with machine learning. It deobfuscates Python code so obfuscated samples can be analyzed instead of merely flagged as potentially harmful, and unlike LLM-based approaches it is not susceptible to prompt injection. A recently added ML model filters out false positives, and in the past month it found and flagged more than 40 malicious Python packages.

Last shared
01 / The problem

What it addresses

LLM-based approaches to detecting malicious code are susceptible to prompt injection and only see obfuscated code as 'potentially harmful' without decoding it, while malicious Python packages go undetected.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. hexora

    hexora is a library that detects malicious Python code using static analysis combined with machine learning. It deobfuscates Python code so obfuscated samples can be analyzed instead of merely flagged as potentially harmful, and unlike LLM-based approaches it is not susceptible to prompt injection. A recently added ML model filters out false positives, and in the past month it found and flagged more than 40 malicious Python packages.

    Problem: LLM-based approaches to detecting malicious code are susceptible to prompt injection and only see obfuscated code as 'potentially harmful' without decoding it, while malicious Python packages go undetected.

    Posted by @f311a · Original source ↗

    Source text · @f311a · · Source ↗

    I'm working on hexora, a library that detects malicious Python code using static analysis and machine learning.