frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

56% of PyPI malware runs at install, so I sandboxed pip with eBPF

12•otsmane_ahmed•1h ago
I've been analyzing the QUT-DV25 malware dataset (14k samples) and found that a majority of malicious packages constitute a "blind spot" in typical CI pipelines: they execute payloads immediately via setup.py or post-install scripts, before any static analysis or runtime monitoring kicks in.

I built KEIP as a PoC to experiment with "install-time enforcement". It uses BPF LSM hooks to monitor the pip process tree and strictly enforces a whitelist for connect() syscalls. Anything not destined for the package repo (PyPI) gets blocked.

It successfully stopped 100% of the active C2 exfiltration attempts in the dataset I tested.

Open source (GPL). The code is a bit rough but works on kernel 5.8+ with BTF. Repo: https://github.com/Otsmane-Ahmed/KEIP ,Write-up: https://medium.com/@rafik222dz/every-pip-install-you-run-is-a-bet-you-are-making-with-your-machine-9fce4526fc8e

Curious to hear thoughts on kernel-level enforcement vs user-space sandboxing for package managers.

Comments

jamiemallers•58m ago
Really interesting approach. The gap between "package installed" and "static analysis runs" is genuinely one of the most undermonitored windows in CI pipelines.

Curious about a few things:

1. How does this handle legitimate post-install network calls? Some packages do license checks or fetch pre-built binaries (e.g. node-gyp downloading prebuilds, or packages that pull ONNX models). A strict PyPI-only whitelist would break those. Do you have a mechanism for user-defined allowlists per package?

2. Have you looked at the performance overhead of the BPF LSM hooks on large dependency trees? Something like a fresh pip install of a data science stack (numpy, pandas, scipy, etc.) can spawn hundreds of subprocesses. Would be interesting to see benchmarks.

3. The kernel 5.8+ BTF requirement is going to be the main adoption barrier. Most CI runners (GitHub Actions, GitLab CI) run on relatively recent kernels, but corporate Jenkins boxes are often pinned to ancient RHEL kernels. Have you considered a fallback mode using seccomp-bpf for older kernels, even if less granular?

The connect() syscall whitelist is elegant because it catches the exfiltration without needing to understand the malware payload. You are basically saying "I do not care what the code does, I care what it talks to." That is the right abstraction for this problem.

Could Write­Process­Memory be made faster by avoiding the intermediate buffer?

https://devblogs.microsoft.com/oldnewthing/20260218-00/?p=112069
2•ibobev•2m ago•0 comments

Baseline Drift

https://press.asimov.com/articles/baseline-drift
1•mailyk•2m ago•0 comments

Unlock Unblocked Music YouTube: Easy Guide

https://unblocked-music-youtube.pages.dev/posts/unblocked-music-youtube/
1•leahgotmotion•2m ago•0 comments

Where will the amounts of water come from?

https://www.telegraphindia.com/india/india-bets-big-on-data-centres-in-ai-race-where-will-the-mas...
1•akbarnama•3m ago•0 comments

Show HN: Crit – Visual QA for iOS apps and AI coding agents

https://natethegreat.github.io/crit/
2•n8•3m ago•0 comments

Federating Databases with Data API Builder Chaining

https://devblogs.microsoft.com/azure-sql/data-api-builder-chaining/
1•ibobev•3m ago•0 comments

Show HN: How far can you push file conversion into the browser?

3•digitalofen•4m ago•0 comments

Open source protocol that improves AI code quality in any IDE

https://github.com/MiguelAxcar/ai-rpi-protocol
1•miguelaxcar•4m ago•1 comments

Epitome – Open-source shared memory layer for AI agents

https://epitome.fyi
1•joshgpurvis•4m ago•1 comments

XC-Basic Shoot 'Em Up: Programming the Pet Part 2

https://retrogamecoders.com/xc-basic-shoot-em-up/
1•ibobev•4m ago•0 comments

Show HN: Bravehuman – AI training for high-stakes conversations

https://www.bravehuman.app
1•innocent_bh•5m ago•1 comments

Fire calculator that takes Bitcoin holdings into account

https://calc.firebtc.io/
1•janandonly•6m ago•0 comments

Parents say teens are addicted to social media. Now, a jury will decide

https://www.washingtonpost.com/technology/2026/01/25/social-media-addiction-lawsuits/
1•1vuio0pswjnm7•7m ago•0 comments

Biota · a Personal Catalog of Life

https://hunterirving.com/biota
1•hunterirving•8m ago•1 comments

Show HN: Micasa – track your house from the terminal

https://micasa.dev
1•cpcloud•8m ago•0 comments

Powering the next generation of agents with Google Cloud databases

https://cloud.google.com/blog/products/databases/managed-mcp-servers-for-google-cloud-databases
1•gfortaine•9m ago•0 comments

Members-only Philly cop bar has been linked to two DUIs and a third crash

https://www.inquirer.com/news/philadelphia/philadelphia-police-7c-bar-overserving-car-crashes-202...
3•coloneltcb•9m ago•0 comments

A Practical Security Audit for Builders

https://www.eliranturgeman.com/2026/02/14/quick-security-audit/
1•devev•9m ago•0 comments

Show HN: Voice AI that answers your restaurant's phone and posts orders to POS.

https://pulseai.studio/
1•saidileepkumar•11m ago•2 comments

Ask HN: My post does not show up in /newest again

1•witnessme•12m ago•1 comments

Show HN:`npx continues` – resume same session Claude, Gemini, Codex when limited

https://github.com/yigitkonur/cli-continues
2•yigitkonur35•12m ago•2 comments

Why Not Objective-C

https://inessential.com/2026/02/18/why-not-objective-c.html
1•zdw•12m ago•0 comments

The End of Lazy SaaS: Same Game, Harder Rules

https://verissimo.substack.com/p/verissimo-monthly-february-2026
2•talhof8•14m ago•0 comments

Super stable laser on the moon could guide future lunar missions

https://phys.org/news/2026-02-super-stable-laser-moon-future.html
1•Brajeshwar•14m ago•0 comments

Markpub.at Markdown Lexicon

https://markpub.at/
1•coloneltcb•14m ago•0 comments

Problems in E-Commerce Ripe for SaaS Builders

https://usernebula.com/report/friction-february-2026
3•samberry•16m ago•0 comments

Freedom.gov: US State Department Plans VPN Portal for Europe

https://www.heise.de/en/news/Freedom-gov-US-State-Department-plans-VPN-portal-for-Europe-11182526...
3•layer8•16m ago•0 comments

Amid Epstein fallout, Bill Gates becomes point of controversy at India AI summit

https://www.cnbc.com/2026/02/19/amid-epstein-fallout-bill-gates-becomes-point-of-controversy-at-i...
1•1vuio0pswjnm7•16m ago•0 comments

High-Energy Detonation Based Lunar Regolith Simulation for Resource Utilization

https://www.mdpi.com/2226-4310/13/1/106
1•PaulHoule•16m ago•0 comments

Don't Trust Packet Captures on Firewalls

https://weberblog.net/dont-trust-packet-captures-on-firewalls/
1•todsacerdoti•18m ago•0 comments