.github/workflows/release-nightly.yml → .github/workflows/x-release.ymlkeycloak-nodejs-connect
keycloak-nodejs-connect
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | Express / Node API |
| Detected Frameworks | Express / Node API |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:10:35 AM |
| Source Repository | Open on GitHub |
keycloak/keycloak-nodejs-connect — Workflow Hierarchy Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
.github/workflows/release.yml → .github/workflows/x-release.ymlkeycloak/keycloak-nodejs-connect — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: keycloak/keycloak-nodejs-connect
Metadata
- SHA:
b50534c40bbdc58e117c39e53a0103fbe7ff3896 - Primary Ecosystem: JavaScript/TypeScript
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 2.05
- avg_cyclomatic_complexity: 2.41
- component_count: 30
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 74.72
- file_complexities: 25 entry(ies)
- files_analyzed: 38
- fitness_passed: False
- fitness_violation_count: 1
- framework: Express / Node API
- import_edges: 100 entry(ies)
- loc: 5718
- max_cognitive_complexity: 22
- max_cyclomatic_complexity: 11
- sloc: 3635
- test_file_count: 29
Architecture: keycloak/keycloak-nodejs-connect
Context
- Repository:
keycloak/keycloak-nodejs-connect - SHA:
b50534c40bbdc58e117c39e53a0103fbe7ff3896 - Ecosystem: JavaScript/TypeScript
- Framework: Express / Node API
Building Block View
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["keycloak/keycloak-nodejs-connect (30 components)"]):::atlasRoot
dir_0_test["test (17)"]:::atlasCategory
repo_root --> dir_0_test
dir_1__root_["(root) (9)"]:::atlasCategory
repo_root --> dir_1__root_
dir_2_example["example (4)"]:::atlasCategory
repo_root --> dir_2_example
Component Details
- nodejs-keycloak-example (
example/package.json): MODULE - keycloak-connect (
package.json): MODULE - GET_special_:page (
keycloak.d.ts): API_ROUTE - GET_fancy_:page (
keycloak.d.ts): API_ROUTE - GET_complain (
keycloak.d.ts): API_ROUTE - GET_protected_resource (
keycloak.d.ts): API_ROUTE - GET_special_:page (
keycloak.js): API_ROUTE - GET_fancy_:page (
keycloak.js): API_ROUTE - GET_complain (
keycloak.js): API_ROUTE - GET_protected_resource (
keycloak.js): API_ROUTE - GET_root (
example/index.js): API_ROUTE - GET_login (
example/index.js): API_ROUTE - GET_protected_resource (
example/index.js): API_ROUTE - GET_root (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_login (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_check-sso (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_restricted (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_cookie (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_service_public (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_service_secured (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_service_admin (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_service_grant (
test/fixtures/node-console/index.mjs): API_ROUTE - POST_service_grant (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_protected_enforcer_resource (
test/fixtures/node-console/index.mjs): API_ROUTE - POST_protected_enforcer_resource (
test/fixtures/node-console/index.mjs): API_ROUTE - DELETE_protected_enforcer_resource (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_protected_enforcer_resource-view-delete (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_protected_enforcer_resource-claims (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_protected_enforcer_no-permission-defined (
test/fixtures/node-console/index.mjs): API_ROUTE - GET_protected_web_resource (
test/fixtures/node-console/index.mjs): API_ROUTE
6-Dimension Repository Scorecard
- Overall Grade:
F(55.95/100) - Technical Debt Score: 44.05
- Estimated Remediation Effort: 67.46h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 75.00 | 0.20 | avg_cc=2.41, max_cc=11, duplication=74.72%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=765, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | B | 81.00 | 0.15 | avg_cognitive=2.05, max_cognitive=22, fitness_violations=1, oversized_files=2 |
| Pipeline Health | F | 22.00 | 0.15 | workflows=4, operational_antipatterns=8, parallel_branches=False |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=11, pipeline_security_findings=4 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (74.72) exceeds policy threshold (15.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 765 | Vulnerabilities: 0 | Secrets: 11
Secret Findings (Redacted)
- [HIGH]
ATRUSS-SEC-005atexample/keycloak.json:3("realm-public-key" : "MIGf***REDACTED***",) - [HIGH]
ATRUSS-SEC-005atexample/nodejs-example-realm.json:6("privateKey": "MIIC***REDACTED***",) - [HIGH]
ATRUSS-SEC-005atexample/nodejs-example-realm.json:7("publicKey": "MIGf***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/fixtures/auth-utils/keycloak-with-public-key.json:4("realm-public-key" : "MIIB***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/fixtures/auth-utils/nodejs-test-realm.json:4264("privateKey": "MIIC***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/fixtures/auth-utils/nodejs-test-realm.json:4265("publicKey": "MIGf***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/fixtures/testrealm.json:6("privateKey": "MIIC***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/fixtures/testrealm.json:7("publicKey": "MIGf***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attest/utils/helper.mjs:52(TestVector.wrongRealmPublicKey = 'MIIB***REDACTED***') - [HIGH]
ATRUSS-SEC-005attest/utils/helper.mjs:54(TestVector.logoutWrongKeyPairPayload = 'eyJ0***REDACTED***') - [HIGH]
ATRUSS-SEC-005attest/utils/helper.mjs:57(TestVector.notBeforeWrongKeyPairPayload = 'eyJ0***REDACTED***')
Inventory Sample
@keycloak/keycloak-admin-client26.2.4(npm,package-lock.json)@keycloak/keycloak-admin-client26.2.4(npm,package.json)@octokit/rest21.1.1(npm,package-lock.json)@octokit/rest21.1.1(npm,package.json)axios0.29.0(npm,package-lock.json)axios0.29.0(npm,package.json)blue-tape1.0.0(npm,package-lock.json)blue-tape1.0.0(npm,package.json)body-parser1.13.3(npm,package.json)body-parser1.20.3(npm,package-lock.json)chromedriver*(npm,package.json)chromedriver136.0.2(npm,package-lock.json)cookie-parser1.4.5(npm,package.json)cookie-parser1.4.7(npm,package-lock.json)coveralls3.0.1(npm,package.json)coveralls3.1.1(npm,package-lock.json)express*(npm,example/package.json)express4.14.0(npm,package.json)express4.21.2(npm,package-lock.json)express-session*(npm,example/package.json)express-session1.14.2(npm,package.json)express-session1.18.1(npm,package-lock.json)gunzip-maybe1.4.2(npm,package-lock.json)gunzip-maybe1.4.2(npm,package.json)hogan-express*(npm,example/package.json)hogan-express0.5.2(npm,package-lock.json)hogan-express0.5.2(npm,package.json)ink-docstrap1.1.4(npm,package.json)ink-docstrap1.3.2(npm,package-lock.json)jsdoc4.0.4(npm,package-lock.json)- … (+735 more dependencies)
CI/CD Pipeline Topology
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["keycloak/keycloak-nodejs-connect (4 workflows)"]):::atlasRoot
subgraph sg_grp_0_Release___Deploy["Release & Deploy (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_1_Release_Nightly["Release Nightly (1 jobs)"]
direction TB
wf_1_Release_Nightly(["Trigger: Release Nightly"]):::atlasWorkflow
job_1_release_nightly["release-nightly"]:::atlasJob
wf_1_Release_Nightly --> job_1_release_nightly
end
pipeline_root --> wf_1_Release_Nightly
subgraph sg_wf_2_Release["Release (1 jobs)"]
direction TB
wf_2_Release(["Trigger: Release"]):::atlasWorkflow
job_2_release["release"]:::atlasJob
wf_2_Release --> job_2_release
end
pipeline_root --> wf_2_Release
subgraph sg_wf_3_X_Release["X Release (1 jobs)"]
direction TB
wf_3_X_Release(["Trigger: X Release"]):::atlasWorkflow
job_3_release_impl["release-impl"]:::atlasJob
wf_3_X_Release --> job_3_release_impl
end
pipeline_root --> wf_3_X_Release
end
subgraph sg_grp_1_CI___Verification["CI & Verification (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_0_CI["CI (1 jobs)"]
direction TB
wf_0_CI(["Trigger: CI"]):::atlasWorkflow
job_0_run["run"]:::atlasJob
wf_0_CI --> job_0_run
end
pipeline_root --> wf_0_CI
end6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=2.41, max_cc=11, duplication=74.72%, dead_code=0
Security
Weight 20%vulnerabilities=0, secrets=11, pipeline_security_findings=4
Maintainability
Weight 15%avg_cognitive=2.05, max_cognitive=22, fitness_violations=1, oversized_files=2
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=False, test_files_detected=True
Dependency Health
Weight 15%dependencies=765, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%workflows=4, operational_antipatterns=8, parallel_branches=False
Module Complexity & Quality Heatmap
Architectural Fitness Rules
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDmiddleware/admin.js:1Repository duplication_pct (74.72) exceeds policy threshold (15.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 765 parsed dependencies.
Redacted Secret Findings
ATRUSS-SEC-005example/keycloak.json:3High-entropy credential candidate (H=5.75 > 4.5) detected.
"realm-public-key" : "MIGf***REDACTED***",ATRUSS-SEC-005example/nodejs-example-realm.json:6High-entropy credential candidate (H=5.94 > 4.5) detected.
"privateKey": "MIIC***REDACTED***",ATRUSS-SEC-005example/nodejs-example-realm.json:7High-entropy credential candidate (H=5.75 > 4.5) detected.
"publicKey": "MIGf***REDACTED***",ATRUSS-SEC-005test/fixtures/auth-utils/keycloak-with-public-key.json:4High-entropy credential candidate (H=5.87 > 4.5) detected.
"realm-public-key" : "MIIB***REDACTED***",ATRUSS-SEC-005test/fixtures/auth-utils/nodejs-test-realm.json:4264High-entropy credential candidate (H=5.94 > 4.5) detected.
"privateKey": "MIIC***REDACTED***",ATRUSS-SEC-005test/fixtures/auth-utils/nodejs-test-realm.json:4265High-entropy credential candidate (H=5.75 > 4.5) detected.
"publicKey": "MIGf***REDACTED***",ATRUSS-SEC-005test/fixtures/testrealm.json:6High-entropy credential candidate (H=5.94 > 4.5) detected.
"privateKey": "MIIC***REDACTED***",ATRUSS-SEC-005test/fixtures/testrealm.json:7High-entropy credential candidate (H=5.75 > 4.5) detected.
"publicKey": "MIGf***REDACTED***",ATRUSS-SEC-005test/utils/helper.mjs:52High-entropy credential candidate (H=5.82 > 4.5) detected.
TestVector.wrongRealmPublicKey = 'MIIB***REDACTED***'ATRUSS-SEC-005test/utils/helper.mjs:54High-entropy credential candidate (H=5.84 > 4.5) detected.
TestVector.logoutWrongKeyPairPayload = 'eyJ0***REDACTED***'ATRUSS-SEC-005test/utils/helper.mjs:57High-entropy credential candidate (H=5.91 > 4.5) detected.
TestVector.notBeforeWrongKeyPairPayload = 'eyJ0***REDACTED***'Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.
Code-to-Cloud Traceability Links
No Code-to-Cloud container, IaC, or deploy environment edges detected.