ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Security: Strengthen guards for PDFs

Aperta
#1,011 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@vprashrex ci sta già lavorando.

Dal 27/7/2026.

Lingua principale
Python
Stelle
18
Fork
10
Merge medio
2g 20h
PR unite (30g)
14

Descrizione

Is your feature request related to a problem?
The API interfaces for processing audio files currently have protections against buffer overflow and CPU exhaustion, but this is not extended to PDF and PNG files, which poses a potential security risk.

Describe the solution you'd like

  • Strengthen the existing guards for PDF and PNG file processing.
  • Ensure similar protections are implemented as those for audio files.
Original issue

Describe the current behavior
Currently the API interfaces where files are processes have guards that prevent buffer overflow, CPU exhaustion etc error.

Describe the enhancement you'd like
Solidify the guards for PDF/PNG files too

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.