HN user

ailef

821 karma

https://ailef.tech/

Posts40
Comments213
View on HN
beforeupload.com 2mo ago

Show HN: Before Upload – check files locally before sending them to AI tools

ailef
3pts1
news.ycombinator.com 1y ago

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

ailef
2pts0
ailef.tech 1y ago

Creating a 2D physics engine from scratch in JavaScript

ailef
2pts0
news.ycombinator.com 2y ago

Ask HN: How can AI help as a shopping assistant?

ailef
2pts2
www.snapadmin.dev 2y ago

Show HN: SnapAdmin – A powerful, autogenerated DB management UI for Spring Boot

ailef
4pts1
ailef.tech 2y ago

Spring Boot Database Admin: automatically-generated CRUD web UI

ailef
2pts0
med.virginia.edu 2y ago

The Case of James Leininger [pdf]

ailef
3pts0
github.com 2y ago

Show HN: An auto-generated database admin panel for Spring Boot apps

ailef
3pts0
news.ycombinator.com 2y ago

Ask HN: I'm developing a Django-like admin panel for Spring Boot apps

ailef
2pts0
mearsheimer.substack.com 3y ago

The Darkness Ahead: Where the Ukraine War Is Headed

ailef
16pts78
www.thetimes.co.uk 3y ago

Brussels to allow installation of spyware on journalists’ phones and laptops

ailef
46pts9
www.bloomberg.com 3y ago

Germany Warns of Industry Shutdown If Russian Gas Stops Flowing

ailef
6pts1
github.com 3y ago

Show HN: A simple Java library to efficiently manage and run LLM prompts

ailef
3pts0
ailef.tech 3y ago

Show HN: GPT-3 generated Hacker News summaries in the style of n-gate.com

ailef
25pts7
wikiwho.ailef.tech 3y ago

Show HN: Explore Wikipedia edits made by institutions, companies and governments

ailef
261pts94
ailef.tech 3y ago

Creating a 2D physics engine from scratch in JavaScript

ailef
2pts0
news.ycombinator.com 3y ago

Ask HN: Safely execute user-provided Java code?

ailef
2pts0
gist.github.com 3y ago

Bash one-liner to produce a list of HEX color codes that read like English words

ailef
199pts90
news.ycombinator.com 3y ago

Ask HN: How to mitigate the impact of the incoming economic crisis in Europe?

ailef
2pts0
en.wikipedia.org 3y ago

American Exceptionalism

ailef
2pts0
www.spectator.co.uk 3y ago

Why is Canada euthanising the poor?

ailef
62pts60
www.bloomberg.com 3y ago

Meta Removes Fake Accounts Tied to Pro-US Influence Campaign

ailef
2pts0
www.youtube.com 3y ago

Writing a Physics Engine from Scratch

ailef
3pts0
github.com 4y ago

Show HN: Open-source tool to generate a video from any Wikipedia page

ailef
35pts4
intelligram.live 4y ago

Show HN: Live map of most mentioned Ukrainian cities on Telegram in the past 24h

ailef
1pts4
intelligram.live 4y ago

Show HN: Intelligram, a tool to monitor the Russo-Ukrainian war on Telegram

ailef
2pts1
consortiumnews.com 4y ago

Scott Ritter: My Personal Experience in Twitter's Ongoing Assault on Free Speech

ailef
11pts0
en.wikipedia.org 4y ago

Myrotvorets

ailef
2pts1
en.wikipedia.org 4y ago

Operation Mass Appeal

ailef
2pts0
www.nytimes.com 4y ago

The Ruble Has Bounced Back. What Does That Mean?

ailef
3pts5

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!

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?

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...

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).

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?

You write a text containing the JSON with all the data and instructions on how to analyze it and you instruct the LLM to extract what you're looking for (the "prompt"). The easiest way to start is probably the OpenAI API, or you can try one of the self-hosted LLM although I've never interacted with them programmatically.

These are all fair points I agree with. Let's just say I might've started writing code without thinking too deeply about the problem...

About the last point (slowness), this is definitely a problem right now. In my case, also retrieving the information from Amazon takes a sizeable amount of time; for the LLM part I think it can be optimized with finetuned models and performance will generally get better in the future. So maybe overall slowness is the easiest problem to solve.

Part of the job especially when there are either tight deadlines or bad bugs

It's fine if this happens occasionally on deadlines or unexpected problems.

But it definitely shouldn't be part of any (good) job unless your contract explicitly provides for this possibility (with extra compensation).