← Back to scan
File as GitHub Issue repo: openjdk/jdk

Push this scan report to openjdk/jdk

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

JS: weak Math.random for crypto

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT SEC101 [SEC101] Unsafe Java object deserialization (ObjectInputStream): Java ObjectInputStream d… src/demo/share/jfc/Stylepad/Stylepad.ja…:297
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/demo/share/jfc/SwingSet2/SwingSet2.…:125
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/demo/share/jfc/J2Ddemo/java2d/demos…:64
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/demo/share/jfc/J2Ddemo/java2d/demos…:321
LOW AIC003 Duplicated implementation block across source files src/hotspot/cpu/aarch64/gc/z/zBarrierSe…:56
LOW AIC003 Duplicated implementation block across source files src/hotspot/cpu/aarch64/gc/shenandoah/s…:422
Reset to top 5 7 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `openjdk/jdk`

**Score: 77/100 (B-)**  ·  7 findings  ·  scanned 2026-05-18 04:28 UTC  ·  86,664 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 0 |
| MEDIUM | 4 |
| LOW | 2 |

📊 [Full filterable report](https://repobility.com/scan/9503248f-8456-4a2a-9c49-8221481cc730/)  ·  ![scorecard](https://repobility.com/scan/9503248f-8456-4a2a-9c49-8221481cc730/report.png?v=1779078525-s2)

### Top findings

1. **CRITICAL** `SEC101` — Unsafe Java object deserialization (ObjectInputStream)
   `src/demo/share/jfc/Stylepad/Stylepad.java:297` · A08:2021 Software & Data Integrity Failures
2. **MEDIUM** `CFG006` — Missing .gitignore
3. **MEDIUM** `SEC123` — Production stack trace / debug output exposed
   `src/demo/share/jfc/SwingSet2/SwingSet2.java:125` · A09:2021 Security Logging & Monitoring Failures
4. **MEDIUM** `SEC087` — JS: weak Math.random for crypto
   `src/demo/share/jfc/J2Ddemo/java2d/demos/Paint/GradAnim.java:64`
5. **MEDIUM** `SEC087` — JS: weak Math.random for crypto
   `src/demo/share/jfc/J2Ddemo/java2d/demos/Composite/FadeAnim.java:321`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/9503248f-8456-4a2a-9c49-8221481cc730/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 1 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'openjdk/jdk' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
4/7 findings (57%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.