HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ailef

no profile record

Submissions

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

beforeupload.com
3 points·by ailef·hace 2 meses·1 comments

comments

ailef
·hace 2 meses·discuss
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!
ailef
·hace 3 meses·discuss
> 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?
ailef
·hace 3 meses·discuss
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".
ailef
·hace 6 meses·discuss
Notice the hypocrisy of the "explosions reported" title instead of "US bombs Venezuela".
ailef
·hace 4 años·discuss
I think this fails because you need to install python3-venv too (on Debian systems I believe). So then you're back looking it up on Google.