frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Enhanced YARA to detect threats in JavaScript using context and content

https://github.com/rishi-sekantsec/sekant-intercept-js
1•iamrik9•1h ago
I started working on this project last year and open-sourced it this year.

It’s a library to scan byte payloads within JS using YARA-syntax rules, enabling YARA malware detection rules to run anywhere that JS runs (e.g. browsers, email clients, Office add-ons etc). However, it goes beyond core YARA by adding runtime context signals to the rule evaluation, so users can write detections like “encrypted PDF being downloaded from an unfamiliar website” or “executable downloaded from service-worker enabled site”. It started for security applications, but can also be applied to DLP and compliance.

I come from the EDR and web security world, so I take inspiration from gaps that I find there. In this case, I wanted to improve threat detection in payloads downloaded via the browser.

File scanners sit outside the browser and rely on OS notifications to trigger a scan when a file is downloaded. The file scanner knows it came from Chrome but doesn’t know the website, referral chain or user interaction preceding the download. This context information could be useful in identifying 0-day threats where signatures are not yet available. I started exploring if it were possible to embed an inline scanner within the browser to use flexible rules and block downloads before they materialized on disk. I did not want to invent a new rule language, so I picked YARA as it is well-established and open-source. I first coded the YARA engine in vanilla JS, including modules, so it could be run in any JS runtime. I thought of cross-compiling to WASM but stuck with vanilla JS because I wanted to add runtime-specific customizations, which were easier to do in vanilla JS. Once the YARA engine was ready, I added an extra metadata object that could be passed and used in the rule syntax. This was done using the custom module route, to maintain compatibility with YARA. This became Intercept.js.

The open-source repo includes a lot more information about the implementation, videos, some coding examples and a hosted instance on Cloudflare Workers to try out

It would be great to find collaborators interested in refining the project. I am presenting this at BlackHat Arsenal and DEFCON Demo Labs, so I’m happy to meet folks there to dive into more technical details.

Thanks!

Enrolling in the Third-Party App Store on Play Program

https://support.google.com/googleplay/android-developer/answer/17118006?hl=en
1•HelloUsername•57s ago•0 comments

Wicked Features

https://www.seangoedecke.com/wicked-features/
1•andai•1m ago•0 comments

Supertasks: Doing Infinitely Many Things–Lectures on Infinity (Lecture 2)

https://www.youtube.com/watch?v=h02divcjYcc
1•FillMaths•1m ago•0 comments

The Language of Thought Is Not Natural Language

https://www.biorxiv.org/content/10.1101/2025.07.26.666979v3
2•Anon84•2m ago•0 comments

A Guide to Agile for English Speakers

https://lewiscampbell.tech/blog/260713.html
1•LAC-Tech•6m ago•0 comments

Show HN: My triathlon coach (not a human) now texts me on iMessage

https://www.athletedata.health
2•daniel_s•8m ago•0 comments

Free Gantt Chart Maker

https://ganttchartmaker.app/
1•fotispetrou•9m ago•0 comments

Ente – Opening Our Books

https://ente.com/open/
1•Sherex•10m ago•0 comments

Show HN: Skillful, stop maintaining the same AI workflow in five places

https://skillful.md/
1•mastermindzh•11m ago•0 comments

Deleting Systems You Don't Understand

https://idiallo.com/blog/deleting-systems-you-dont-understand
1•blenderob•16m ago•0 comments

AI Knows What You Did Online. Now Your Employer Does, Too

https://www.wsj.com/lifestyle/careers/ai-knows-what-you-did-online-now-your-employer-does-too-497...
3•cebert•23m ago•1 comments

Show HN: A tool that generates nice photos for guys who dislike posing for pics

https://vibeflirting.com/
1•rjyoungling•25m ago•2 comments

I built a Rust log analyzer that explains security threats in plain English

https://github.com/Senaraufi/Security-Log-Analyser
1•cybrAy•25m ago•0 comments

New Species of Monkey Discovered in the Congo

https://e360.yale.edu/digest/colobus-congoensis-discovery
2•YaleE360•26m ago•0 comments

Show HN: uplpgsql – PL/pgSQL compiled to native code

https://github.com/nextgres/uplpgsql
1•jonahharris•28m ago•0 comments

You Have Mail

https://jhx7.de/blog/you-have-mail/
1•jruohonen•29m ago•0 comments

Would a Stanford Taurus Actually Work?

https://old.reddit.com/r/theydidthemath/comments/1uxlwgd/request_would_this_actually_work_and_if_...
1•olalonde•30m ago•0 comments

Sega raises the price of a game to 25¢ (1969)

https://archive.org/details/cashbox30unse_47
1•noduerme•31m ago•1 comments

Ask HN: Are there any startups looking for a developer on contract base?

1•need_a_work23•33m ago•0 comments

OTPme Testers Wanted

3•otpme•33m ago•0 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
2•pilililo2•33m ago•0 comments

Measuring Data Center Growth

https://pulse.internetsociety.org/en/blog/2026/07/measuring-data-center-growth/
1•jruohonen•34m ago•0 comments

Linus Torvalds on LLM usage in kernel development

https://lore.kernel.org/linux-media/CAHk-=wi4zC+Ze8e+p3tMv8TtG_80KzsZ1syL9anBtmEh5Z40vg@mail.gmai...
12•asciimoo•36m ago•2 comments

Viaduct – Convert Chrome extensions to Safari (open-source CLI)

https://github.com/magicelk235/Viaduct-CLI
1•Magicelk235•36m ago•0 comments

Chopped: Amputated Fingertips Sometimes Grow Back (2013)

https://www.npr.org/sections/health-shots/2013/06/10/190385484/chopped-how-amputated-fingertips-s...
1•downbad_•37m ago•0 comments

Keynote: Benchmarking – It's About Time – Matt Godbolt – C++Now 2026 [video]

https://www.youtube.com/watch?v=EU_nQh8wg5A
1•SleepyMyroslav•38m ago•0 comments

Moroccan intelligence insider reveals widespread use of Pegasus hacking software

https://www.theguardian.com/news/2026/jul/16/morocco-intelligence-insider-reveals-widespread-use-...
3•n1b0m•38m ago•0 comments

Show HN: Astrobservatories – A map of observatories around the world

https://astrobservatories.com/
1•vmeklis•40m ago•0 comments

AWS CloudFront Is Degraded

https://health.console.aws.amazon.com/health/home#/account/dashboard/open-issues?eventID=arn:aws:...
2•jjar•42m ago•0 comments

Show HN: Overlay for Blender Render Progress, ETA, and Stalls (Windows Version)

https://github.com/sofumel/blenderpulse
1•sofumel•43m ago•0 comments