Sonarleaks
Summary
SonarCloud is a SAST SaaS platform built onto SonarQube.
During my DevSecOps journey, I recently discovered that Sonarcloud (From SonarSource) offers the possibility to explore public projects.
After working on Postleaks and popularity of some other similars projects (like swaggerHole) related to public data on SaaS, the Explore button triggers my curiosity.
I created this small tool to get basic infos about Sonarcloud projects from the Explore tab. Some of them are from private source repository, or can be related to a company which misconfigured the repository visibility.
It becomes juicy when the results provides the source code AND the static analysis.
Usage
❯ sonarleaks -h
usage: sonarleaks [-h] [--top] [--loc LOC] [-k KEYWORD] [-kf KEYWORD_FILE] [--private] [--source]
Sonarleaks 🛰️💧 Search for private code published to Sonarcloud.
options:
-h, --help show this help message and exit
--top Filter on top public projects
--loc LOC Filter on minimum of lines of code
-k KEYWORD Keyword (company, project, etc.)
-kf KEYWORD_FILE Keywords file
--private Only display components linked to potential private repository.
--source Only display components with available source code.
Examples
Top public projects, with minimum 500000 lines of code, with private repository and source code available
❯ sonarleaks --top --loc 500000 --source --private
Projects related to keyword Salesforce
❯ sonarleaks -k salesforce
Metadata
Release files for sonarleaks 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sonarleaks-1.0.0.tar.gz | 18.9 kB | Without provenance | Details for sonarleaks-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonarleaks-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sonarleaks-1.0.0-py3-none-any.whl |
Total release size: 36.7 kB
Release files / sonarleaks-1.0.0.tar.gz
| Download URL | sonarleaks-1.0.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5aff7aeb369161a183b53e43386a118d6c26a66b6093d95f3400b9831d061476
|
|
BLAKE2b-256 checksum How to use checksums |
ddc68897e8b9b1f7fd8b561135c9a8959f073527041504f17d712fc59c9bdbc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Release files / sonarleaks-1.0.0-py3-none-any.whl
| Download URL | sonarleaks-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbfae1f91e47c012718143e09b738ca11133cca83849734f2f490395f66b4e6e
|
|
BLAKE2b-256 checksum How to use checksums |
7721a50fc7b15b1d83c0200c82cce0170b44a13443232e902a75c55c30bca3ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Security for sonarleaks 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.