|
| 1 | +{ |
| 2 | + "$schema": "https://bestpractices.coreinfrastructure.org/projects.schema.json", |
| 3 | + "_comment": "OpenSSF Best Practices autofill metadata for RandomCodeSpace/code-signal. Project page: https://www.bestpractices.dev/projects/13445.", |
| 4 | + "project_id": 13445, |
| 5 | + "name": "code-signal", |
| 6 | + "description": "Built-in, offline code quality scanner that reports aggregate static-analysis signals for polyglot repositories without external analyzers or telemetry.", |
| 7 | + "homepage_url": "https://github.com/RandomCodeSpace/code-signal", |
| 8 | + "repo_url": "https://github.com/RandomCodeSpace/code-signal", |
| 9 | + "license": "MIT", |
| 10 | + "level": "passing", |
| 11 | + |
| 12 | + "description_good_status": "Met", |
| 13 | + "description_good_justification": "README.md describes code-signal as a standalone offline scanner, explains the problem it solves, and lists the built-in aggregate signals it reports.", |
| 14 | + |
| 15 | + "interact_status": "Met", |
| 16 | + "interact_justification": "README.md documents how to obtain, build, run, and configure the CLI. GitHub Issues and Pull Requests are used for feedback and changes.", |
| 17 | + |
| 18 | + "contribution_status": "Met", |
| 19 | + "contribution_justification": "CONTRIBUTING.md documents the branch strategy, PR process, required checks, and test policy.", |
| 20 | + "contribution_url": "https://github.com/RandomCodeSpace/code-signal/blob/main/CONTRIBUTING.md", |
| 21 | + |
| 22 | + "contribution_requirements_status": "Met", |
| 23 | + "contribution_requirements_justification": "CONTRIBUTING.md requires feature branches, pull requests, conventional commit subjects, Go tests, vet, scanner self-checks, and behavior tests for changes.", |
| 24 | + "contribution_requirements_url": "https://github.com/RandomCodeSpace/code-signal/blob/main/CONTRIBUTING.md", |
| 25 | + |
| 26 | + "floss_license_status": "Met", |
| 27 | + "floss_license_justification": "The project is released under the MIT License, an OSI-approved FLOSS license.", |
| 28 | + "floss_license_osi_status": "Met", |
| 29 | + "floss_license_osi_justification": "MIT is OSI-approved.", |
| 30 | + "license_location_status": "Met", |
| 31 | + "license_location_justification": "The full MIT License text is in the top-level LICENSE file.", |
| 32 | + "license_location_url": "https://github.com/RandomCodeSpace/code-signal/blob/main/LICENSE", |
| 33 | + |
| 34 | + "documentation_basics_status": "Met", |
| 35 | + "documentation_basics_justification": "README.md covers installation, build from source, quickstart commands, exit-code policy, configuration, supported languages, and privacy/security constraints.", |
| 36 | + "documentation_interface_status": "Met", |
| 37 | + "documentation_interface_justification": "README.md documents the external CLI interface: scan, diff, detect, doctor, JSON mode, timeout/config options, config schema, and report contract.", |
| 38 | + |
| 39 | + "sites_https_status": "Met", |
| 40 | + "sites_https_justification": "The project website, repository, Best Practices page, and GitHub release/download URLs use HTTPS.", |
| 41 | + "discussion_status": "Met", |
| 42 | + "discussion_justification": "GitHub Issues and Pull Requests provide searchable, URL-addressable public discussion.", |
| 43 | + "english_status": "Met", |
| 44 | + "english_justification": "README.md, CONTRIBUTING.md, SECURITY.md, CHANGELOG.md, workflows, code comments, and public project communication are in English.", |
| 45 | + "maintained_status": "Met", |
| 46 | + "maintained_justification": "The repository is actively maintained on main, with CI/security checks and SECURITY.md response targets.", |
| 47 | + |
| 48 | + "repo_public_status": "Met", |
| 49 | + "repo_public_justification": "Source is publicly readable on GitHub at https://github.com/RandomCodeSpace/code-signal.", |
| 50 | + "repo_track_status": "Met", |
| 51 | + "repo_track_justification": "Git records who changed what and when. Main is protected after bootstrap.", |
| 52 | + "repo_interim_status": "Met", |
| 53 | + "repo_interim_justification": "CONTRIBUTING.md requires feature branches and pull requests for review before merge to main.", |
| 54 | + "repo_distributed_status": "Met", |
| 55 | + "repo_distributed_justification": "The project uses Git, a distributed version control system.", |
| 56 | + |
| 57 | + "version_unique_status": "Met", |
| 58 | + "version_unique_justification": "Releases use immutable SemVer git tags such as v0.1.0 and GitHub Releases generated by release-go.yml.", |
| 59 | + "version_semver_status": "Met", |
| 60 | + "version_semver_justification": "The release workflow is tag-triggered on vX.Y.Z SemVer tags.", |
| 61 | + "version_tags_status": "Met", |
| 62 | + "version_tags_justification": "release-go.yml is triggered by pushed SemVer tags and publishes artifacts for that tag.", |
| 63 | + "release_notes_status": "Met", |
| 64 | + "release_notes_justification": "GitHub Releases are used for human-readable release notes. CHANGELOG.md records unreleased changes.", |
| 65 | + "release_notes_url": "https://github.com/RandomCodeSpace/code-signal/releases", |
| 66 | + "release_notes_vulns_status": "Met", |
| 67 | + "release_notes_vulns_justification": "SECURITY.md requires confirmed security fixes to be documented through the security advisory and release process.", |
| 68 | + |
| 69 | + "report_process_status": "Met", |
| 70 | + "report_process_justification": "GitHub Issues are used for non-security bugs. SECURITY.md documents private vulnerability reporting.", |
| 71 | + "report_process_url": "https://github.com/RandomCodeSpace/code-signal/issues", |
| 72 | + "report_tracker_status": "Met", |
| 73 | + "report_tracker_justification": "GitHub Issues tracks individual bug reports and enhancements.", |
| 74 | + "report_responses_status": "Met", |
| 75 | + "report_responses_justification": "SECURITY.md and CONTRIBUTING.md document response and triage expectations; there are no stale public reports at bootstrap.", |
| 76 | + "enhancement_responses_status": "Met", |
| 77 | + "enhancement_responses_justification": "Enhancements are tracked through GitHub Issues and Pull Requests; there are no stale enhancement requests at bootstrap.", |
| 78 | + "report_archive_status": "Met", |
| 79 | + "report_archive_justification": "GitHub Issues and Pull Requests remain publicly searchable and URL-addressable after closure.", |
| 80 | + "report_archive_url": "https://github.com/RandomCodeSpace/code-signal/issues", |
| 81 | + |
| 82 | + "vulnerability_report_process_status": "Met", |
| 83 | + "vulnerability_report_process_justification": "SECURITY.md documents private vulnerability reporting through GitHub advisories or maintainer email.", |
| 84 | + "vulnerability_report_process_url": "https://github.com/RandomCodeSpace/code-signal/blob/main/SECURITY.md", |
| 85 | + "vulnerability_report_private_status": "Met", |
| 86 | + "vulnerability_report_private_justification": "SECURITY.md directs reporters to GitHub private vulnerability reporting and a private email fallback.", |
| 87 | + "vulnerability_report_response_status": "Met", |
| 88 | + "vulnerability_report_response_justification": "SECURITY.md targets acknowledgement within 72 hours and triage within 7 days.", |
| 89 | + |
| 90 | + "build_status": "Met", |
| 91 | + "build_justification": "The project builds from source with the standard Go toolchain: go build ./cmd/scanner. CI and release-go.yml run the same build path.", |
| 92 | + "build_common_tools_status": "Met", |
| 93 | + "build_common_tools_justification": "The build uses Go modules and the Go toolchain, common FLOSS tools for Go projects.", |
| 94 | + "build_floss_tools_status": "Met", |
| 95 | + "build_floss_tools_justification": "Go, GitHub Actions, Goreleaser, Syft, Cosign, and the security scanners used by CI are FLOSS or free OSS tooling.", |
| 96 | + |
| 97 | + "test_status": "Met", |
| 98 | + "test_justification": "The repository includes Go unit/integration tests and documents go test ./... in README.md and CONTRIBUTING.md.", |
| 99 | + "test_invocation_status": "Met", |
| 100 | + "test_invocation_justification": "The standard Go command go test ./... runs the test suite locally and in CI.", |
| 101 | + "test_most_status": "Met", |
| 102 | + "test_most_justification": "Tests cover CLI exit behavior, config parsing, language detection, aggregate reporting, duplicate detection, scoring, local git snapshots, offline guards, and performance guards.", |
| 103 | + "test_continuous_integration_status": "Met", |
| 104 | + "test_continuous_integration_justification": ".github/workflows/go-ci.yml runs tests on push and pull_request to main.", |
| 105 | + "test_policy_status": "Met", |
| 106 | + "test_policy_justification": "CONTRIBUTING.md requires tests for behavior changes and scanner rule changes.", |
| 107 | + "tests_are_added_status": "Met", |
| 108 | + "tests_are_added_justification": "Recent scanner behavior changes include corresponding Go tests for config rejection, exit codes, language detection, and built-in rule behavior.", |
| 109 | + "tests_documented_added_status": "Met", |
| 110 | + "tests_documented_added_justification": "CONTRIBUTING.md documents the test policy for new behavior.", |
| 111 | + |
| 112 | + "warnings_status": "Met", |
| 113 | + "warnings_justification": "go-ci.yml runs go vet, staticcheck, gosec, and govulncheck.", |
| 114 | + "warnings_fixed_status": "Met", |
| 115 | + "warnings_fixed_justification": "CI gates require vet, tests, staticcheck, gosec, and govulncheck to pass before merge.", |
| 116 | + "warnings_strict_status": "Met", |
| 117 | + "warnings_strict_justification": "CI treats vet/staticcheck/gosec/govulncheck failures as job failures.", |
| 118 | + |
| 119 | + "know_secure_design_status": "Met", |
| 120 | + "know_secure_design_justification": "SECURITY.md documents the local-only threat model, no-network/no-telemetry constraint, aggregate-only output contract, and vulnerability response process.", |
| 121 | + "know_common_errors_status": "Met", |
| 122 | + "know_common_errors_justification": "Security CI runs Semgrep OWASP/security-audit/golang rules, gosec, govulncheck, OSV-Scanner, Trivy, and Gitleaks.", |
| 123 | + |
| 124 | + "crypto_published_status": "N/A", |
| 125 | + "crypto_published_justification": "code-signal does not implement cryptographic protocols or algorithms for application security.", |
| 126 | + "crypto_call_status": "N/A", |
| 127 | + "crypto_call_justification": "The project does not implement custom cryptography.", |
| 128 | + "crypto_floss_status": "N/A", |
| 129 | + "crypto_floss_justification": "No project-specific cryptographic functionality is shipped.", |
| 130 | + "crypto_keylength_status": "N/A", |
| 131 | + "crypto_keylength_justification": "The project does not configure cryptographic key lengths.", |
| 132 | + "crypto_working_status": "Met", |
| 133 | + "crypto_working_justification": "The scanner does not depend on broken cryptographic algorithms for security. It avoids runtime network transport entirely.", |
| 134 | + "crypto_weaknesses_status": "Met", |
| 135 | + "crypto_weaknesses_justification": "No weak cryptographic protocol is used by the scanner runtime.", |
| 136 | + "crypto_pfs_status": "N/A", |
| 137 | + "crypto_pfs_justification": "code-signal is a local CLI and does not terminate network sessions.", |
| 138 | + "crypto_password_storage_status": "N/A", |
| 139 | + "crypto_password_storage_justification": "code-signal does not authenticate users or store passwords.", |
| 140 | + "crypto_random_status": "N/A", |
| 141 | + "crypto_random_justification": "The scanner does not generate cryptographic keys or nonces.", |
| 142 | + |
| 143 | + "delivery_mitm_status": "Met", |
| 144 | + "delivery_mitm_justification": "Source and release artifacts are distributed over HTTPS by GitHub. Release checksums are signed with Sigstore keyless signing in .goreleaser.yml.", |
| 145 | + "delivery_unsigned_status": "Met", |
| 146 | + "delivery_unsigned_justification": "Release checksums are signed by Cosign and release artifacts include SHA-256 checksums.", |
| 147 | + "vulnerabilities_fixed_60_days_status": "Met", |
| 148 | + "vulnerabilities_fixed_60_days_justification": "SECURITY.md requires confirmed high/critical vulnerabilities to be fixed before normal feature work; CI includes OSV, Trivy, Semgrep, gosec, govulncheck, and Gitleaks gates.", |
| 149 | + "vulnerabilities_critical_fixed_status": "Met", |
| 150 | + "vulnerabilities_critical_fixed_justification": "High/critical findings from CI security tools block merge and SECURITY.md prioritizes confirmed high/critical issues.", |
| 151 | + "no_leaked_credentials_status": "Met", |
| 152 | + "no_leaked_credentials_justification": "Gitleaks scans the full git history in security.yml, and .gitignore excludes common secret file patterns.", |
| 153 | + |
| 154 | + "static_analysis_status": "Met", |
| 155 | + "static_analysis_justification": "go-ci.yml runs staticcheck, gosec, and govulncheck. security.yml runs Semgrep security-audit, OWASP Top 10, and Go rules. sonarcloud.yml analyzes project key RandomCodeSpace_code-signal when SONAR_TOKEN is configured.", |
| 156 | + "static_analysis_common_vulnerabilities_status": "Met", |
| 157 | + "static_analysis_common_vulnerabilities_justification": "SonarCloud, Semgrep OWASP/security-audit/golang, gosec, govulncheck, OSV-Scanner, and Trivy cover common vulnerability classes for Go and repository configuration.", |
| 158 | + "static_analysis_fixed_status": "Met", |
| 159 | + "static_analysis_fixed_justification": "Static-analysis jobs fail CI and must be fixed before protected-branch merge.", |
| 160 | + "static_analysis_often_status": "Met", |
| 161 | + "static_analysis_often_justification": "Static analysis runs on push, pull_request, and weekly scheduled security scans; SonarCloud runs on push and pull_request when SONAR_TOKEN is configured.", |
| 162 | + |
| 163 | + "dynamic_analysis_status": "Unmet", |
| 164 | + "dynamic_analysis_justification": "No fuzzing or DAST pipeline is currently configured. The project is a local CLI with no public network service.", |
| 165 | + "dynamic_analysis_unsafe_status": "N/A", |
| 166 | + "dynamic_analysis_unsafe_justification": "The project is written in memory-safe Go and CGO is disabled for release builds.", |
| 167 | + "dynamic_analysis_enable_assertions_status": "N/A", |
| 168 | + "dynamic_analysis_enable_assertions_justification": "Go does not use assertion-enable runtime modes comparable to C/C++ or JVM assertion flags for this project.", |
| 169 | + "dynamic_analysis_fixed_status": "Met", |
| 170 | + "dynamic_analysis_fixed_justification": "Any future exploitable vulnerability found by dynamic analysis would be handled under SECURITY.md and branch-protection remediation gates." |
| 171 | +} |
0 commit comments