Hi,
Im currently working on a way to analyze malicious QR Codes, so i develop a simple script that takes as input a list of base64 of the images and try to return possible links to further submit for analyses in the GTI.
The script makes use of the dependency "OpenCV" specially the module "CV2" that interprets the QRCodes, but unfortunately its give me errors of imports.
Is there any limitation regarding the use or installation this dependency.
025-07-10,09:38:43,000 INFO] Collecting managers.
[2025-07-10,09:38:43,000 INFO] Collecting dependencies.
[2025-07-10,09:38:43,000 INFO] Sending remote task package.
[2025-07-10,09:38:44,000 INFO] Waiting for remote task 86 to complete.
[2025-07-10,09:38:46,000 INFO] Remote task 86 has finished.
[2025-07-10,09:38:46,000 INFO] Decrypting results for task 86
[2025-07-10,09:38:46,000 INFO] Task 86 has failed with error message: Traceback (most recent call last):
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/Tasks/Task-RUN_ACTION-86 [Action: QRCode Scan]/QRCode Scan.py", line 2, in <module>
import cv2
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/lib/python3.11/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/lib/python3.11/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/Tasks/Task-RUN_ACTION-86 [Action: QRCode Scan]/QRCode Scan.py", line 2, in <module>
import cv2
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/lib/python3.11/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/SiemplifyAgent/Integrations/COMPANY_NAME_V18.0/lib/python3.11/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
[2025-07-10,09:38:46,000 INFO] Deleting task 86
[2025-07-10,09:38:46,000 INFO] =========== End Remote Running of QRCode Scan , Agent: d3194067.... ============
Any information would be helpful