ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Security: Strengthen guards for PDFs
Open
@vprashrex is already working on this.
Since Jul 27, 2026.
- Dominant language
- Python
- Stars
- 18
- Forks
- 10
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 14
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.