René's URL Explorer Experiment


Title: Cryptographic API Misuse Vulnerability: Do not use insecure pseudo random number generator(PRNG) in a security context · Issue #20 · HarryR/solcrypto · GitHub

Open Graph Title: Cryptographic API Misuse Vulnerability: Do not use insecure pseudo random number generator(PRNG) in a security context · Issue #20 · HarryR/solcrypto

X Title: Cryptographic API Misuse Vulnerability: Do not use insecure pseudo random number generator(PRNG) in a security context · Issue #20 · HarryR/solcrypto

Description: Hello! First and foremost, I would like to express my sincere gratitude for your contributions to this project. Description: I have identified a security vulnerability in solcrypto project's about insecure PNRG. PRNGs are used to generat...

Open Graph Description: Hello! First and foremost, I would like to express my sincere gratitude for your contributions to this project. Description: I have identified a security vulnerability in solcrypto project's about ...

X Description: Hello! First and foremost, I would like to express my sincere gratitude for your contributions to this project. Description: I have identified a security vulnerability in solcrypto project's ab...

Opengraph URL: https://github.com/HarryR/solcrypto/issues/20

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cryptographic API Misuse Vulnerability: Do not use insecure pseudo random number generator(PRNG) in a security context","articleBody":"Hello!\r\nFirst and foremost, I would like to express my sincere gratitude for your contributions to this project.\r\n\r\n\r\n## Description:\r\nI have identified a security vulnerability in [solcrypto](https://github.com/HarryR/solcrypto) project's about insecure PNRG.\r\n\r\nPRNGs are used to generate random numbers that are unpredictable and uniformly distributed. However, some PRNGs are not truly random and can be predicted or reproduced, which can compromise the security of cryptographic applications that rely on them, such as key derivation, encryption, or digital signatures. Examples of insecure PRNGs are `random.randbytes`, or `random.randint`. These PRNGs should not be used in a security context and replaced by more secure ones, such as `secrets.token_bytes`, or `os.urandom`. It corresponds to CWE-338: Use of Cryptographically Weak PRNG.\r\n\r\n## Locations:\r\nhttps://github.com/HarryR/solcrypto/blob/3c59250005e76bae7de73b753d7406eee15b8e6e/pysolcrypto/polyhash.py#L56\r\nhttps://github.com/HarryR/solcrypto/blob/3c59250005e76bae7de73b753d7406eee15b8e6e/pysolcrypto/polyhash.py#L57\r\n\r\n## References:\r\n[CWE-338: Use of Cryptographically Weak PRNG.](https://cwe.mitre.org/data/definitions/338.html)\r\n\r\n## Recommendations:\r\nRandom IV Generation: Implement a secure random salt generator , such as `secrets` library.\r\n\r\nImmediate attention to this issue is recommended to maintain the privacy and security of solcrypto users.\r\n\r\n","author":{"url":"https://github.com/gxx777","@type":"Person","name":"gxx777"},"datePublished":"2024-01-04T08:50:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/20/solcrypto/issues/20"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4a158f39-8b19-f330-89fd-47824f0882d4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC4E:22EDEC:5AAE9C:800586:6A4BCBF5
html-safe-nonce3cfb3017aed0ce6351c653f99fd14e63cedb98015556ad9d09944894dc0e4990
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzRFOjIyRURFQzo1QUFFOUM6ODAwNTg2OjZBNEJDQkY1IiwidmlzaXRvcl9pZCI6IjE5NjE1ODIwMDMzMzAyMDY3MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaaa613b6946616b3bf395aa9d763f053f4afd1b75bc9f3a6c96379c52a863d30
hovercard-subject-tagissue:2065246710
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/HarryR/solcrypto/20/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f7468939b1bf0271f68de2ff720303e66ef039ee34dd0690dd0c6681eb993392/HarryR/solcrypto/issues/20
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7468939b1bf0271f68de2ff720303e66ef039ee34dd0690dd0c6681eb993392/HarryR/solcrypto/issues/20
og:image:altHello! First and foremost, I would like to express my sincere gratitude for your contributions to this project. Description: I have identified a security vulnerability in solcrypto project's about ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegxx777
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-preview
go-importgithub.com/HarryR/solcrypto git https://github.com/HarryR/solcrypto.git
octolytics-dimension-user_id303926
octolytics-dimension-user_loginHarryR
octolytics-dimension-repository_id115904173
octolytics-dimension-repository_nwoHarryR/solcrypto
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115904173
octolytics-dimension-repository_network_root_nwoHarryR/solcrypto
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/HarryR/solcrypto/issues/20#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FHarryR%2Fsolcrypto%2Fissues%2F20
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FHarryR%2Fsolcrypto%2Fissues%2F20
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=HarryR%2Fsolcrypto
Reloadhttps://github.com/HarryR/solcrypto/issues/20
Reloadhttps://github.com/HarryR/solcrypto/issues/20
Reloadhttps://github.com/HarryR/solcrypto/issues/20
HarryR https://github.com/HarryR
solcryptohttps://github.com/HarryR/solcrypto
Notifications https://github.com/login?return_to=%2FHarryR%2Fsolcrypto
Fork 48 https://github.com/login?return_to=%2FHarryR%2Fsolcrypto
Star 290 https://github.com/login?return_to=%2FHarryR%2Fsolcrypto
Code https://github.com/HarryR/solcrypto
Issues 10 https://github.com/HarryR/solcrypto/issues
Pull requests 1 https://github.com/HarryR/solcrypto/pulls
Actions https://github.com/HarryR/solcrypto/actions
Security and quality 0 https://github.com/HarryR/solcrypto/security
Insights https://github.com/HarryR/solcrypto/pulse
Code https://github.com/HarryR/solcrypto
Issues https://github.com/HarryR/solcrypto/issues
Pull requests https://github.com/HarryR/solcrypto/pulls
Actions https://github.com/HarryR/solcrypto/actions
Security and quality https://github.com/HarryR/solcrypto/security
Insights https://github.com/HarryR/solcrypto/pulse
Cryptographic API Misuse Vulnerability: Do not use insecure pseudo random number generator(PRNG) in a security contexthttps://github.com/HarryR/solcrypto/issues/20#top
https://github.com/gxx777
gxx777https://github.com/gxx777
on Jan 4, 2024https://github.com/HarryR/solcrypto/issues/20#issue-2065246710
solcryptohttps://github.com/HarryR/solcrypto
solcrypto/pysolcrypto/polyhash.pyhttps://github.com/HarryR/solcrypto/blob/3c59250005e76bae7de73b753d7406eee15b8e6e/pysolcrypto/polyhash.py#L56
3c59250https://github.com/HarryR/solcrypto/commit/3c59250005e76bae7de73b753d7406eee15b8e6e
solcrypto/pysolcrypto/polyhash.pyhttps://github.com/HarryR/solcrypto/blob/3c59250005e76bae7de73b753d7406eee15b8e6e/pysolcrypto/polyhash.py#L57
3c59250https://github.com/HarryR/solcrypto/commit/3c59250005e76bae7de73b753d7406eee15b8e6e
CWE-338: Use of Cryptographically Weak PRNG.https://cwe.mitre.org/data/definitions/338.html
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.