MalDet · Static Security Report
The repository has passed the most critical vulnerability check, scoring 0.0, which means there are no obvious insecure coding patterns that an attacker could exploit right now. However, it does show two other issues: one pattern is flagged as potentially malicious because it downloads and executes files from the internet, while another looks like a normal part of legitimate software development involving obfuscation techniques used to hide code. The YARA rules found in this scan are mostly false positives that happen to match common patterns in standard applications rather than indicating actual dangerous behavior. Overall, while the code is not currently vulnerable to known exploits, developers should be cautious about the specific file containing the download-and-execute pattern and treat the obfuscation as a normal feature of the project rather than a sign of hidden malware.
Written by a language model running locally on the scanning machine, from the findings in this report. The risk levels above and below were decided by the scoring model, not by this summary.
MalDet scores two different questions separately, because they call for different responses: code can be badly written without being hostile, and hostile code is not always badly written.
| Detector | Looks for | High | Medium | Low | Total |
|---|---|---|---|---|---|
| yara | Signatures of malicious behaviour in source files | 4 | 0 | 27 | 31 |
| guarddog | Malicious package and install-time behaviour | 3 | 0 | 1 | 4 |
4 of 35 findings were rated more likely genuine than noise by the classifier.
Identical findings are grouped, so a single rule firing many times takes one row. Ordered worst first. “Seen” is how many times that finding occurred.
| Severity | Detector | Finding | Seen | Example location |
|---|---|---|---|---|
| high | guarddog | Detects download-and-execute patterns: fetching a remote file then executing it [threat-process-download-exec] | 3 | /pro/src/components/Bookings/Components/PreFilters/utils/downloadIndividualBookingsCSVFile.ts:40 |
| high | yara | YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together | 1 | /api/src/pcapi/static/backoffice/js/libs/tom-select@2.4.1/dist/js/tom-select.complete.min.js |
| high | yara | YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this | 3 | /install_tools.sh |
| low | guarddog | Detects heavy obfuscation techniques commonly used by malware [threat-runtime-obfuscation] | 1 | /api/src/pcapi/sandboxes/scripts/creators/industrial/create_industrial_gdpr_users.py:69 |
| low | yara | YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version | 27 | /api/src/pcapi/connectors/api_particulier.py |