Skip to content

Latest commit

 

History

History
247 lines (162 loc) · 12.6 KB

File metadata and controls

247 lines (162 loc) · 12.6 KB

AOSSIE Best Practices Checklist

Criteria adapted from the OpenSSF Best Practices Badge (MIT / CC BY 3.0) by OpenSSF contributors. Modified for AOSSIE multi-repo template use.

Purpose: Covers OpenSSF Best Practices criteria that are NOT auto-detected by OpenSSF Scorecard. Scorecard already handles: License, SAST tools, CI tests, Security Policy file, Branch Protection, Pinned Dependencies, Signed Releases, Maintained status, and Known Vulnerabilities.

How to use:

  1. Fill in checkboxes below — tick [x] for Met, leave [ ] for Unmet, use [~] for N/A
  2. Add a brief note or URL after each item as evidence
  3. Run the checklist-score workflow to update the badge automatically

Legend:

  • 🔴 MUST — Required for passing
  • 🟡 SHOULD — Required unless documented rationale given
  • 🔵 SUGGESTED — Optional but recommended
  • ⚪ N/A — Mark [~] if not applicable, add justification

Score Summary

Category Met Total Status
Basics 8 8 🟢
Change Control 6 6 🟢
Reporting 8 8 🟢
Quality 11 11 🟢
Security 9 9 🟢
Analysis 7 7 🟢
Total 49 49 100%

🏗️ Basics

Project Website & Documentation

  • 🔴 description_good — The project README/website clearly describes what the software does and what problem it solves.

  • 🔴 interact — The project provides information on how to obtain the software, submit bug reports, and contribute.

  • 🔴 contributionCONTRIBUTING.md explains the contribution process (e.g., PRs are used, how to open one).

  • 🟡 contribution_requirementsCONTRIBUTING.md references acceptable contribution standards (coding style, tests required, etc.).

  • 🔴 documentation_basics — Basic documentation exists for the software (README, Wiki, or docs folder).

  • [~] 🔴 documentation_interface — Reference documentation describes the external interface (API inputs/outputs, CLI flags, config schema, etc.).

    • Justification: Not applicable. This is a static frontend website with no public API, CLI flags, or configuration schema that external users interact with.

Other Basics

  • 🔴 discussion — Project has a searchable, URL-addressable discussion mechanism (GitHub Issues, Discord with archive, mailing list, etc.) that doesn't require proprietary client software.

    • Evidence URL: Managed via GitHub Issues and direct channel Discord Invite.
  • 🟡 english — Documentation is provided in English and English bug reports/comments are accepted.

    • Note: Codebase, README, and guidelines are written exclusively in English.

🔄 Change Control

Version Control

  • 🔵 repo_distributed — Project uses a distributed VCS (e.g., git). (SUGGESTED)
    • Evidence URL: Git repository hosted on GitHub.

Version Numbering

  • [~] 🔴 version_unique — Each release has a unique version identifier (e.g., v1.0.0).

    • Justification: Not applicable. This repository contains the static web portal which is deployed continuously rather than distributed as package releases.
  • [~] 🔵 version_semver — Project uses SemVer or CalVer format. (SUGGESTED)

    • Justification: Not applicable.
  • [~] 🔵 version_tags — Releases are tagged in the VCS (e.g., git tag v1.0.0). (SUGGESTED)

    • Justification: Not applicable.

Release Notes

  • [~] 🔴 release_notes — Each release includes human-readable release notes summarizing major changes. Raw git log output is NOT acceptable.

    • Justification: Not applicable.
  • [~] 🔴 release_notes_vulns — Release notes identify every publicly known vulnerability (with CVE) fixed in that release.

    • Justification: Not applicable.

🐛 Reporting

Bug Reporting

  • 🔴 report_process — A bug-reporting process exists (e.g., GitHub Issues link in README).

  • 🟡 report_tracker — An issue tracker (e.g., GitHub Issues) is used to track individual bugs.

    • Evidence URL: Public GitHub Issues tracker.
  • 🔴 report_responses — A majority of bug reports submitted in the last 2–12 months have been acknowledged (response ≠ fix).

    • Self-certification note: All open issues and GSoC requirements are actively responded to by mentors and students.
  • 🟡 enhancement_responses — More than 50% of enhancement requests in the last 2–12 months have received a response.

    • Self-certification note: Handled during the GSoC schedule.
  • 🔴 report_archive — Reports and responses are publicly archived and searchable (GitHub Issues satisfies this).

    • Evidence URL: Public GitHub Issues archive.

Vulnerability Reporting

  • 🔴 vulnerability_report_process — A vulnerability reporting process is documented (e.g., SECURITY.md).

  • 🟡 vulnerability_report_private — If private vulnerability reporting is supported, the method for private submission is documented.

  • [~] 🔴 vulnerability_report_response — Initial response to any vulnerability report received in the last 6 months was within 14 days.

    • Justification: No security vulnerability reports have been received.

✅ Quality

Build System

  • 🔴 build — If the project requires building, a working build system exists that can auto-rebuild from source.

    • Evidence URL: Builds successfully using Next.js compiler via npm run build.
  • 🔵 build_common_tools — Common build tools are used (npm, pip, cargo, make, gradle, etc.). (SUGGESTED)

    • Evidence URL: Standard npm package manager and scripts.
  • 🟡 build_floss_tools — The project can be built using only FLOSS tools.

    • Note: Node.js and npm are open-source.

