Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CloudSmith entitlement token isn't detected as the secret #441

Open
alexku7 opened this issue Dec 10, 2022 · 2 comments
Open

The CloudSmith entitlement token isn't detected as the secret #441

alexku7 opened this issue Dec 10, 2022 · 2 comments
Labels
status:new This issue needs to be reviewed type:bug Something isn't working

Comments

@alexku7
Copy link

alexku7 commented Dec 10, 2022

Hello
The cloudsmith entitlement token isn't detected.

Honestly speaking it's a bit tricky to detect. The token is relatively short without clear identifier , for example
DqhyrhnfAOky.

Any chance to add it anyway do the detection engine ?

@alexku7 alexku7 added type:bug Something isn't working status:new This issue needs to be reviewed labels Dec 10, 2022
@pierrelalanne
Copy link
Collaborator

Hello @alexku7,
I had a look at Cloudsmith's documentation, but would you have more details about this kind of token ?
What is the length range ? What charset is involved ? Would you have a code snippet demonstrating how this token is supposed to be used ?
This will greatly help us assess if we can support this kind of token.
Thanks.

@alexku7
Copy link
Author

alexku7 commented Dec 12, 2022

Hello @pierrelalanne

Usually the token appears in the URL , for example https://dl.cloudsmith.io/{ENTITLEMENT_TOKEN}/satori/pytori/python/simple/
The URL represents some location where we should download some package ( in this case some python package stored in the cloudsmith repo)

The {ENTITLEMENT_TOKEN}. is a random string for example C4dyQKtkHBgCrqsp

But the problem that the token can be any random string or number with various length.

So , probably the best way to detect it is to search it as part of the cloudsmith.io URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:new This issue needs to be reviewed type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants