He

Hexora – static analysis tool for malicious Python scripts

Hacker News

Hexora – static analysis tool for malicious Python scripts

I made a new library to detect malicious and harmful behaviour in Python scripts. There are alternative libraries, but they usually rely on regexes, which can be fragile and tricked. My library uses AST and tracks some of the obfuscation techniques, such as import/call reassignment. Currently, I'm testing it on public files where some of them implement malicious behavior, as well as past malicious packages on PyPI. You can see some of the detection examples here: https://github.com/rushter/hexora/blob/main/docs/examples.md I'd love to hear your feedback and ideas on how to improve this and identify missing rules.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
56%56% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
49%49% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: new · Missing: mac, agents, macos
39%39% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
36%36% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

St
Static Analysis Tool for Dockerfiles in Haskell72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Static Analysis Tool for Dockerfiles in Haskell

Hacker News63
A
A .nes rom analysis tool in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A .nes rom analysis tool in Python

Hacker News3
St
Static Dependency Analysis Tool for Go Files46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Static Dependency Analysis Tool for Go Files

Hacker News3
Wo
World's first static code analysis tool for Go60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

World's first static code analysis tool for Go

Hacker News1
A
A Python simple task multiplier analysis tool (e.g. loadtesting)56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python simple task multiplier analysis tool (e.g. loadtesting)

Hacker News1
SS
SSL/TLS handshake analysis tool49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SSL/TLS handshake analysis tool

Hacker News3
Ol
Ollert, a Trello Analysis Tool56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ollert, a Trello Analysis Tool

Hacker News10
Sentimentors
Sentimentors46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sentimental Analysis tool

Indie Hackers2communication
Vibration Meter - Tremor Meter
Vibration Meter - Tremor Meter57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vibration measurement and analysis tool.

Indie Hackerscommitment-full-time
Be
Betsy – The incy-wincy Python static dependencies crawler69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Betsy – The incy-wincy Python static dependencies crawler

Hacker News1