Pokelet

遵循以下最佳实践的项目将能够自愿的自我认证,并显示他们已经实现了核心基础设施计划(OpenSSF)徽章。

没有一套可以保证软件永远不会有缺陷或漏洞的做法;如果规范或假设是错误的,即使合适的方法也可能失败。也没有哪些做法可以保证一个项目能够维持健康和运作良好的开发者社区。但是,遵循最佳做法可以帮助改善项目的成果。例如,一些做法可以在发布之前进行多人评估,这可以帮助您找到其他难以找到的技术漏洞,并帮助建立信任,并希望不同公司的开发人员之间进行重复的交互。要获得徽章,必须满足所有“必须”和“禁止”的条款,满足所有“应该”条款或有合适的理由,和所有“建议”条款必须满足或未满足(至少希望考虑)。欢迎通过 GitHub网站创建问题或提出请求进行反馈。另外还有一个一般讨论邮件列表。

如果这是您的项目,请在您的项目页面上显示您的徽章状态!徽章状态如下所示: 项目16999的徽章级别为passing 这里是如何嵌入它:
您可以通过将其嵌入在您的Markdown文件中:
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/16999/badge)](https://www.bestpractices.dev/projects/16999)
或将其嵌入到HTML中来显示您的徽章状态:
<a href="https://www.bestpractices.dev/projects/16999"><img src="https://www.bestpractices.dev/projects/16999/badge"></a>


这些是通过级别条款。您还可以查看白银或黄金级别条款。

Baseline Series: 基准等级1 基准等级2 基准等级3

        

 基本 13/13 ●

  • 常规

    请注意,其他项目可能使用相同的名称。

    Free, open-source animated cursor companion for macOS. Four cartoon characters, custom colours, optional sounds and playful click effects.

    请使用 SPDX许可证表达格式;例子包括“Apache-2.0”,“BSD-2-Clause”,“BSD-3-Clause”,“GPL-2.0+”,“LGPL-3.0 +”,“MIT”和“(BSD-2-Clause OR Ruby)”。
    如果有多种语言,请将它们列为逗号分隔值(可选空格),并将它们从最多到最少使用。如果有长列表,请至少列出前三个最常见的列表。如果没有语言(例如,这是仅文档或仅测试项目),请使用单个字符“ - ”。请使用每种语言的常规大小写,例如“JavaScript”。
    通用平台枚举(CPE)是用于信息技术系统,软件和软件包的结构化命名方案。在报告漏洞时,它可用于多个系统和数据库。
  • 基本项目网站内容


    项目网站必须简明扼要地描述软件的作用(它解决了什么问题?)。 [description_good]
    必须采用潜在用户可以理解的语言(例如,它使用最少的术语/行话)。

    Pokelet's website explains what the application does and who it is for. It is a free, open-source animated cursor companion for macOS, with four original characters, custom colours, click animations and optional sounds. Visitors can try the characters directly on the website before downloading the app.

    https://smcnab1.github.io/pokelet/
    https://github.com/smcnab1/pokelet/blob/main/README.md



    项目网站必须提供有关如何获取和提供反馈(错误报告或增强功能)以及如何贡献的信息。 [interact]

    The website provides download links through GitHub Releases and links to the public source repository. The README explains installation, checksum verification, reporting bugs, suggesting features and contributing. GitHub has separate forms for bug reports and feature requests, and a contributing guide explains the development process.

    https://smcnab1.github.io/pokelet/
    https://github.com/smcnab1/pokelet/releases
    https://github.com/smcnab1/pokelet/issues/new/choose
    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md



    关于如何贡献的信息必须解释贡献流程(例如,是否使用拉请求?) (需要网址) [contribution]
    除非另有说明,否则我们假定 GitHub上的项目使用问题列表(Issues)和拉(Pull)请求。这些信息可以简短,例如,说明项目使用拉请求,问题跟踪器或邮寄到邮件列表中的哪一个。

    The contributing guide explains how to propose a change, create a branch from main, run the relevant checks and submit a pull request. Contributors are asked to describe their changes, provide testing evidence and wait for CI and review before merging. GitHub Issues are used to discuss bugs and feature proposals before implementation.

    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/blob/main/.github/PULL_REQUEST_TEMPLATE.md
    https://github.com/smcnab1/pokelet/pulls



    关于如何贡献的信息应包括对可接受的贡献的要求(例如,引用任何所需的编码标准)。 (需要网址) [contribution_requirements]

    CONTRIBUTING.md sets out what is expected from contributions. Changes should be focused, built and tested with the appropriate Xcode and Swift tooling, and accompanied by a clear explanation of the changes and checks performed. New functionality or regression fixes should include automated tests where practical. Changes involving live cursor or input behaviour need documented manual testing where automation is unsuitable. Artwork and audio contributions must include their origin and licensing details. The pull-request template asks for testing, compatibility information and screenshots for visual changes.

    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/blob/main/.github/PULL_REQUEST_TEMPLATE.md


  • FLOSS许可证


    项目生产的软件必须作为FLOSS发布。 [floss_license]
    FLOSS是以符合开源定义或免费软件定义。此类许可证的示例包括 CC0 , MIT , BSD 2条款, BSD 3条款修订版, Apache 2.0 , Lesser GNU通用公共许可证(LGPL),以及 GNU通用公共许可证(GPL)。为了我们的目的,这意味着许可证必须是:该软件也可以用其他许可证(例如,“GPLv2或专有”是可以接受的)。

    Pokelet is released as free and open-source software under the MIT licence. The source code is publicly available on GitHub, including the macOS application, cursor rendering, settings interface, tests and build scripts. The project also publishes third-party notices covering the adapted Quiet Pointer code and other assets.

    https://github.com/smcnab1/pokelet
    https://github.com/smcnab1/pokelet/blob/main/LICENSE
    https://github.com/smcnab1/pokelet/blob/main/THIRD_PARTY_NOTICES.md



    建议由项目生成的软件的任何必需的许可证是由开放源码促进会(OSI)批准的许可证(英文)。 [floss_license_osi]
    OSI (开放源代码促进会)使用严格的审批流程来确定哪些许可证是开源软件(OSS)。

    Pokelet uses the MIT licence, which is approved by the Open Source Initiative. The full licence text is available in the repository's LICENSE file. The project also retains the MIT licence notice for the adapted Quiet Pointer components and records the relevant attribution in THIRD_PARTY_NOTICES.md.

    https://github.com/smcnab1/pokelet/blob/main/LICENSE
    https://opensource.org/license/mit
    https://github.com/smcnab1/pokelet/blob/main/THIRD_PARTY_NOTICES.md



    项目必须将其许可证在其源代码存储库中的标准位置发布。 (需要网址) [license_location]
    一种约定是将许可证发布为名为LICENSE或COPYING的顶级文件,其后可以带有扩展名,例如“ .txt”或“ .md”。另一种约定是使用一个名为LICENSES的目录,其中包含许可证文件。这些文件通常被命名为其SPDX许可证标识符,后跟适当的文件扩展名,如REUSE Specification中所述。请注意,此标准只是源存储库上的要求。从源代码生成某些内容(例如可执行文件,程序包或容器)时,无需包括许可证文件。例如,在为综合R存档网络(CRAN)生成R软件包时,请遵循标准CRAN惯例:如果许可证是标准许可证,请使用标准简短许可证规范(以避免安装另一文本副本)并列出排除文件(例如.Rbuildignore)中的LICENSE文件。同样,在创建Debian软件包时,您可以在版权文件中放置一个指向/ usr / share / common-licenses中的许可证文本的链接,并从创建的软件包中排除许可证文件(例如,通过在调用dh_auto_install之后删除文件) )。我们鼓励在可行的情况下以生成的格式包含机器可读的许可证信息。

    The project's MIT licence is stored in LICENSE at the root of the source repository, making it easy to find from GitHub and when viewing or downloading the source. Additional third-party licence information is kept in THIRD_PARTY_NOTICES.md, including the upstream Quiet Pointer attribution and the website font licence.

    https://github.com/smcnab1/pokelet/blob/main/LICENSE
    https://github.com/smcnab1/pokelet/blob/main/THIRD_PARTY_NOTICES.md


  • 文档


    项目必须为项目生成的软件提供基本文档。 [documentation_basics]
    该文档必须在某些媒体(例如文本或视频)中,包括:如何安装它,如何启动它,如何使用它(可能使用教程使用示例)以及如何安全地使用它(例如,做什么和不做什么),如果这是软件的一个适当的话题。安全文档不需要太长篇幅。项目可以使用非项目内容的超文本链接作为文档。如果项目不生产软件,请选择“不适用”(N/A)。

    The README provides installation and first-launch instructions, explains how to enable and configure the cursor, documents keyboard shortcuts, and covers building from source and uninstalling. It also explains the macOS security warnings associated with the unnotarised beta. More detailed documentation covers Studio, privacy, security reporting, testing and release verification.

    https://github.com/smcnab1/pokelet/blob/main/README.md
    https://github.com/smcnab1/pokelet/blob/main/docs/STUDIO.md
    https://github.com/smcnab1/pokelet/blob/main/PRIVACY.md
    https://github.com/smcnab1/pokelet/blob/main/docs/RELEASE_CHECKLIST.md



    项目必须提供描述项目生成的软件的外部接口(输入和输出)的参考文档。 [documentation_interface]
    外部接口的文档向最终用户或开发人员解释如何使用它。这将包括其应用程序接口(API),如果软件有。如果它是一个库,记录可以调用的主要类/类型和方法/函数。如果是Web应用程序,定义其URL接口(通常是其REST接口)。如果是命令行界面,请记录其支持的参数和选项。在许多情况下,最好是自动生成大部分文档,以便本文档随着软件的更改而保持同步,但这并不是必需的。项目可以使用非项目材料的超文本链接作为文档。文档可以自动生成(实际上这通常是最好的方法)。可以使用Swagger / OpenAPI生成REST接口的文档。代码界面文档可以使用 JSDoc (JavaScript), ESDoc (JavaScript),pydoc(Python)和Doxygen(很多)。仅在实现代码中添加注释不足以满足本条款;在没有阅读所有源代码的情况下,需要一个简单的方法来查看信息。如果项目不生产软件,请选择“不适用”(N/A)。

    Pokelet is a graphical macOS application and does not expose a public programming API. Its user-facing interface is documented in the README and Studio guide. These explain the available controls and their effects, including cursor selection, size, colours, Companion and Click-only modes, replacement within Studio, animations, sound playback and keyboard shortcuts. The Studio guide also documents Presenter Arm, Dock/menu-bar behaviour and the visual responses to user input. Experimental Presentation Mode controls are documented separately and are disabled in public Release builds.

    https://github.com/smcnab1/pokelet/blob/main/docs/STUDIO.md
    https://github.com/smcnab1/pokelet/blob/main/README.md
    https://github.com/smcnab1/pokelet/blob/main/docs/INTERACTIVE_ACCEPTANCE.md


  • 其他


    项目网站(网站,存储库和下载URL)必须使用TLS支持HTTPS。 [sites_https]
    您可以从Let's Encrypt获取免费证书。项目可以使用(例如) GitHub页面实现此条款, GitLab页面,或 SourceForge项目页面。如果您使用具有自定义域的GitHub页面,则可以使用内容传送网络(CDN)作为代理来支持HTTPS,例如博客文章“使用CloudFlare安全加速GitHub页面”,以满足此条款。如果您支持HTTP,我们敦促您将HTTP流量重定向到HTTPS。

    The official website is hosted through GitHub Pages over HTTPS. The source repository, issue tracker and release downloads are hosted on GitHub and use HTTPS URLs. The installation documentation directs users to these locations and provides SHA-256 checksum verification for release downloads.

    https://smcnab1.github.io/pokelet/
    https://github.com/smcnab1/pokelet
    https://github.com/smcnab1/pokelet/releases



    该项目必须有一个或多个讨论机制(包括建议的更改和问题),可搜索,允许通过URL访问消息和主题,使新人能够参与一些讨论,并且不需要客户端安装专有软件。 [discussion]
    可接受机制的示例包括归档邮件列表,GitHub问题和拉请求讨论,Bugzilla,Mantis和Trac。如果满足这些标准,异步讨论机制(如IRC)是可以接受的;确保有一个URL可访问归档机制。允许专有JavaScript,但不鼓励。

    Pokelet uses GitHub Issues for bug reports, feature requests and general development feedback. Pull requests provide a public place to discuss proposed changes, review code and record decisions. These conversations have permanent links, are publicly readable and searchable, and can be accessed through a normal web browser. Contributors do not need to install any additional software to take part in discussions, although a GitHub account is required to post.

    https://github.com/smcnab1/pokelet/issues
    https://github.com/smcnab1/pokelet/pulls
    https://github.com/smcnab1/pokelet/issues/new/choose



    项目应该提供英文文档,并能够接受英文的代码的错误报告和评论。 [english]
    英语是计算机技术的通用语言;支持英语增加了全球不同潜在开发者和检视者的数量。即使核心开发人员的主要语言不是英文,项目也可以达到这个标准。

    Pokelet's website, README, contribution instructions, security policy and technical documentation are written in English. Bug reports and feature requests use English-language GitHub forms, and developers can discuss issues or review proposed code changes in English through the public repository.

    https://smcnab1.github.io/pokelet/
    https://github.com/smcnab1/pokelet/blob/main/README.md
    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/issues/new/choose



    必须维护该项目。 [maintained]
    至少,项目应尝试响应重大问题和漏洞报告。可能正在维护一个积极追求徽章的项目。所有项目和人员的资源都有限,典型项目必须拒绝某些提议的更改,因此有限的资源和提议拒绝本身并不表示未维护的项目。

    当项目知道将不再维护该项目时,应将此标准设置为“未满足”,并使用适当的机制向其他人指示该项目将不会得到维护。例如,使用“ DEPRECATED”作为其自述文件的第一个标题,在其主页开头附近添加“ DEPRECATED”,在其代码存储库项目说明的开头添加“ DEPRECATED”,在其中添加无需维护的标志其自述文件和/或主页,在任何软件包存储库中将其标记为已弃用(例如npm deprecate ),和/或使用代码存储库的标记系统对其进行归档(例如GitHub的“ archive”设置,GitLab的“ archived”标记, Gerrit的“只读”状态,或SourceForge的“已放弃”项目状态)。可以在这里找到更多讨论。

    Pokelet is actively maintained and developed. The GitHub history shows recent work on the native macOS app, Pokelet Studio, the premium DMG installer, the public website and automated security checks. Changes are tracked through commits and pull requests, with GitHub Actions running build and test checks. The project maintains a changelog, contribution guide and security policy. Pokelet is a relatively new project, so it does not yet have a long-term maintenance history.

    https://github.com/smcnab1/pokelet/commits/main
    https://github.com/smcnab1/pokelet/pulls
    https://github.com/smcnab1/pokelet/actions
    https://github.com/smcnab1/pokelet/blob/main/CHANGELOG.md


 变更控制 9/9 ●

  • 公开的版本控制的源代码存储库


    该项目必须有一个版本控制的源代码存储库。它必须是公开可读的并可通过URL访问。 [repo_public]
    该URL可以与项目URL相同。该项目可能在特定情况下使用私人(非公开)分支,而更改不会公开发布(例如,在向公众披露漏洞之前修复漏洞)。

    Pokelet's source code is maintained in a public Git repository on GitHub. The repository can be viewed and cloned without an account and includes the application source, tests, build scripts, website and documentation.

    https://github.com/smcnab1/pokelet



    项目的源代码存储库必须跟踪所做的更改,谁进行了更改,何时进行了更改。 [repo_track]

    Git records the changes made to Pokelet, who committed them and when. GitHub provides a public commit history, including the files changed and the differences between versions. Pull requests provide additional context for significant changes.

    https://github.com/smcnab1/pokelet/commits/main
    https://github.com/smcnab1/pokelet/pulls



    为了实现协作检视,项目的源代码存储库必须包括临时版本,以便检视版本之间的变化;它不得仅包括最终版本。 [repo_interim]
    项目可以选择从其公共源代码库中删除特定的临时版本(例如,修复特定的未公开安全漏洞,可能永远不会公开发布的内容,或者包括不能合法发布而且不是最终版本的内容)。

    Development work is recorded in Git between releases rather than publishing only finished versions. The public repository contains individual commits and pull requests documenting changes to the cursor engine, Studio interface, installer, website and security workflows. These allow changes to be inspected before they form part of a release.

    https://github.com/smcnab1/pokelet/commits/main
    https://github.com/smcnab1/pokelet/pulls



    建议使用通用分布式版本控制软件(例如,git)作为项目的源代码存储库。 [repo_distributed]
    Git不是必须,项目在合适场景可以使用集中版本控制软件(如subversion)。

    Pokelet uses Git, a distributed version control system. The canonical repository is hosted publicly on GitHub. Contributors can clone the repository, create branches, make local commits and submit pull requests.

    https://github.com/smcnab1/pokelet
    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md


  • 唯一版本编号


    项目生成的用于每个用户使用的版本必须具有唯一版本标识符。 [version_unique]
    本条款可以通过各种方式来满足,包括提交ID(例如git提交ID或者Mercurial 更改列表id)或版本号(包括使用语义版本或基于日期的方案,如YYYYMMDD的版本号)。

    Pokelet uses distinct version and build identifiers for its releases. The currently published beta is version 1.1.0, build 2, identified by the Git tag v1.1.0-beta.1. Version 1.2.0, build 3, is being prepared as Beta 2 but has not yet been published. The application version and build are also recorded in its Xcode project configuration.

    https://github.com/smcnab1/pokelet/releases
    https://github.com/smcnab1/pokelet/blob/main/CHANGELOG.md



    建议使用语义版本控制(SemVer)格式进行发布。 [version_semver]
    其他版本编号方案,如提交ID(例如git commit id或mercurial changeset id)或基于日期的方案,如YYYYMMDD,可以用作版本号,因为它们是唯一的。一些备选方案可能会导致问题,因为用户可能无法轻松确定是否是最新的。如果所有目标客户仅运行最新版本,则SemVer可能不太有助于识别软件版本(例如,它是通过持续交付不断更新的单个网站或互联网服务的代码)。


    建议项目识别其版本控制系统中的每个版本。例如,建议使用git的项目,使用git标签识别每个版本。 [version_tags]

    Public releases are identified using Git tags. The published Pokelet 1.1.0 Beta 1 release is associated with v1.1.0-beta.1, which links the downloadable software and its release notes to a specific source revision. The planned Beta 2 tag will only be created after the final source and installer have been approved.

    https://github.com/smcnab1/pokelet/tags
    https://github.com/smcnab1/pokelet/releases/tag/v1.1.0-beta.1


  • 发行说明


    该项目必须在每个版本中提供发布说明,这是该版本中主要变化的可读的摘要,以帮助用户确定是否应升级,升级影响将如何。发行说明不能是版本控制日志的原始输出(例如,“git log”命令结果不是发行说明)。其产出不适用于多个地点的项目(如单个网站或服务的软件),并采用持续交付,可以选择“N/A”。 (需要网址) [release_notes]
    发行说明可以以各种方式实施。许多项目将它们添加到名为“NEWS”,“CHANGELOG”或“ChangeLog”的文件中,可选的包含“.txt”,“.md”或“.html”等扩展名。历史上,术语“更改日志”是指每个更改的日志,但为了满足这些条款,需要的是可读取的摘要。发行说明可以由版本控制系统机制提供,例如 GitHub发布工作流程。

    Pokelet publishes human-readable release notes through GitHub Releases and maintains a separate CHANGELOG.md. The notes describe the main changes, installation requirements, compatibility information and limitations. The published Beta 1 release includes installation and security information. Beta 2 has its own release-notes draft, which will be published with the release following approval.

    https://github.com/smcnab1/pokelet/releases/tag/v1.1.0-beta.1
    https://github.com/smcnab1/pokelet/blob/main/CHANGELOG.md
    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_RELEASE_NOTES_DRAFT.md



    发行说明必须列出每个新版本中修复的每个公开的漏洞。如果没有发行说明或者没有公开的漏洞,选择“不适用”。 [release_notes_vulns]
    如果用户通常不能在自己的计算机上实际更新软件,而必须依靠中间人来执行升级(对于内核和与内核交织的底层软件通常是这种情况),项目可以选择“不适用”(N/A)。

    No publicly known vulnerability with a CVE or equivalent identifier has been identified as fixed in Pokelet's published Beta 1 release. There is therefore no qualifying vulnerability fix to list in those release notes. The project's security policy explains how to report vulnerabilities privately, and future release notes will identify any publicly known vulnerabilities fixed by that release.

    https://github.com/smcnab1/pokelet/releases/tag/v1.1.0-beta.1
    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md


 报告 8/8 ●

  • 错误报告流程


    项目必须为用户提交错误报告(例如,使用问题跟踪器或邮件列表)提供相关流程。 (需要网址) [report_process]

    Pokelet accepts bug reports through GitHub Issues. The repository provides a dedicated bug-report form asking what happened, how to reproduce it, the expected behaviour and relevant system information. The README and application feedback controls direct users to this process. Security vulnerabilities are directed to the separate private reporting procedure.

    https://github.com/smcnab1/pokelet/issues/new?template=bug.yml
    https://github.com/smcnab1/pokelet/blob/main/.github/ISSUE_TEMPLATE/bug.yml
    https://github.com/smcnab1/pokelet/blob/main/README.md



    项目必须使用问题跟踪器来跟踪每个问题。 [report_tracker]

    GitHub Issues is Pokelet's public issue tracker. Each issue has its own reference number, discussion history, labels, assignees and status. Bugs and feature requests have separate submission forms, and issues remain available for searching after they are closed.

    https://github.com/smcnab1/pokelet/issues
    https://github.com/smcnab1/pokelet/issues/new/choose



    该项目必须响应过去2-12个月内(含)提交的大多数错误报告;响应不需要包括修复。 [report_responses]

    Pokelet became publicly available in November 2026. No eligible bug reports were received during the preceding 2–12-month assessment window, so there were no reports requiring acknowledgement. Bug reports are accepted and tracked through GitHub Issues.

    https://github.com/smcnab1/pokelet/issues?q=is%3Aissue



    该项目应该对过去2-12个月内(包括)的大部分(> 50%)的增强请求作出回应。 [enhancement_responses]
    答复可能是“不”或有关其价值的讨论。目的只是对某些请求有一些回应,这表明项目还活着。为了该条款的目的,项目不需要计数无效请求(例如,来自垃圾邮件发送者或自动系统)。如果项目不再进行增强,请选择“未满足”,并将介绍此情况的URL包含在内。如果一个项目有超出处理能力的增强需求数量,请选择“未满足”并解释。

    Pokelet became publicly available in November 2026. No eligible external enhancement requests were received during the preceding 2–12-month assessment window. Feature requests are accepted and discussed through GitHub Issues.

    https://github.com/smcnab1/pokelet/issues?q=is%3Aissue



    该项目必须有一个公开的报告和回复的档案供后续搜索。 (需要网址) [report_archive]

    GitHub Issues provides a public, searchable archive of Pokelet's issue reports and associated discussions. Reports retain their individual URLs and can be filtered by status, labels and other search terms. Closed issues remain accessible, so earlier reports and any recorded responses can be reviewed later.

    https://github.com/smcnab1/pokelet/issues?q=is%3Aissue


  • 漏洞报告流程


    项目必须在项目网站上发布报告漏洞的流程。 (需要网址) [vulnerability_report_process]
    例如,https://PROJECTSITE/security 上的一个明确指定的邮箱地址,通常以 security@example.org 的形式。这可能与其错误报告流程相同。漏洞报告可能一直是公开的,但是许多项目都有一个私密漏洞报告机制。

    Pokelet publishes its vulnerability-reporting procedure in SECURITY.md, which is linked from the README and GitHub security information. The policy directs researchers to GitHub's private security advisory reporting route and identifies the information that is useful when submitting a report. It asks researchers to avoid personal data and keep potentially sensitive vulnerability details private while they are assessed.

    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md
    https://github.com/smcnab1/pokelet/security/policy



    如果支持私有漏洞报告,项目必须包括如何以保密的方式发送信息。 (需要网址) [vulnerability_report_private]
    示例包括使用HTTPS(TLS)或使用OpenPGP加密的电子邮件在网络上提交的私密缺陷报告。如果漏洞报告总是公开的(从来没有私密漏洞报告),请选择“不适用”(N/A)。

    The security policy instructs researchers to submit vulnerability details using GitHub's private vulnerability-reporting facility instead of opening a public issue. It links to the private advisory submission page and asks reporters to provide the affected version, impact and steps to reproduce while avoiding personal information. The public bug-report form also directs security reports to this separate process.

    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md
    https://github.com/smcnab1/pokelet/security/advisories/new
    https://github.com/smcnab1/pokelet/blob/main/.github/ISSUE_TEMPLATE/bug.yml



    该项目在过去6个月收到的任何漏洞报告的初始响应时间必须小于或等于14天。 [vulnerability_report_response]
    如果过去6个月没有报告漏洞,请选择“不适用”(N/A)。

    No vulnerability reports received by Pokelet during the past six months have been identified for this assessment. If the maintainer confirms that no reports have been received, including through private channels, the 14-day initial-response requirement is not applicable for the current assessment period. Any future reports will need to be assessed against the actual acknowledgement dates.

    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md


 质量 13/13 ●

  • 可工作的构建系统


    如果项目生成的软件需要构建使用,项目必须提供可以从源代码自动重新构建软件的可工作的构建系统。 [build]
    构建系统确定重建软件(以及以什么顺序)需要执行哪些操作,然后执行这些步骤。例如,它可以调用编译器来编译源代码。如果从源代码创建可执行文件,则必须可以修改项目的源代码,然后通过这些修改生成更新的可执行文件。如果项目生成的软件取决于外部库,则构建系统不必构建那些外部库。如果在修改源代码之后不需要构建任何使用该软件的软件,请选择“不适用”(N/A)。

    Pokelet can be built from source using the included Xcode project and build scripts. The Pokelet scheme supports Debug and Release configurations, and script/package_release.sh builds and verifies a universal macOS application for Apple silicon and Intel. GitHub Actions also builds the application automatically on pull requests and changes to main, so the build process is checked regularly.

    https://github.com/smcnab1/pokelet/blob/main/Pokelet.xcodeproj/project.pbxproj
    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh
    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml



    建议使用通用工具来构建软件。 [build_common_tools]
    例如,Maven,Ant,cmake,自动工具,make,rake(Ruby)或devtools (R)。

    Pokelet uses Xcode, Swift Package Manager and standard shell scripts. These are established tools for native macOS and Swift development. Developers can open the Xcode project directly or use the documented command-line build process. No custom build service is required.

    https://github.com/smcnab1/pokelet/blob/main/README.md
    https://github.com/smcnab1/pokelet/blob/main/Package.swift
    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh



    该项目应该仅使用FLOSS工具来构建。 [build_floss_tools]

    Pokelet uses the open-source Swift compiler and Swift Package Manager for core builds and tests. However, the native macOS application also requires Apple's proprietary Xcode build tools, macOS SDK and system frameworks. A fully FLOSS-only release build is therefore not currently supported.

    https://github.com/smcnab1/pokelet#build-from-source


  • 自动测试套件


    该项目必须使用至少一个作为FLOSS公开发布的自动测试套件(该测试套件可以作为单独的FLOSS项目维护)。 [test]
    该项目可以使用多个自动测试套件(例如,一个是快速运行的测试套件,而另一个更为彻底但需要特殊设备)。

    Pokelet includes an automated test suite in its public MIT-licensed repository. The Swift Package Manager tests cover application behaviour, preferences, cursor safety, rendering, click sounds and other core functionality. There are also native macOS smoke tests and browser tests for the website. Test commands are documented in CONTRIBUTING.md and run through GitHub Actions. The Beta 2 qualification recorded 46 SwiftPM tests passing on Apple silicon and a further 46 under Rosetta.

    https://github.com/smcnab1/pokelet/tree/main/Tests
    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_RELEASE_READINESS.md



    测试套件应该以该语言的标准方式进行调用。 [test_invocation]
    例如“make check”,“mvn test”或“rake test”。

    The main automated suite uses Swift Package Manager's standard swift test command. Contributors can run it locally using swift test -Xswiftc -warnings-as-errors. Additional native macOS tests use the included shell scripts, while the website has a documented Node.js test process. GitHub Actions runs the core checks automatically.

    https://github.com/smcnab1/pokelet/blob/main/Package.swift
    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/blob/main/docs/WEBSITE.md



    建议测试套件覆盖大部分(或理想情况下所有)代码分支,输入字段和功能。 [test_most]

    Pokelet has 46 automated Swift tests alongside native rendering, layout, pointer recovery and packaging checks. Measured line coverage is 82.0% for the SwiftPM subset (1,031 of 1,257 lines), but this does not measure full-application branch, input-field or functionality coverage. Full compliance cannot yet be demonstrated.

    https://github.com/smcnab1/pokelet/blob/main/VERIFICATION.md



    建议项目实施持续集成,将新的或更改的代码经常集成到中央代码库中,并对结果进行自动化测试。 [test_continuous_integration]

    Pokelet uses GitHub Actions for continuous integration. The macOS workflow runs on pull requests and pushes to main, checking the Swift tests, documentation, shell-script syntax, Debug and Release builds, static analysis, universal packaging and application metadata. Failed checks are visible on GitHub and can be investigated before merging. The CI workflow is public and version-controlled alongside the source.

    https://github.com/smcnab1/pokelet/actions/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml


  • 新功能测试


    该项目必须有通用的策略(正式或非正式),当主要的新功能被添加到项目生成的软件中,该功能的测试应该同时添加到自动测试套件。 [test_policy]
    只要有相应的策略,即使是通过口头传播,也就是说开发人员应该为主要的新功能在自动化测试套件中添加测试,选择“Met”。

    Pokelet's contributing guide requires major new functionality and regression fixes to have automated tests added or updated where practical. Where live cursor, input handling or Accessibility behaviour cannot safely be tested automatically, the contributor must document an appropriate manual test and recovery procedure instead. This balances regression coverage with the safety requirements of an application that interacts with the macOS pointer.

    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md



    该项目必须有证据表明,在项目生成的软件的最近重大变化中,已经遵守了添加测试的条款: test_policy 。 [tests_are_added]
    主要功能通常在发行说明中提及。不需要完美,只需证明,当新的主要功能添加到项目生成的软件时,测试通常会在实践中被添加到自动化测试套件中。

    Recent development follows the testing policy. The Pokelet Studio and cursor-engine changes in PR #5 included new and updated Swift tests covering cursor behaviour, click sounds, Presenter Arm, rendering, feedback and safety, alongside native layout and visual tests. PR #8 added browser tests for the redesigned website, including download selection and interactive behaviour. These changes were reviewed through pull requests and tested in GitHub Actions. The Beta 2 acceptance records also document the manual checks used for behaviour that requires a live macOS desktop.

    https://github.com/smcnab1/pokelet/pull/5
    https://github.com/smcnab1/pokelet/pull/8
    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_ACCEPTANCE.md



    建议您在更改提案的说明文档中添加测试策略要求(请参阅test_policy)。 [tests_documented_added]
    但是,只要在实践中添加了测试,即使是非正式规则也是可以接受的。

    The testing policy is documented in CONTRIBUTING.md. Contributors are given the commands for running the main test suite and supporting checks, and are asked to describe what they tested in their pull request. The pull-request template includes a dedicated Testing section, with additional guidance for changes affecting live cursor or input behaviour.

    https://github.com/smcnab1/pokelet/blob/main/CONTRIBUTING.md
    https://github.com/smcnab1/pokelet/blob/main/.github/PULL_REQUEST_TEMPLATE.md


  • 警告标志


    该项目必须启用一个或多个编译器警告标志,“安全”语言模式,或者使用单独的“linter”工具查找代码质量错误或常见的简单错误,如果至少有一个FLOSS工具可以在所选择的语言实现此条款。 [warnings]
    编译器警告标志的例子包括gcc/clang “-Wall”。 “安全”语言模式的示例包括JavaScript “use strict”和perl5的“使用警告”。一个单独的“linter”工具用于检查源代码以查找代码质量错误或常见的简单错误。这些通常在源代码或构建指令中启用。

    Pokelet enables strict Swift compiler warnings as part of its build and test process. Swift Package Manager tests use -warnings-as-errors, and Xcode builds use SWIFT_TREAT_WARNINGS_AS_ERRORS=YES. The CI workflow also runs Xcode's build analysis, checks shell-script syntax, validates documentation links and rejects whitespace errors in changed files.

    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh



    该项目必须处理警告。 [warnings_fixed]
    告警是通过执行warnings条款确定的。该项目应该修复告警或在源代码中将其标记为误报。理想情况下,不会有告警,但项目可能会接受一些告警(通常每100行小于1个告警,或整体少于10个告警)。

    Compiler warnings are treated as build failures in Pokelet's automated checks. The Swift test suite uses -warnings-as-errors, and both Debug and Release analysis use SWIFT_TREAT_WARNINGS_AS_ERRORS=YES. Recent successful GitHub Actions runs confirm that the checked source builds and passes these checks without outstanding compiler warnings under the tested toolchain. New warnings introduced by future changes must be resolved for CI to pass.

    https://github.com/smcnab1/pokelet/actions/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml



    建议在实际情况下,项目以最严格方式对待项目生成的软件中的告警。 [warnings_strict]
    某些项目无法有效启用某些警告。需要证明的是,项目正在努力的启用警告标志,以便早期发现错误。

    Pokelet uses warnings-as-errors for Swift compilation and automated tests rather than allowing warnings to accumulate. Debug and universal Release builds are both analysed with strict warning settings. The CI process also performs shell syntax checks, documentation validation and package verification. These checks are intended to catch problems before changes are merged or published.

    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh


 安全 16/16 ●

  • 安全开发知识


    该项目必须至少有一个主要开发人员知道如何设计安全软件。 [know_secure_design]
    这需要了解以下设计原则,包括 Saltzer和Schroeder 中的8项原则:
    • 机制经济(保持设计简单实用,例如采用彻底简化)
    • 故障安全默认(默认情况下,访问决策应拒绝),项目安装应默认安全)
    • 完全仲裁(必须检查每个可能被限制的访问权限,并且不可绕过)
    • 开放式设计(安全机制不应该依赖于攻击者对其设计的无知,而应该更容易地保护和更改信息,例如密钥和密码)
    • 特权分离(理想情况下,对重要对象的访问应该取决于多个条件,从而破坏一个保护系统将无法实现完全访问。如,多因子身份验证,要求密码和硬件令牌,比单因子认证安全性更高)
    • 最小权限(进程应该以最少的权限运行)
    • 最少的公共机制(设计应该最大限度地减少所有用户所依赖的,涉及到多个用户的共同机制,如,临时文件的目录)
    • 心理可接受性(人机接口必须设计为易于使用 —— 设计为“最不惊讶”)
    • 有限的攻击面(攻击面 —— 一组不同的入口,其​​中攻击者可以尝试输入或提取数据 —— 应该受到限制)
    • 输入验证与白名单(输入通常应该在被接受之前检查以确定是否有效;此验证应使用白名单(仅接受已知的有效值),而不是黑名单(尝试列出已知的非法值))。
    项目中的“主要开发人员”的定义是熟悉项目代码的任何人,很乐意对其进行更改,并被项目中大多数其他参与者确认。主要开发人员通常会在过去一年中通过代码,文档或回答问题提供一些贡献。开发人员通常被认为是主要开发人员,如果他们启动项目(并且还没有离开项目满三年),可以选择在私人漏洞报告渠道(如果有的话)上接收信息,可以代表项目接受提交,或执行项目软件的最终版本发布。如果只有一个开发者,那个人是主要开发人员。

    As Pokelet's primary developer, I understand secure software design principles and apply them during development. This includes limiting permissions, validating untrusted input, handling failures safely, protecting local data and avoiding unnecessary access to system resources.

    These principles are reflected in Pokelet's implementation. The cursor is restored when the application exits, experimental click suppression is disabled in public builds, imported audio is validated before use, and GitHub Actions use restricted permissions and pinned dependencies.

    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md
    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_ACCEPTANCE.md
    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml



    该项目的主要开发人员中,至少有一个必须知道导致这类型软件漏洞的常见错误类型,以及至少有一种方法来对付或缓解这些漏洞。 [know_common_errors]
    示例(取决于软件的类型)包括SQL注入,操作系统注入,经典缓冲区溢出,跨站点脚本(XSS),缺少认证和缺少授权。请参阅 CWE/SANS 25种最常见漏洞或 OWASP十大漏洞类型项目。

    As the primary developer, I understand common software vulnerability classes and the measures used to prevent or mitigate them. These include unsafe input handling, excessive permissions, insecure dependencies, exposed credentials, denial-of-service conditions and failures that leave the application in an unsafe state.

    For Pokelet, particular attention has been given to cursor recovery, input handling, Accessibility permissions, imported audio and external download information. The implementation includes input validation, size and duration limits, bounded operations and fail-open behaviour for experimental input suppression.

    https://github.com/smcnab1/pokelet/blob/main/Pokelet/Services/PresentationTap.swift
    https://github.com/smcnab1/pokelet/blob/main/Pokelet/Services/SoundPlayer.swift
    https://github.com/smcnab1/pokelet/blob/main/docs/site/releases.js


  • 使用基础的良好加密实践

    请注意,某些软件不需要使用加密机制。

    项目生成的软件默认情况下,只能使用由专家公开发布和审查的加密协议和算法(如果使用加密协议和算法)。 [crypto_published]
    这些加密条款并不总是适用,因为某些软件不需要直接使用加密功能。

    Pokelet uses established cryptographic standards rather than custom algorithms. Release packages are checked using SHA-256 through the standard shasum utility, and the website and GitHub downloads use HTTPS/TLS. Pokelet does not implement its own encryption or key-exchange protocols.

    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh
    https://github.com/smcnab1/pokelet/blob/main/docs/site/releases.js



    如果项目生成的软件是应用程序或库,其主要目的不是实现加密,那么它应该只调用专门设计实现加密功能的软件,而不应该重新实现自己的。 [crypto_call]

    Pokelet does not reimplement cryptographic functions. SHA-256 checksums are generated and checked using standard system tools. HTTPS is handled by the browser and hosting services. There is no custom cryptographic library in the application.

    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh
    https://github.com/smcnab1/pokelet/blob/main/README.md



    项目所产生的软件中,所有依赖于密码学的功能必须使用FLOSS实现。 [crypto_floss]

    The cryptographic functions used by Pokelet are standard SHA-256 hashing and HTTPS/TLS. Open-source implementations of both are available. Pokelet does not depend on a proprietary encryption algorithm or protocol. The requirement for Xcode to build the native application is separate from the cryptographic functionality.

    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh
    https://github.com/smcnab1/pokelet/blob/main/docs/WEBSITE.md



    项目生成的软件中的安全机制使用的默认密钥长度必须至少达到2030年(如2012年所述)的NIST最低要求。必须提供配置,以使较小的密钥长度被完全禁用。 [crypto_keylength]
    这些最小位长度是:对称密钥112,因式分解模数2048,离散对数密钥224,离散对数组2048,椭圆曲线224和散列224(密码散列不涉及该位长度),关于密码散列的更多信息可以在 crypto_password_storage 条款)。请参阅 http://www.keylength.com 以比较不同组织的密钥长度建议。在某些配置中,软件可能允许较小的密钥长度(理想情况下不会,因为这允许降级攻击,但是互操作性有时需要较短的密钥长度)。

    Pokelet does not generate, configure or manage cryptographic keys. It has no encryption or authentication functionality requiring a project-defined key length. HTTPS is provided by the browser and hosting infrastructure rather than Pokelet's own key-management implementation.

    https://github.com/smcnab1/pokelet/blob/main/PRIVACY.md



    项目产生的软件中的默认安全机制不得取决于已被破解的密码算法(例如,MD4,MD5,单DES,RC4,Dual_EC_DRBG)或使用不适合上下文的密码模式(例如,ECB模式几乎不适当,因为它揭示了密文中相同的块,如 ECB企鹅所示。CTR模式通常是不合适的,因为如果重复输入状态,则它不执行认证并导致重复)。 [crypto_working]
    在许多情况下,最好选择设计用于组合保密和认证的块密码算法模式,例如Galois / Counter Mode(GCM)和EAX。项目可以允许用户为必要的兼容性启用已被破解的加密机制,但是需要用户知道他们正在这么做。

    Pokelet uses SHA-256 for release checksums and does not implement custom cryptographic algorithms. The reviewed release process does not use MD5, RC4, single DES or other known-broken algorithms as security controls. Secure downloads use standard HTTPS.

    https://github.com/smcnab1/pokelet/blob/main/script/package_dmg.sh
    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh



    由项目产生的软件中的默认安全机制不应该依赖于具有已知严重弱点的加密算法或模式(例如,SHA-1密码散列算法或SSH中的CBC模式)。 [crypto_weaknesses]
    在 CERT:SSH CBC漏洞中讨论了SSH中CBC模式的问题。

    Pokelet's release integrity process uses SHA-256. The project does not implement its own encryption modes, password hashing or key-exchange protocols, and the reviewed code does not rely on known-weak cryptographic algorithms for security.

    https://github.com/smcnab1/pokelet/blob/main/script/package_release.sh
    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md



    项目产生的软件中的安全机制应该​​对密钥协商协议实施完美的前向保密(PFS),如果长期密钥集合中的一个长期密钥在将来泄露,也不能破坏从一组长期密钥导出的会话密钥。 [crypto_pfs]

    Pokelet does not implement a key-agreement protocol or manage encrypted sessions. HTTPS connections for the project website and GitHub downloads are handled by the browser and hosting infrastructure. There is no Pokelet-managed key exchange to configure for perfect forward secrecy.

    https://github.com/smcnab1/pokelet/blob/main/PRIVACY.md
    https://github.com/smcnab1/pokelet/blob/main/docs/WEBSITE.md



    如果项目产生的软件存储用于外部用户认证的密码,则必须使用密钥拉伸(迭代)算法(例如,PBKDF2,Bcrypt或Scrypt)将密码存储为每用户盐值不同的迭代散列 。 [crypto_password_storage]
    此条款仅适用于软件强制使用密码验证用户身份的情况(如服务器端Web应用程序)。在软件存储用于认证到其他系统的密码(例如,该软件实现某个其他系统的客户端)的情况下,这是不适用的,因为该软件的至少某个部分必须经常访问未散列加密的密码。

    Pokelet has no user accounts, authentication service or password database. The application does not collect or store passwords belonging to external users. Preferences and optional imported audio are stored locally on the user's Mac.

    https://github.com/smcnab1/pokelet/blob/main/PRIVACY.md



    由项目生成的软件中的安全机制必须使用密码学安全的随机数生成器生成所有加密密钥和随机数,并且不得使用密码学不安全的生成器。 [crypto_random]
    密码安全的随机数生成器可以是硬件随机数生成器,或者它可以是使用诸如Hash_DRBG,HMAC_DRBG,CTR_DRBG,Yarrow或Fortuna之类的算法的加密安全的伪随机数生成器(CSPRNG)。对安全性随机数生成器的调用示例包括Java的java.security.SecureRandom和JavaScript的window.crypto.getRandomValues。调用不安全随机数生成器的示例包括Java的java.util.Random和JavaScript的Math.random。

    Pokelet does not generate cryptographic keys, authentication tokens or encryption nonces. It does not implement its own encryption or key-management functionality, so there is no project-controlled cryptographic random-number generation to assess.

    https://github.com/smcnab1/pokelet/blob/main/PRIVACY.md


  • 安全交付防御中间人(MITM)的攻击


    该项目必须使用一种针对MITM攻击的传递机制。使用https或ssh + scp是可以接受的。 [delivery_mitm]
    一个更强大的机制是使用数字签名的软件包发布软件,因为这样可以减轻对分发系统的攻击,但只有在用户确信签名的公钥是否正确的情况下才可以确定。用户实际上会检查签名。

    Pokelet's official website is served over HTTPS through GitHub Pages. Source code and release downloads are hosted on GitHub over HTTPS. The README directs users to the official release and explains how to verify the downloaded DMG against its published SHA-256 checksum. The unnotarised beta's limitations are clearly disclosed.

    https://smcnab1.github.io/pokelet/
    https://github.com/smcnab1/pokelet/releases
    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md



    不得通过http协议获取加密散列(例如,sha1sum)并直接使用,而不检查密码学签名。 [delivery_unsigned]
    这些散列可以在传输过程中修改。

    Release DMGs and their SHA-256 checksum files are published through GitHub Releases over HTTPS. The installation instructions tell users to obtain both from the official release and verify the checksum using shasum. Pokelet does not instruct users to trust a checksum retrieved over unsecured HTTP without independent verification.

    https://github.com/smcnab1/pokelet/releases/tag/v1.1.0-beta.1
    https://github.com/smcnab1/pokelet/blob/main/README.md


  • 修正公开的漏洞


    被公开了超过60天的中等或更高严重程度的漏洞,必须被修复。 [vulnerabilities_fixed_60_days]
    该漏洞必须由项目本身修补和发布(修补程序可能在其他地方开发)。一旦漏洞具有公开发布的非付费信息的CVE(例如,在国家漏洞数据库)或项目已被通知,且信息已经发布给公众(可能是项目自己发布),则视为漏洞已经公众所知。如果其 CVSS 2.0 基本分数为4或更高,则漏洞是中等到高的严重性。 注意:这意味着全世界的所有攻击者可能会对用户造成长达60天的伤害。这个标准通常比Google在重新启动负责任的披露中所推荐的容易得多。因为Google建议,如果报告不是公开的,那么当项目得到通知,甚至报告尚未公开时,60天的时间段就会开始。

    As of 22 November 2026, no publicly known Pokelet vulnerability of medium or higher severity that has remained unpatched for more than 60 days has been identified. The initial OpenSSF Scorecard check also reported no existing known vulnerabilities. This does not mean the application has no undiscovered vulnerabilities.

    https://scorecard.dev/viewer/?uri=github.com/smcnab1/pokelet
    https://github.com/smcnab1/pokelet/security



    项目在得到报告后应该迅速修复所有致命漏洞。 [vulnerabilities_critical_fixed]

    No critical vulnerabilities have been reported through Pokelet's public or private security-reporting channels as of 22 November 2026. Confirmed vulnerabilities will be prioritised according to severity and exposure, with coordinated disclosure through GitHub Security Advisories where appropriate.

    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md


  • 其他安全问题


    公共存储库不得泄漏旨在限制公众访问的有效私人凭证(例如,工作密码或私钥)。 [no_leaked_credentials]
    项目可以泄漏测试和不重要数据库的“样本”凭据,只要它们不旨在限制公共访问。

    GitHub secret scanning and push protection are enabled, with no alerts identified during the repository assessment. A Gitleaks review of 78 reachable commits identified two false-positive matches for the same public browser preference key. No valid private credentials were identified in the reviewed history.

    https://github.com/smcnab1/pokelet/blob/main/docs/OPENSSF_ASSESSMENT.md#repository-controls


 分析 8/8 ●

  • 静态代码分析


    如果至少有一个FLOSS工具以所选择的语言实现此条款,则至少需要将一个静态代码分析工具应用于软件发布之前任何提议的主要生成版本。 [static_analysis]
    静态代码分析工具检查软件代码(源代码,中间代码或可执行文件),而不用特定输入执行。本条款中,编译器警告和“安全”语言模式不被视为静态代码分析工具(它们通常避免深入分析,因为速度至关重要)。此类静态代码分析工具的示例包括 cppcheck , clang静态分析器, FindBugs (包括FindSecurityBugs), PMD , Brakeman , Coverity质量分析器和 HP Fortify静态代码分析器。更多的工具列表可以在诸如维基百科静态代码分析工具列表,关于静态代码分析的OWASP信息, NIST源代码安全分析器列表和 Wheeler的静态分析工具列表。 SWAMP 是使用各种工具评估软件漏洞的免费平台。如果没有可用于所使用的实现语言的FLOSS静态分析工具,请选择“N/A”。

    Pokelet runs the MIT-licensed SwiftLint static-analysis tool against the native application source through its macOS CI workflow, in addition to strict Swift compiler warnings and Xcode analysis. The release checklist requires this analysis before major production releases. The tool and security rules passed on the reviewed PR #11 build.

    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml
    https://github.com/smcnab1/pokelet/blob/main/docs/RELEASE_CHECKLIST.md



    建议至少有一个用于static_analysis标准的静态分析工具包括在分析语言或环境中查找常见漏洞的规则或方法。 [static_analysis_common_vulnerabilities]
    专门设计用于寻找常见漏洞的静态分析工具更有可能找到它们。也就是说,使用任何静态工具通常会帮助找到一些问题,所以我们“通过”级别的徽章建议,但不要求这个条款。

    Pokelet's SwiftLint configuration includes targeted checks for weak cryptographic hash algorithms and manual TLS server-trust credential handling, alongside selected unsafe Swift failure patterns. Both custom security rules were verified using deliberately failing test fixtures. These checks provide limited, relevant vulnerability detection rather than comprehensive security analysis.

    https://github.com/smcnab1/pokelet/blob/main/.swiftlint.yml



    使用静态代码分析发现的所有中,高严重性可利用漏洞必须在确认后及时修复。 [static_analysis_fixed]
    如果其 CVSS 2.0 评分为4或更高,则此漏洞是中等到高的严重性。

    No confirmed medium-or-higher severity exploitable vulnerability arising from static analysis has been identified in the reviewed project records. There is therefore no qualifying confirmed finding to assess for remediation time. Static-analysis coverage is still being improved.

    https://github.com/smcnab1/pokelet/actions



    建议每次提交或至少每天执行静态源代码分析。 [static_analysis_often]

    SwiftLint runs automatically on pull-request updates and pushes to the main branch, covering tested integration snapshots. However, not every individual commit necessarily triggers analysis and there is no daily scheduled analysis. The project therefore does not currently claim the suggested every-commit or daily frequency.

    https://github.com/smcnab1/pokelet/blob/main/.github/workflows/macos.yml


  • 动态代码分析


    建议在发布之前,至少将一个动态分析工具应用于软件任何发布的主要生产版本。 [dynamic_analysis]
    动态分析工具通过执行特定输入来检查软件。例如,项目可以使用模糊工具(例如, American Fuzzy Lop )或Web应用扫描程序(例如, ZAP 或 w3af )。在某些情况下, OSS-Fuzz 项目可以对您的项目应用模糊测试。为满足此条款,动态分析工具需要以某种方式改变输入,以寻找各种问题,或者将其作为一个具有至少80%分支覆盖率的自动测试套件。 动态分析维基百科页面和 OWASP的fuzzing页面 识别一些动态分析工具。分析工具可能专注于寻找安全漏洞,但这不是必需的。

    Pokelet uses automated native test harnesses that execute application rendering code with varied inputs to identify defects. The pointer visual test exercises different characters, sizes, display scales and cursor modes, checks the actual rendered output and fails when alignment exceeds the accepted tolerance. The Beta 2 qualification recorded 72 character-rendering cases, along with separate runtime and desktop acceptance checks. These tests were performed before the planned Beta 2 release.

    https://github.com/smcnab1/pokelet/blob/main/Tests/Native/PointerVisualSmoke.swift
    https://github.com/smcnab1/pokelet/blob/main/script/test_pointer_visual.sh
    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_ACCEPTANCE.md



    建议如果项目生成的软件包含使用内存不安全语言编写的软件(例如C或C++),则至少有一个动态工具(例如,fuzzer或web应用扫描程序)与检测缓冲区覆盖等内存安全问题的机制例行应用。如果该项目生成的软件没有以内存不安全语言编写,请选择“不适用”(N / A)。 [dynamic_analysis_unsafe]
    检测内存安全问题的机制的示例包括AddressSanitizer(ASAN)(可在GCC和LLVM中使用),“Memory Sanitizer”和 valgrind 。其他可能使用的工具包括ThreadSanitizer和UndefinedBehaviorSanitizer。广泛的断言也将起作用。

    Pokelet's maintained application code is written in Swift, and the website uses JavaScript. The reviewed repository does not contain project-maintained C or C++ implementation files. The specific requirement to run memory-safety detection tools against software written in memory-unsafe languages does not apply to the current project source.

    https://github.com/smcnab1/pokelet/tree/main/Pokelet
    https://github.com/smcnab1/pokelet/tree/main/docs/site



    建议由项目生成的软件包括许多运行时断言,在动态分析期间检查。 [dynamic_analysis_enable_assertions]
    这个标准并不建议使生产过程中的断言;这完全取决于项目及其用户的决定。该标准的重点是在部署之前的动态分析过程中改善故障检测。在生产使用中启用断言与在动态分析(例如测试)期间启用断言完全不同。在某些情况下,在生产中使用断言是极其不明智的(尤其是在高完整性组件中)。存在许多反对在生产环境中启用断言的论点,例如,库不应使调用程序崩溃,它们的存在可能会导致应用商店拒绝,和/或在生产环境中激活断言可能会暴露诸如私钥之类的私有数据。请注意,在许多Linux发行版中都未定义NDEBUG ,因此C / C ++缺省情况下,assert()将在这些环境中启用生产。对于那些环境中的生产,使用不同的断言机制或定义NDEBUG可能很重要。

    Pokelet's automated tests use XCTest assertions and explicit failures to check expected behaviour. The rendering tests cover different characters, scales and cursor modes, while the native visual test harness fails when measured alignment exceeds the expected tolerance. These checks run during development and release qualification, rather than requiring assertions to be enabled in the public Release application.

    https://github.com/smcnab1/pokelet/blob/main/Tests/PokeletCoreTests/RenderingTests.swift
    https://github.com/smcnab1/pokelet/blob/main/Tests/Native/PointerVisualSmoke.swift



    通过动态代码分析发现的所有严重性为中,高的可利用漏洞必须在确认后及时修复。 [dynamic_analysis_fixed]
    如果 CVSS 2.0 基本分数为4,那么一个漏洞是中等到高的严重性。如果您没有运行动态代码分析,没有发现任何这样的漏洞,选择“不适用”(N/A)。

    No confirmed medium-or-higher severity exploitable vulnerability identified through Pokelet's dynamic analysis and testing has been found in the reviewed records. There is therefore no qualifying confirmed vulnerability to assess for remediation timing.

    https://github.com/smcnab1/pokelet/blob/main/docs/BETA2_ACCEPTANCE.md
    https://github.com/smcnab1/pokelet/blob/main/SECURITY.md



您可以使用工具和AI系统通过简单的URL提交变更建议,例如 https://www.bestpractices.dev/zh-CN/projects/16999/choose/edit?osps_ac_01_01_status=Met&osps_ac_01_01_justification=GitHub+enforced。请参阅我们的自动化提案系统,了解具体操作方法。 该数据可在社区数据许可协议 – 许可性,版本 2.0 (CDLA-Permissive-2.0)下获取。这意味着数据接收方可以共享数据,无论是否经过修改,只要数据接收方在共享数据时提供本协议文本。请注明Sam McNab和OpenSSF最佳实践徽章贡献者。

项目徽章条目拥有者: Sam McNab.
最后更新于 2026-11-22 10:54:30 UTC, 最后更新于 2026-11-22 12:57:58 UTC。 最后在 2026-11-22 12:57:58 UTC 获得通过徽章。