News for hackers. Stuff that matters.

ailef

Re:Suspected sabotage causes major Netherlands rail disruption on Tuesday September 15, 2026 @08:35AM (#49711585)
Just like North Stream 2? /s
> I wonder if it's a bug/issue with specific browsers.

Seems like it. It loaded near instantly as well from my Android smartphone using Firefox.

Hi HN!

I built Before Upload, a small browser-based tool that checks files before you upload them, in general, or specifically to AI tools.

The tool tries to identify mostly PII leaks (personal info, VAT codes, API keys/secrets) and prompt injection attacks and runs locally in the browser. There is no backend analysis, no account, and the file is not uploaded anywhere.

Right now it supports:

- DOCX

- XLSX

- PPTX

- PDF

- JPG / PNG

- TXT / Markdown / HTML

It's still early and definitely not perfect. Right now, I'm building an internal dataset as I go, with several examples of prompt injection attacks hidden in PDFs and other Office file formats and I'm working to improve detection against it. I'm also looking at the next possible features like OCR, bulk analysis, and others, but it's still not clear what direction to take.

Known limitations:

- no OCR yet;

- PDF hidden text detection is incomplete;

- prompt injection detection is rule-based and can be noisy;

- it can produce false positives, especially on AI/security documents;

The current version is more of a warning tool than a cleaner. There are a few toggles in the advanced settings to customize the search behaviour and e.g. disable prompt injection detection on visible text because it can generate a lot of false positives, especially if the text is technical and naturally contains instructions/code.

I'd really like feedback to understand whether people could find such a tool useful and in which environments.

Thanks!

Re:Tell HN: Fiverr left customer files public and searchable on Wednesday April 15, 2026 @03:01PM (#47783643)
> Hitting companies with monetary fines does not work. Hitting the employees with jail time will make sure they don't sign on dangerous or known problematic systems.

What!? So, when you can't switch jobs because the market is bad or for any other reason, your choices are: 1) quit and lose the income (which you can't afford) or 2) sign on whatever and accept the risk of jail time?

He didn't imply it's morally dubious, I just read it as "people have more pressing matters to direct their attention to than this".
Re:Venezuela's capital hit by explosions, smoke seen on Saturday January 03, 2026 @04:33AM (#46474583)
Notice the hypocrisy of the "explosions reported" title instead of "US bombs Venezuela".
Not paying rent is kind of a problem for most people.
Re:Typed languages are better suited for vibecoding on Monday August 04, 2025 @03:25AM (#44782923)
> We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss

Spring Boot is definitely opinionated (this is taken from their home page). Maybe not as much as RoR, but saying it isn't at all sounds very strange to me, having worked with it for a few years too...

Re:The Fulbright Program: Chock Full of Bright Ideas on Sunday August 03, 2025 @02:39PM (#44778659)
To me it seems out of step with US foreign policy.
The difference is you need a lot of training data to do that. Instead, now you can just tweak a system prompt and adapt it to whatever new policy you want to implement.
Re:Best place for small remote gigs? on Saturday June 07, 2025 @07:13AM (#44208892)
Isn't it "hustle"? But since it's a hassle to hustle it kinda makes sense too.
Prophetic bitcointalk thread from 2011:

https://bitcointalk.org/index.php?topic=53855.0

Re:Tell HN: Sites are bluffing with their cookie pop-ups on Monday April 14, 2025 @03:48AM (#43679008)
The cookies are for showing you targeted advertising. They are not related to the functioning of the website (except the necessary cookies).
Re:Ask HN: Is LLMs.txt a REAL thing now? on Saturday March 22, 2025 @05:06AM (#43444463)
filetype:txt should do the trick!
> The assessment that the US is more likely to invade another country than china is not ridiculous anymore

When was it ever?

Re:WikiTok on Wednesday February 05, 2025 @03:41AM (#42945740)
I've built something similar a few years ago, combining Wikipedia content and open domain pictures/videos to create long form videos automatically. Uploaded a bunch on YouTube as well. Wrote a blog post in case anyone is interested: http://ailef.tech/2020/04/29/turn-any-wikipedia-article-into...
Re:Ask HN: LLM agent to firewall vulnerable FOSS libs? on Tuesday December 17, 2024 @01:44PM (#42444031)
How would an LLM agent "block these security bugs at runtime" exactly?
And your colleagues really spent a few days trying to figure this out?
Thanks! I think the Django one allows more stuff like e.g. layout customization. I haven't used it extensively so it was more of an assumption honestly! It's been around a long time and I just spent a couple months on my project instead.
For the admin part, check out http://snapadmin.dev

It's my open source project which provides similar functionality, although not nearly as complete (and as well maintained) as the Django alternative.

Re:LLMs for structured input validation on Thursday August 15, 2024 @03:17PM (#41259404)
What would be the advantage of using an LLM here? As opposed to parsing/validating the input using any other technique (of it's a well defined format, where you have e.g. a grammar).

Ask HN: Should we start a discussion about the DSA?

Under the Digital Services Act platforms are forced to comply with removal requests for content which is deemed in violation of the regulation.According to the "DSA Transparency Database"[1], approximately 1.2 million pieces of content are removed daily (at least in terms of their visibility inside the EU) because they fall into the category of "Illegal or harmful speech", the reason being...

( Read More... | no comments | 2 points | on HN )
Yes, because with all the history of coups, invasion and illegal wars the US is definitely the side that wants "peace and prosperity"...
If there's something you can easily say on HN without the slightest piece of evidence and without fear of being called out is implicating Russia in any situation like this.

This thread reads like a propaganda fair sponsored by Western governments.

*in a perfect world with no monopolies, no information asymmetry and probably a dozen other caveats.
There's no need to define it as hate speech, since the DSA purposely mentions a very vague "harmful speech/content" (not "hateful") which can in turn applied to whatever the EU sees fits.

For example, any objection to the current policies w.r.t the Russian invasion of Ukraine can be censored due to the DSA and this has happened recently to a prominent Italian YouTube influencer (Andrea Lombardi). His tweets were censored for his opinions about the Ukraine war.

How many other tweets are being removed which we don't know of because they are not coming from famous people who have channels to make themselves heard anyway?

Reddit used to be really easy to scrape. I haven't really had the need to do it after the API changes drama, but the trick of appending `.json` to the URL apparently still works, example:

https://www.reddit.com/r/TheWire/comments/1aqvtoz/every_year...

Not sure if this only works on posts or also entire subreddits.

Older »