Better HN
topnewbestaskshowjobs
Log inSign up

mufeedvh

152 karma · joined Mar 25, 2020 (6y ago) · 32 submissions

[ my public key: https://keybase.io/mufeedvh; my proof: https://keybase.io/mufeedvh/sigs/oOpHmsSSADHzToBO1-I_oUkmnVMSZlsl7reF89gRYkI ]
Submissions

1.

Cyber guardrails tax the defender, not the attacker(winfunc.com ↗)

3 points · by mufeedvh · 1mo ago · discuss

2.

Finding six Nginx vulnerabilities with open models(winfunc.com ↗)

2 points · by mufeedvh · 4mo ago · discuss

3.

The React2Shell Story(lachlan.nz ↗)

225 points · by mufeedvh · 6mo ago · 47 comments

4.

Hacking the old HackerNews codebase(winfunc.com ↗)

2 points · by mufeedvh · 7mo ago · discuss

comment 7mo ago · link · parent

This is a good idea.

Will incorporate false-positive rates into the rubric from the next run onwards.

At winfunc, we spent a lot of research time taming these models to eradicate false-positive rates (it's high!) so this does feel important enough to be documented. Thanks!

6.

N-Day-Bench – Can LLMs find real vulnerabilities in real codebases?(ndaybench.winfunc.com ↗)

91 points · by mufeedvh · 7mo ago · 29 comments

comment 8mo ago · link · parent

thank you! :)

comment 8mo ago · link · parent

Funny you mention that, because yes, a combinator-style encoding is probably a cleaner fit for the “only six colors constraint than my stack machine. I hacked together a tiny SKI-flavored M&M reducer as a proof of concept: B=S, G=K, R=I, Y=(, O=), and N... is a free atom, so `B G G NNN` reduces to `a2`.

Gist: https://gist.github.com/mufeedvh/db930a423fdce8c1d8e495c7a3f...

comment 8mo ago · link · parent

Yes, for messy real-world photos a lightweight CNN would probably outperform the deterministic decoder, but I’d still use it in a hybrid pipeline with classic CV for blob detection and deterministic logic for reconstructing the actual program.

comment 8mo ago · link · parent

Yes! Just make sure to take a photo on a plain white surface is all.

With:

  uv run mnm decompile path/to/photo.png --mode photo

comment 8mo ago · link · parent

Author of this silly project here!

Sharing a bit of backstory on why I decided to work on this; Firstly, “for fun” but primarily because I felt like I started losing the childlike wonder/whimsy I once had with programming.

So I started this new hobby where I ask myself “can I hack on this?” upon getting/seeing something.

For instance, I got this new Aula F75 keyboard (really good keyboard for the price btw, it sounds good too!) and it only has dedicated control software for Windows. So I downloaded the driver files, software executable, and manual sheet and reverse engineered the full protocol/packets and rebuilt it for my Mac. Then played snake with the backlights. Fun.

Anywho, happy to see my blog on the front page. Would love to hear if anyones going through something similar or working on silly little projects! :)

12.

I made a programming language with M&Ms(mufeedvh.com ↗)

5 points · by mufeedvh · 8mo ago · discuss

13.

How a single typo led to RCE in Firefox(kqx.io ↗)

3 points · by mufeedvh · 9mo ago · discuss

14.

The Recent 0-Days in Node.js and React Were Found by an AI(winfunc.com ↗)

2 points · by mufeedvh · 9mo ago · discuss

15.

New Vulnerability in React Server Components – CVE-2026-23864(vercel.com ↗)

3 points · by mufeedvh · 10mo ago · discuss

comment 2y ago · link · parent

Yes, this just depends on the model you're using. Small-medium size codebases would fit inside Claude's 200K context window and Gemini 1.5 has a 1M context window which would essentially fit 99% of codebases.

For reference:

- The Flask web framework for Python: 131880 tokens

- The Spring Framework for Java: 11070559 tokens

comment 2y ago · link · parent

Merged, thank you! :)

comment 2y ago · link · parent

For small codebases, you can run this tool on the entire directory and it would generate a well-formatted Markdown prompt detailing the source tree structure, and all the code. You can then upload this document to either GPT or Claude models with higher context windows and ask it to:

- Rewrite the code to another language.

- Find bugs/security vulnerabilities.

- Document the code.

- Implement new features.

You can customize the prompt template to achieve any of the desired use cases. It essentially traverses a codebase and creates a prompt with all source files combined. In short, it automates copy-pasting multiple source files into your prompt and formatting them along with letting you know how many tokens your code consumes.

19.

Show HN: Code2prompt – Generate LLM prompts from your codebase(github.com ↗)

4 points · by mufeedvh · 2y ago · 7 comments

comment 3y ago · link · parent

I have made a simple CLI utility[0] with this purpose in mind. It scans your entire filesystem for README.md and FUNDING.yml files for a set of donation/sponsor links and tag it with the associated repo (No HTTP calls, just the assumption that most repos link their support URL in either of these files). The output is a CSV sheet containing the open-source dependencies/libraries you use in your system that accepts donations.

I have plans to expand/plug this into a donation aggregator platform like you mentioned if time permits. But if there is an existing effort for the same, I am happy to contribute. :)

[0] - https://github.com/mufeedvh/paydept

21.

Nobody’s on the Ball on AGI Alignment(forourposterity.com ↗)

3 points · by mufeedvh · 3y ago · 2 comments

22.

Security in the age of LLMs(mufeedvh.com ↗)

42 points · by mufeedvh · 3y ago · 6 comments

comment 4y ago · link · parent

Thanks! :)

It currently does gzip compression by default. Compression modes for specific files sounds interesting, I will definitely get around to implementing that.

comment 4y ago · link · parent

Backstory: What started as a personal project to quickly host some web pages turned into a rabbit hole of yak shaving and that is how I ended up making Binserve. I automated the steps I usually take to host static pages into this project which is tweakable via the configuration file. And its also pretty fast.

Let me know your feedback/suggestions!

25.

Show HN: Binserve – Fast single-binary static web server(github.com ↗)

2 points · by mufeedvh · 4y ago · 3 comments

comment 4y ago · link · parent

Hello HN,

I made a small CLI utility that walks your filesystem to find dependencies you use that are seeking donations.

It does so by parsing FUNDING.yml and README files which almost every project embed their support links.

It can export the list to a CSV file as well.

GitHub - https://github.com/mufeedvh/paydept

Please let me know what you think! :)

27.

Show HN: Paydept – Shows every dependency you use that are seeking donations(github.com ↗)

1 points · by mufeedvh · 4y ago · 1 comment

comment 5y ago · link · parent

TLDR; Just a fun little project of mine that born out of an idea to utilize Gist as a blogging platform, I hope you find it useful.

All I wanted to do was write a blog but got completely distracted on choosing a static site generator or a blogging solution. I have tried some static site generators but I personally find entering the metadata section (frontmatter) for each markdown file repetitious. I have used blogspot and wordpress a lot so I am used/into writing blog into a web page (rather than a text editor) and just publishing it without thinking about files or metadata.

So I thought it would be useful to utilize Gist as it comes with a good Markdown editor, an integrated comment section, starring (bookmarking), and revisions (commits) for metadata. I didn't complete the blog but for those who actually want to write one, try out writing them via Gist.

NOTE: I hope someone who's good at CSS will contribute a better starter theme, I would really appreciate it.

12