ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Security: Strengthen guards for PDFs

Offen
#1,011 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@vprashrex arbeitet bereits daran.

Seit 27.7.2026.

Vorherrschende Sprache
Python
Sterne
18
Forks
10
Ø Merge
2 T. 20 Std.
Gemergte PRs (30 T.)
14

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.