playtikaoss / leaktopus Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Some of the scans are failing with a raised unexpected: AssertionError('unsupported encoding: None')
error.
Stack trace:
worker_1 | [2022-07-15 15:05:51,508: ERROR/ForkPoolWorker-4] Task leaktopus.common.scanner_async.github_fetch_pages[8497600a-d2ac-4ce5-a4a4-cfcd745cb0c2] raised unexpected: AssertionError('unsupported encoding: None')
worker_1 | Traceback (most recent call last):
worker_1 | File "/home/python/.local/lib/python3.9/site-packages/celery/app/trace.py", line 405, in trace_task
worker_1 | R = retval = fun(*args, **kwargs)
worker_1 | File "/app/leaktopus/app.py", line 41, in __call__
worker_1 | return TaskBase.__call__(self, *args, **kwargs)
worker_1 | File "/home/python/.local/lib/python3.9/site-packages/celery/app/trace.py", line 697, in __protected_call__
worker_1 | return self.run(*args, **kwargs)
worker_1 | File "/app/leaktopus/common/scanner_async.py", line 212, in github_fetch_pages
worker_1 | gh_results_filtered = filter_gh_results(merged_pages, organization_domains)
worker_1 | File "/app/leaktopus/common/scanner_async.py", line 434, in filter_gh_results
worker_1 | content = result.decoded_content.decode()
worker_1 | File "/home/python/.local/lib/python3.9/site-packages/github/ContentFile.py", line 59, in decoded_content
worker_1 | assert self.encoding == "base64", f"unsupported encoding: {self.encoding}"
worker_1 | AssertionError: unsupported encoding: None
I'm investigating the issue and will provide a fix ASAP.
Leaktopus is not enriching the leaks with additional data such as contributors and secrets.
This was caused by
Commit 5a3b2e4e45ea5a55116c5d50b7a7b7bba07ddeaf . The commit commented the usage in TruffleHog and the import of TruffleHog wasn't removed as well, which broke the code execution with the following error:
worker_1 | [2022-07-05 05:55:28,002: ERROR/ForkPoolWorker-2] Task leaktopus.common.leak_enhancer.enhance_repo[XXXXXXX] raised unexpected: ModuleNotFoundError("No module named 'truffleHog'")
worker_1 | ModuleNotFoundError: No module named 'truffleHog'
A fix will be deployed soon.
๐
I'm trying to run this but the compose dies of various reasons each time; here's a kibana throw example:
[2022-07-03T09:20:08.469+00:00][FATAL][root] Error: [config validation of [xpack.security].enabled]: definition for this key is missing
Do you mind sharing your full setup?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.