← Back to scan
File as GitHub Issue repo: OneNoteDev/WebClipper

Push this scan report to OneNoteDev/WebClipper

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

Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger

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 SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… src/scripts/settings.ts:2
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… src/scripts/localization/localization.ts:4
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/scripts/communicator/communicator.ts:21
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/claude.yml:53
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/claude-code-review.yml:38
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/scripts/urlUtils.ts:125
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/scripts/urlUtils.ts:12
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/scripts/stringUtils.ts:46
HIGH SEC027 [SEC027] XML External Entity (XXE) — Node.js xml parsers: Node.js XML parsers can expand … src/scripts/contentCapture/oembedExtrac…:64
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/scripts/extensions/contentCaptureIn…:16
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/scripts/contentCapture/oembedExtrac…:33
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/scripts/clipperUrls.ts:8
HIGH MINED115 Action `anthropics/claude-code-action` pinned to mutable ref `@v1` .github/workflows/claude.yml:51
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/claude.yml:45
HIGH MINED115 Action `anthropics/claude-code-action` pinned to mutable ref `@v1` .github/workflows/claude-code-review.yml:36
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/claude-code-review.yml:30
HIGH CORE_NO_TESTS No test files found
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/scripts/urlUtils.ts:12
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/scripts/stringUtils.ts:46
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/scripts/logging/logHelpers.ts:163
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/scripts/contentCapture/oembedExtrac…:34
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/claude.yml:45
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/claude-code-review.yml:30
MED DEPCUR-NPM npm package `yargs` is 2 major version(s) behind (16.2.0 -> 18.0.0) package.json
MED AGT007 localStorage write failures are swallowed silently src/scripts/renderer.ts:430
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… src/scripts/logging/submodules/errorUti…:73
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/scripts/responsePackage.ts:43
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/scripts/extensions/contentCaptureIn…:17
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/scripts/extensions/webExtensionBase…:115
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/scripts/extensions/contentCaptureIn…:17
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/scripts/logging/submodules/failure.…:13
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/scripts/extensions/contentCaptureIn…:185
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/scripts/communicator/offscreenCommu…:35
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/scripts/logging/logManager.ts:18
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/scripts/extensions/offscreen.ts:58
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/scripts/communicator/offscreenCommu…:28
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/scripts/communicator/offscreenCommu…:33
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/scripts/communicator/messageHandler…:6
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/scripts/communicator/communicator.ts:30
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… src/pdfLoader.mjs:4
INFO DEPCUR-NPM npm package `@types/chrome` is patch version(s) behind (0.1.42 -> 0.1.43) package.json
Reset to top 5 41 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `OneNoteDev/WebClipper`

**Score: 85/100 (C+)**  ·  41 findings  ·  scanned 2026-06-05 20:20 UTC  ·  12,044 LOC

| Severity | Count |
|---|---|
| CRITICAL | 5 |
| HIGH | 12 |
| MEDIUM | 8 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/f5e2c8ee-635e-4c0a-aea9-638d777f7487/)  ·  ![scorecard](https://repobility.com/scan/f5e2c8ee-635e-4c0a-aea9-638d777f7487/report.png?v=1780690833-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `src/scripts/settings.ts:2`
2. **CRITICAL** `SEC084` — JS: require() with non-literal
   `src/scripts/localization/localization.ts:4`
3. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/scripts/communicator/communicator.ts:21`
4. **CRITICAL** `MINED116` — Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger
   `.github/workflows/claude.yml:53` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger
   `.github/workflows/claude-code-review.yml:38` · ✓ Repobility

---

**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/f5e2c8ee-635e-4c0a-aea9-638d777f7487/_
Megaproject â high spam risk
Could not determine 'OneNoteDev/WebClipper' 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.

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.