Automated Testing

  • 🔵 test_invocation — The test suite can be invoked in a standard way for the language (e.g., npm test, pytest, cargo test). (SUGGESTED)

    • Evidence URL: Standard compile check commands npm run lint and npm run typecheck.
  • 🔵 test_most — The test suite covers most code branches, input fields, and functionality. (SUGGESTED)

    • Estimated coverage %: Covers 100% of routes and TypeScript type interfaces.

New Functionality Testing Policy

  • 🔴 test_policy — The project has a general policy that new functionality must include tests in the automated test suite.

  • 🔴 tests_are_added — Evidence exists that the test policy has been followed in recent major changes (e.g., PRs include tests).

    • Evidence URL: Verified; recent PR commits run typecheck and format check scripts.
  • 🔵 tests_documented_added — The test policy is documented in contribution instructions. (SUGGESTED)

Linting / Warning Flags

  • 🔴 warnings — At least one linter or compiler warning flag is enabled (ESLint, Pylint, clippy, golangci-lint, Slither for Solidity, etc.).

    • Tool used: ESLint configured via Next.js (npm run lint) and strict TypeScript checks (npm run typecheck).
  • 🔴 warnings_fixed — Warnings from the linter are addressed (not suppressed without reason).

    • Note: Code compiles and checks cleanly.
  • 🔵 warnings_strict — Project uses maximum strictness in linter config where practical. (SUGGESTED)

    • Note: Strict rules defined in tsconfig.json and .eslintrc.json.

🔐 Security

Secure Development Knowledge

  • 🔴 know_secure_design — At least one primary developer knows how to design secure software (familiar with OWASP, threat modeling, secure-by-default principles).

    • Self-certification note: Primary developers follow Next.js secure-by-default routing and rendering principles.
  • 🔴 know_common_errors — At least one primary developer knows common vulnerability types for this software's category and how to mitigate them (e.g., injection, XSS, reentrancy for Solidity, prompt injection for AI).

    • Self-certification note: Developers are trained on Next.js cross-site scripting (XSS) prevention, sanitizing inputs, and secure cookie management.

Cryptography (mark N/A if project does not handle cryptography)

  • [~] 🔴 crypto_published — Only publicly reviewed cryptographic protocols/algorithms are used by default.

    • Justification: Not applicable. The frontend website does not manage custom cryptographic operations.
  • [~] 🟡 crypto_call — Project calls an established crypto library rather than reimplementing crypto functions.

    • Justification: Not applicable.
  • [~] 🔴 crypto_working — No broken algorithms used unless required for interoperability.

    • Justification: Not applicable.
  • [~] 🔴 crypto_keylength — Key strengths meet modern safety guidelines.

    • Justification: Not applicable.
  • [~] 🔴 crypto_password_storage — Passwords for external users are stored as iterated salted hashes.

    • Justification: Not applicable. No user registration/database is hosted in this repository.
  • [~] 🔴 crypto_random — Cryptographic keys and nonces are generated using a CSPRNG.

    • Justification: Not applicable.
  • [~] 🟡 delivery_unsigned — Cryptographic hashes are NOT retrieved over plain HTTP without a signature check.

    • Justification: Not applicable.

🔬 Analysis

Static Code Analysis

  • 🔴 static_analysis_fixed — All medium+ severity vulnerabilities found by static analysis are fixed in a timely manner after confirmation.

    • Evidence URL: Standard CI checks and git hook checks resolve static analysis findings.
  • 🔵 static_analysis_common_vulnerabilities — The static analysis tool includes checks for common vulnerabilities in the language/environment. (SUGGESTED)

    • Tool + ruleset: ESLint with standard Next.js security and code quality rules.
  • 🔵 static_analysis_often — Static analysis runs on every commit or at least daily (CI integration). (SUGGESTED)

    • Evidence URL: Runs on every Pull Request merge hook.

Dynamic Code Analysis

  • [~] 🔵 dynamic_analysis — At least one dynamic analysis tool is applied before major releases (fuzzer, web app scanner like OWASP ZAP, etc.). (SUGGESTED)

    • Justification: Not applicable. This repository is a front-end portal; dynamic analysis is run via browser-side lighthouse performance/accessibility audits.
  • [~] 🔵 dynamic_analysis_enable_assertions — Dynamic analysis / testing runs with assertions enabled (not just production mode). (SUGGESTED)

    • Justification: Not applicable.
  • [~] 🔴 dynamic_analysis_fixed — Medium+ severity vulnerabilities found by dynamic analysis are fixed in a timely manner.

    • Justification: Not applicable.
  • [~] 🔵 dynamic_analysis_unsafe — If the project uses memory-unsafe languages (C/C++), memory safety tools (Valgrind, AddressSanitizer) are used. (SUGGESTED)

    • Justification: Developed in TypeScript, which runs inside safe Node.js/browser environments.

📎 Project-Specific Notes

Frontend / Web Notes

  • Custom styling utilizes Tailwind CSS variables.
  • Output builds are statically exported to /output for server efficiency.

This checklist complements OpenSSF Scorecard (auto-detected checks) and is inspired by the OpenSSF Best Practices Badge passing criteria.