discovery-media-player

Miradi inayofuata mazoea bora hapa chini inaweza kujihakikisha kwa hiari na kuonyesha kuwa wamepata nishani ya mazoea bora ya Open Source Security Foundation (OpenSSF).

Hakuna seti ya mazoea yawezayo kuhakikisha kuwa programu haitakuwa na kasoro au udhaifu; hata mbinu rasmi zinaweza kushindwa ikiwa vipimo au dhana ni sahihi. Wala hakuna seti ya mazoea yawezayo kuhakikisha kuwa mradi utaendelea kuwa na jamii ya maendeleo yenye afya na inayofanya kazi vizuri. Hata hivyo, kufuata mazoea bora kunaweza kusaidia kuboresha matokeo ya miradi. Kwa mfano, baadhi ya mazoea huwezesha ukaguzi wa watu wengi kabla ya kutolewa, ambayo inaweza kusaidia kupata udhaifu wa kiufundi ambao vinginevyo ni vigumu kupata na kusaidia kujenga uaminifu na hamu ya mwingiliano wa kurudia kati ya wasanidi programu kutoka makampuni tofauti. Ili kupata nishani, vigezo vyote vya LAZIMA na LAZIMA WALA USIWAHI lazima vifuatwe, vigezo vyote vya INAPASWA lazima vifuatwe AU visivyo fufufutiliana na thibitisho, na vigezo vyote vya PENDEKEZA lazima vifuatwe AU visivyo fufufutiliana (tunataka vifikiwe angalau). Ikiwa unataka kuingiza maandishi ya thibitisho kama maoni ya jumla, badala ya kuwa maelezo ya busara kwamba hali ni inakubaliwa, anza kifungu cha maandishi na '//' ikifuatiwa na nafasi. Maoni ni karibu kupitia tovuti ya GitHub kama masuala au maombi ya kuvuta Kuna pia orodha ya barua pepe kwa majadiliano ya jumla.

Tunafuraha kutoa habari katika lugha nyingi, hata hivyo, ikiwa kuna mgongano au kutokuwa na usawa kati ya tafsiri, toleo la Kiingereza ni toleo lenye mamlaka.
Ikiwa huu ni mradi wako, tafadhali onyesha hali ya nishani yako ya msingi kwenye ukurasa wa mradi wako! Hali ya nishani ya msingi inaonekana kama hii: Kiwango cha nishani ya msingi kwa mradi 14197 ni baseline-2 Huu ndiyo jinsi ya kuweka nishani ya msingi:
Unaweza kuonyesha hali ya nishani yako ya msingi kwa kuweka hii katika faili yako ya markdown:
[![OpenSSF Baseline](https://www.bestpractices.dev/projects/14197/baseline)](https://www.bestpractices.dev/projects/14197)
au kwa kuweka hii katika HTML yako:
<a href="https://www.bestpractices.dev/projects/14197"><img src="https://www.bestpractices.dev/projects/14197/baseline"></a>


Hizi ni vigezo vya Kiwango cha Msingi 3. Hizi ni vigezo vya toleo v2026.02.19.

Baseline Series: Kiwango cha Msingi 1 Kiwango cha Msingi 2 Kiwango cha Msingi 3

        

 Misingi

  • Jumla

    Kumbuka kwamba miradi mingine inaweza kutumia jina sawa.

    Self-hosted document viewer: per-recipient tracked links, reading analytics, live presentation. The core knows nothing about the app hosting it.

    Tafadhali tumia muundo wa maneno ya leseni ya SPDX; mifano ni pamoja na "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "GPL-2.0+", "LGPL-3.0+", "MIT", na "(BSD-2-Clause OR Ruby)". Usitumie alama za nukuu za moja au mbili.
    Ikiwa kuna lugha zaidi ya moja, ziorodhe kama thamani zilizotengwa kwa koma (nafasi ni za hiari) na ziorodhe kuanzia iliyotumiwa zaidi hadi iliyotumiwa kidogo. Ikiwa kuna orodha ndefu, tafadhali orodhesha angalau tatu za kawaida zaidi. Ikiwa hakuna lugha (k.m., huu ni mradi wa nyaraka tu au wa majaribio tu), tumia herufi moja "-". Tafadhali tumia herufi kubwa za kawaida kwa kila lugha, k.m., "JavaScript".
    Common Platform Enumeration (CPE) ni mpango wa kuweka majina yenye muundo kwa mifumo ya teknolojia ya habari, programu, na vifurushi. Inatumika katika mifumo na hifadhidata nyingi wakati wa kuripoti udhaifu.

 Udhibiti 20/21

  • Udhibiti


    Ruhusa zinapopeana kwa kazi katika mfumo wa CI/CD, msimbo wa chanzo au usanidi LAZIMA upee tu ruhusa za chini zaidi zinazohitajika kwa shughuli zinazohusiana. [OSPS-AC-04.02]
    Sanidi mifumo ya CI/CD ya mradi ili kupea ruhusa za chini zinazopatikana kwa watumiaji na huduma kwa chaguomsingi, ukipandisha ruhusa tu inapohitajika kwa kazi maalum. Katika baadhi ya mifumo ya udhibiti wa toleo, hii inaweza kufanyika katika kiwango cha shirika au hifadhi. Ikiwa sivyo, weka ruhusa katika kiwango cha juu cha mfumo.

    Every job is granted the minimum for its activity, and the workflow that publishes is the strictest. release.yml declares permissions: {} at workflow level — no scope at all — then grants per job: the verification job contents: read plus actions: read because it queries the Actions API, the publish job contents: read plus id-token: write for OIDC and nothing else, the announce job contents: write alone to create the Release. ci.yml is contents: read throughout, scorecard.yml read-all. The release pipeline is deliberately split into four jobs with disjoint permissions so that the job holding a write scope is never the job that executes downloaded code.



    Mifuko ya CI/CD inayokubali pembejeo za mshirika anayeaminika LAZIMA isafishe na kuthibitisha pembejeo hiyo kabla ya kutumia katika mfuko. [OSPS-BR-01.04]
    Mifuko ya CI/CD inapaswa kusafisha (kunukuu, kutoroka au kutoka kwa maadili yanayotarajiwa) pembejeo zote za mshirika kwenye utekelezaji wa mtiririko wa kazi wa wazi. Ingawa washirika kwa ujumla wanaaminika, pembejeo za mwongozo kwa mtiririko wa kazi haiwezi kukaguliwa na inaweza kutumiwa vibaya na utekaji wa akaunti au tishio la ndani.

    The only collaborator input this project accepts is the tag on a workflow_dispatch of release.yml and image.yml. It was already not injectable — TAG is read as a shell environment variable, never interpolated with ${{ }} inside a run block, the same rule applied to untrusted input in cla.yml — and it is now validated as well: the first step of the release pipeline, before any repository access, rejects anything that is not the vX.Y.Z form this project tags, and image.yml has carried the same check. Validation is separate from injectability: a typo previously travelled as far as the checkout to fail on a message about a missing ref, and a compromised collaborator account had a free-text field on the workflow that publishes.



    Toleo rasmi linapobuniwa, mali zote ndani ya toleo hilo LAZIMA zihusianishwe wazi na kitambulisho cha toleo au kitambulisho kingine cha kipekee kwa mali hiyo. [OSPS-BR-02.02]
    Panga kitambulisho cha kipekee cha toleo kwa kila mali ya programu inayozalishwa na mradi, ukifuata kawaida ya uainishaji thabiti au mpango wa nambari. Mifano ni pamoja na SemVer, CalVer, au kitambulisho cha git commit.

    Every asset carries the release identifier. The npm tarball is named discovery-media-player-<version>.tgz and is published under that exact version. The container image is pushed on the immutable versioned tag first, with latest promoted afterwards by atomic retag rather than pushed during the build. The GitHub Release is the tag itself, and the CycloneDX SBOM attached to it is named discovery-media-player-<tag>.cdx.json — an SBOM detached from the version it describes describes nothing. CI refuses a tag whose version does not match package.json, and refuses a tag on a commit that is not an ancestor of main.



    Mradi LAZIMA ufafanue sera ya kudhibiti siri na ushahidi unaotumika na mradi. Sera inapaswa kujumuisha mwongozo wa kuhifadhi, kufikia, na kuzungusha siri na ushahidi. [OSPS-BR-07.02]
    Eleza jinsi siri na ushahidi vinavyodhibitiwa na kutumika ndani ya mradi. Hii inapaswa kujumuisha maelezo ya jinsi siri zinavyohifadhiwa (k.m., kwa kutumia zana ya usimamizi wa siri), jinsi ufikiaji unavyodhibitiwa, na jinsi siri zinavyozungushwa au kusasishwa. Hakikisha kwamba habari nyeti haziingizwi kwa msimbo katika msimbo wa chanzo au kuhifadhiwa katika mifumo ya udhibiti wa toleo.

    docs/SECURITY-PRACTICES.md defines the policy, and its rule is that the project holds no long-lived secret and does not want one. It tabulates every credential, who holds it and how long it lives: npm publishing held by nobody because OIDC issues an identity per run, GHCR push scoped per job, no signing key at all because Sigstore signs against the workflow identity, and the operator's own secrets which never transit through this project. Storing: never in version control, enforced by tools/secrets-en-clair.mjs in CI and pre-push, with .env.example carrying names and no values. Accessing: the resource list in MAINTAINERS.md, granted only after the vetting policy in the same file. Rotating: a table of triggers, with the standing rule that a leaked credential is revoked first and removed second, because a pushed secret is disclosed and rewriting history does not recall it.



    Mradi ulipotoa toleo, nyaraka za mradi LAZIMA ziwe na maelekezo ya kuthibitisha uadilifu na uhalali wa mali za toleo. [OSPS-DO-03.01]
    Maelekezo katika mradi yanapaswa kuwa na habari kuhusu teknolojia iliyotumika, amri za kuendesha, na matokeo yanayotarajiwa. Inapowezekana, epuka kuhifadhi nyaraka hizi katika mahali pamoja na mfumo wa ujenzi na utoaji wa toleo ili kuepuka ukiukaji mmoja kuhatarisha programu na nyaraka za kuthibitisha uadilifu wa programu.

    docs/VERIFYING-RELEASES.md gives the technology, the commands and the expected output for each asset: npm audit signatures for the package, with the verified registry signature and verified attestation lines a consumer should see; gh attestation verify against the OCI reference for the image, plus docker buildx imagetools inspect to read its embedded SBOM and provenance; and gh release download for the CycloneDX SBOM attached to each GitHub Release. A table states what each check proves and, deliberately, what it does not — a verification that is oversold is worse than none, because it stops people looking further. The document also tells readers to fetch it from a source other than the artifact they are checking.



    Mradi unapotoa toleo, nyaraka za mradi LAZIMA ziwe na maelekezo ya kuthibitisha utambulisho unaotarajiwa wa mtu au mchakato unaothibitisha toleo la programu. [OSPS-DO-03.02]
    Utambulisho unaotarajiwa unaweza kuwa katika muundo wa vitambulisho vya funguo vilivyotumika kusaini, mtoa na utambulisho kutoka cheti cha sigstore, au aina nyingine zinazofanana. Inapowezekana, epuka kuhifadhi nyaraka hii mahali palipo sawa na mirija ya kujenga na kutoa ili kuepuka ukiukaji mmoja kuhatarisha programu na nyaraka za kuthibitisha uadilifu wa programu.

    docs/VERIFYING-RELEASES.md carries an explicit identity table for the expected signer. Because publication is signed by a workflow rather than a person, what must match is the Sigstore issuer https://token.actions.githubusercontent.com, the source repository github.com/Juli1artha/discovery-media-player, the workflow .github/workflows/release.yml, and a commit belonging to main — which CI enforces separately by refusing to publish a tag whose commit is not an ancestor. The document states plainly that a signature which verifies but names a different repository or workflow is not this project's release, and that a failing check is handled as an incident through SECURITY.md rather than as a support question.



    Mradi unapotoa toleo, nyaraka za mradi LAZIMA zijumuishe kauli ya maelezo kuhusu wigo na muda wa msaada kwa kila toleo. [OSPS-DO-04.01]
    Ili kuwasilisha wigo na muda wa msaada kwa rasilimali za programu zilizotolewa za mradi, mradi unapaswa kuwa na faili ya SUPPORT.md, sehemu ya "Msaada" katika SECURITY.md, au nyaraka nyingine zinazoweka wazi mzunguko wa maisha wa msaada, ikijumuisha muda unaotarajiwa wa msaada kwa kila toleo, aina za msaada zinazotolewa (k.m., marekebisho ya hitilafu, sasisho za usalama), na sera au taratibu yoyote husika ya kupata msaada.

    SECURITY.md states the scope and duration in a table rather than by implication: the latest release is supported for bug fixes and security fixes, anything earlier for neither. The reasoning is given — the project is young, releases are small and frequent, there is one maintainer, and a long-term support branch would be a promise nobody here could keep. It also says what makes the abrupt cutoff workable: upgrading is npm update or a new image tag, and where a database migration is genuinely required, docs/MIGRATIONS.md documents it and the running instance says so rather than degrading silently.



    Mradi unapotoa toleo, nyaraka za mradi LAZIMA zitoe kauli ya maelezo ya wakati matoleo au matoleo hayatapokea tena sasisho za usalama. [OSPS-DO-05.01]
    Ili kuwasilisha wigo na muda wa msaada kwa marekebisho ya usalama, mradi unapaswa kuwa na SUPPORT.md au nyaraka nyingine zinazoweka wazi sera ya mradi ya sasisho za usalama.

    SECURITY.md says exactly when security updates stop: a version stops receiving them the moment the next release is published. There is no backporting — a fix is delivered as a new release, never as a patch to an older line — so a consumer three versions behind when an advisory lands upgrades to current rather than waiting for a fix on their line. The changelog for each version names the security-relevant changes it carries, so what is gained by moving is visible before moving. The document also commits to changing that table first, before any wider support promise is made elsewhere.



    Inapokuwa hai, nyaraka za mradi LAZIMA ziwe na sera kwamba washirikiano wa msimbo wanapimwa kabla ya kupewa ruhusa zilizopandishwa kwa rasilimali nyeti. [OSPS-GV-04.01]
    Chapisha sera inayoweza kutekelezwa katika nyaraka za mradi inayohitaji washirikiano wa msimbo kupimwa na kuidhinishwa kabla ya kupewa ruhusa zilizopandishwa kwa rasilimali nyeti, kama vile idhini ya kuunganisha au ufikiaji kwa siri. Inashauriwa kwamba upimaji ujumuishe kuanzisha mfululizo wa utambulisho unaoweza kuhalalishwa kama vile kuthibitisha ushirikiano wa mchangiaji na shirika linalojulikana na kuaminika.

    MAINTAINERS.md carries a Granting access policy: nobody receives escalated permissions — merge rights on main, repository settings, publishing, or the security mailbox — without being reviewed first, before the grant rather than after. It states what is examined and in what order: a record of merged pull requests over a period long enough to see how the person behaves when they disagree with review (explicitly not a commit count), the CLA already signed, 2FA confirmed rather than assumed, and the smallest grant that does the job, with access to a secret granted per resource rather than as a bundle. Grants are recorded in the same pull request that makes them, and the policy notes the one place it is currently weaker than it reads: with a single maintainer, the person applying it is the person it would be applied to — which is why it was written before anyone is waiting on it.



    Mradi unapotoa toleo, rasilimali zote za programu zilizotolewa na zilizokusanywa LAZIMA zikabidhi pamoja na orodha ya bili ya programu. [OSPS-QA-02.02]
    Inashauriwa kuzalisha SBOM kiotomatiki wakati wa kujenga kwa kutumia zana ambayo imepimwa kwa usahihi. Hii huwezesha watumiaji kuingiza data hii kwa njia ya kiwango pamoja na miradi mingine katika mazingira yao.

    Both compiled assets ship with an SBOM. The container image is built with sbom: true and provenance: mode=max, so its bill of materials travels as an attestation readable with docker buildx imagetools inspect. The npm package now carries one too: the release workflow generates a CycloneDX SBOM with npm sbom from the same production tree the tarball is published from, verifies it is well-formed CycloneDX with at least one component rather than an empty file, and attaches it to the GitHub Release named discovery-media-player-<tag>.cdx.json. It is generated with --ignore-scripts, because the announcing job is the only one holding contents: write and installing dependencies that execute their own scripts there would hand downloaded code exactly the privilege the four-job split removes. docs/VERIFYING-RELEASES.md tells consumers how to fetch and use it.



    Mradi unapotoa toleo linalojumuisha hifadhi nyingi za chanzo cha msimbo, miradi yote midogo LAZIMA ilazimishe mahitaji ya usalama ambayo ni kali au kali zaidi kuliko msimbo wa msingi. [OSPS-QA-04.02]
    Hifadhi yoyote ya ziada ya msimbo wa miradi midogo iliyozalishwa na mradi na kukusanywa katika toleo lazima ilazimishe mahitaji ya usalama kama inavyolingana na hali na nia ya msimbo husika. Kwa kuongeza kufuata mahitaji ya msingi wa OSPS yanayolingana, hii inaweza kujumuisha kuhitaji ukaguzi wa usalama, kuhakikisha kuwa haina udhaifu, na kuhakikisha kuwa haina masuala ya usalama yanayojulikana.

    The project is a single repository. No subproject codebase is compiled into a release, and nothing outside github.com/Juli1artha/discovery-media-player contributes source to the published npm package or container image, so there is no additional codebase whose security requirements could be looser than the primary one.



    Inapokuwa hai, nyaraka za mradi LAZIMA ziweke wazi lini na jinsi majaribio yanavyotekelezwa. [OSPS-QA-06.02]
    Ongeza sehemu kwenye nyaraka za kuchangia inayoweka wazi jinsi ya kutekeleza majaribio kienyeji na jinsi ya kutekeleza majaribio katika mirija ya CI/CD. Nyaraka zinapaswa kuweka wazi majaribio yanajaribu nini na jinsi ya kutafsiri matokeo.

    CONTRIBUTING.md documents when and how the tests run, in a table naming each of the four benches, the command that invokes it, what it proves that the others cannot, and when it runs — all four on every push and pull request, on Node 22 and 24 for the unit bench. It lists what runs alongside them (lint, typecheck, CodeQL, the blocking dependency-vulnerability check, and the repository's own guards), states that all of it must pass before a pull request can merge and that pull requests are the only way into main, and explains how to read a failure: an ::error:: names your branch, while GARDE NON CONCLUANTE means the guard could not look and the fix is in the guard or its environment, not in your change.



    Inapokuwa hai, nyaraka za mradi LAZIMA zijumuishe sera kwamba mabadiliko yote makubwa kwa programu inayozalishwa na mradi yanapaswa kuongeza au kusasisha majaribio ya utendaji katika seti ya majaribio ya kiatomati. [OSPS-QA-06.03]
    Ongeza sehemu kwenye nyaraka za kuchangia inayoweka wazi sera ya kuongeza au kusasisha majaribio. Sera inapaswa kuweka wazi ni nini kinachojumuisha mabadiliko makubwa na majaribio yapi yanapaswa kuongezwa au kusasishwa.

    The policy is CONTRIBUTING.md's stated one rule: a behaviour worth keeping is worth a test that fails without it. It extends to the test's name, which must say which failure it prevents rather than that it tests the happy path — a test that does not will be asked about in review. AGENTS.md repeats it among the conventions that only review enforces. The history shows it applied: the suite stands at 1515 tests across 144 files, and the credential guard added during this badge review shipped with 21 tests of its own, covering both what it catches and what it deliberately lets pass.



    Wakati kuruhusu kumefanywa kwa tawi kuu, mfumo wa udhibiti wa toleo la mradi LAZIMA uhitaji angalau idhini moja ya binadamu asiye mwandishi ya mabadiliko kabla ya kuunganisha. [OSPS-QA-07.01]
    Sanidi mfumo wa udhibiti wa toleo la mradi kuhitaji angalau idhini moja ya binadamu asiye mwandishi ya mabadiliko kabla ya kuunganisha katika toleo au tawi kuu. Hii inaweza kupatikana kwa kuhitaji ombi la kuvuta kupimwa na kuidhinishwa na angalau mshirikiano mmoja mwingine kabla ya kunaweza kuunganishwa.

    Not met: this control requires a non-author human approval before merging, and there is one maintainer — every change is authored by the only person who could approve it, and an AI review is not counted as a human one. What already exists is everything around the missing person: the review standards a second maintainer would apply (CONTRIBUTING.md, "How review is conducted"), the vetting path for granting rights (MAINTAINERS.md), and recruiting that person as the public roadmap's first item. https://github.com/Juli1artha/discovery-media-player/blob/main/ROADMAP.md



    Mradi unapotoa toleo, mradi LAZIMA ufanye ufuatiliaji wa tisho na uchambuzi wa uso wa shambulio ili kuelewa na kulinda dhidi ya mashambulizi kwenye njia za msimbo muhimu, majukumu, na mwingiliano ndani ya mfumo. [OSPS-SA-03.02]
    Ufuatiliaji wa tisho ni shughuli ambapo mradi unaangalia msimbo, michakato na miundombinu inayohusiana, viunganishi, vipengele muhimu na "kufikiria kama kibogoyo" na kufanya mapendekezo ya jinsi mfumo unaweza kuvunjwa au kuhatarisha. Kila tisho iliyotambuliwa imeorodheshwa ili mradi uweze kufikiria jinsi ya kuepuka au kufunga pengo/udhaifu wowote unaoweza kutokea kwa kujihadhari. Hakikisha hii imesasishwa kwa vipengele vipya au mabadiliko ya kuvunja.

    docs/THREAT-MODEL.md is the threat model and attack-surface analysis. It is organised by asset rather than by feature — documents, reading data, host credentials, in descending order of what their loss would cost an operator — because a model arranged by feature reassures its author and finds nothing. It tabulates every entry point an unauthenticated stranger can reach, then works through eight attack paths: reading a document without being its recipient, server-side request forgery through the file proxy (named the highest-value target, with the realised failure mode of a plausible typo widening the guard), taking or spying on a live presentation, crossing the host boundary, XSS against the nonce-based CSP, reaching the database directly, compromising the supply chain, and denial of service. Each names its residual risk, including the ones deliberately left standing — a link forwarded by its legitimate recipient, and compromise of the single maintainer account. It is reviewed when a feature changes what an actor can do or the host contract breaks.



    Wakati uko hai, udhaifu wowote katika vipengele vya programu visivyoathiri mradi LAZIMA viwe vimeainishwa katika hati ya VEX, ikiendeleza ripoti ya udhaifu na maelezo ya kutokutumiwa vibaya. [OSPS-VM-04.02]
    Weka mfumo wa mlisho wa VEX unaowasiliana hali ya utumiaji vibaya wa udhaifu unaojulikana, ikiwa ni pamoja na maelezo ya tathmini au marekebisho yoyote yaliyowekwa kusimamisha msimbo ulio na udhaifu usiotekelezwa.

    There is nothing to account for in a VEX document. npm audit reports zero vulnerabilities across both the production and development trees, so no known vulnerability in a component has been assessed as non-exploitable here, and a VEX statement would have no subject. The policy for when that changes is written down rather than left open: docs/DEPENDENCIES.md states that a finding may be suppressed only as not exploitable in this project — never as won't fix — that the suppression records why the vulnerable path cannot be reached, who decided and when, and that the non-exploitability assessment is published with the release carrying it, in that version's changelog section and alongside the SBOM attached to the GitHub Release, so a consumer scanning our SBOM can distinguish a real exposure from one already assessed.



    Wakati uko hai, nyaraka za mradi LAZIMA zijumuishe sera inayofafanua kiwango cha marekebisho ya matokeo ya SCA yanayohusiana na udhaifu na leseni. [OSPS-VM-05.01]
    Andika sera katika mradi inayofafanua kiwango cha marekebisho ya matokeo ya SCA yanayohusiana na udhaifu na leseni. Jumuisha mchakato wa kutambua, kutanguliza, na kurekebisha matokeo haya.

    docs/DEPENDENCIES.md defines the thresholds, and gives each one a reason rather than a number alone. Production tree: no known vulnerability at any severity — it runs on the operator's machine beside their commercial documents and under their credentials, and it holds one dependency, so tolerating anything there would be choosing to ship a known hole in code we can read in full. Development tree: nothing High or Critical — it never leaves the repository, and blocking on a moderate in a test plugin would stall delivery of real fixes for a threat that reaches no instance, while teaching people to route around the check. Licences are held to the same bar: FLOSS and compatible with AGPL-3.0-or-later distribution, and a licence that changes under us is treated as a finding at the same thresholds.



    Wakati uko hai, nyaraka za mradi LAZIMA zijumuishe sera ya kushughulikia ukiukaji wa SCA kabla ya toleo lolote. [OSPS-VM-05.02]
    Andika sera katika mradi wa kushughulikia matokeo ya Uchambuzi wa Muundo wa Programu yanayotumika kabla ya toleo lolote, na ongeza ukaguzi wa hali unaothibitisha kufuata sera hiyo kabla ya toleo.

    docs/DEPENDENCIES.md states the release rule: no release goes out carrying a violation of either threshold. It is enforced structurally rather than remembered — the check runs on every commit, a tag can only publish a commit that is an ancestor of main, and every commit on main has passed it. The document also says what happens when an advisory lands against an already-published version: the fix goes out as a release of its own rather than waiting for the next feature, which is consistent with the support policy in SECURITY.md, where a fix is always a new release and never a backport.



    Wakati uko hai, mabadiliko yote kwenye msingi wa msimbo wa mradi LAZIMA yaangaliwe kiatomati dhidi ya sera iliyoandikwa ya utegemezi mbaya na udhaifu unaojulikana katika utegemezi, kisha yazuiliwe katika hali ya ukiukaji, isipokuwa inapotangazwa na kuzuiliwa kama isiyotumiwa vibaya. [OSPS-VM-05.03]
    Unda ukaguzi wa hali katika mfumo wa kudhibiti toleo la mradi unaoendesha zana ya Uchambuzi wa Muundo wa Programu kwenye mabadiliko yote ya msingi wa msimbo. Hitaji kwamba ukaguzi wa hali upite kabla mabadiliko kusanywa.

    ci.yml carries a blocking software-composition check on every push and every pull request, evaluated against the documented thresholds and required before merge: npm audit --omit=dev --audit-level=low for the production tree and npm audit --audit-level=high for the development tree, each failing with an error naming which tree breached and pointing at docs/DEPENDENCIES.md. Because pull requests are the only route into main and the check is required, a change introducing a vulnerable or malicious dependency is blocked rather than reported. Suppression is possible only as a recorded non-exploitability assessment, per the policy in the same document. Integrity of what is installed is enforced alongside it: npm ci only, against a committed lockfile carrying an integrity hash per package, with actions pinned to commit SHAs and base images to digests.



    Wakati uko hai, nyaraka za mradi LAZIMA zijumuishe sera inayofafanua kiwango cha marekebisho ya matokeo ya SAST. [OSPS-VM-06.01]
    Andika sera katika mradi inayofafanua kiwango cha marekebisho ya matokeo ya Upimaji wa Usalama wa Programu Tuli (SAST). Jumuisha mchakato wa kutambua, kutanguliza, na kurekebisha matokeo haya.

    docs/SECURITY-PRACTICES.md defines the SAST thresholds in a table: Critical and High must be resolved before the pull request merges and block any release; Medium before the next release, as a fix or a written suppression but never silence; Low and Note triaged within the release cycle and acceptable with a recorded reason. A fourth row overrides the others — any severity in a security-critical path (the file proxy, the access wall, share revocation, the presentation control token, CSP handling) blocks the merge regardless of the tool's own rating, because severity ratings are generic and this codebase is not: a medium in the component that fetches a caller-supplied URL server-side is not a medium here. Suppression is allowed only as not exploitable, with the reason, the decider and the date, and never as a repository-wide rule disablement.



    Wakati uko hai, mabadiliko yote kwenye msingi wa msimbo wa mradi LAZIMA yaangaliwe kiatomati dhidi ya sera iliyoandikwa ya udhaifu wa usalama na kuzuiliwa katika hali ya ukiukaji isipokuwa inapotangazwa na kuzuiliwa kama isiyotumiwa vibaya. [OSPS-VM-06.02]
    Unda ukaguzi wa hali katika mfumo wa kudhibiti toleo la mradi unaoendesha zana ya Upimaji wa Usalama wa Programu Tuli (SAST) kwenye mabadiliko yote ya msingi wa msimbo. Hitaji kwamba ukaguzi wa hali upite kabla mabadiliko kusanywa.

    Every change is automatically evaluated and blocked on violation. CodeQL runs the javascript-typescript security query suites on every pull request and every push to main, is a named required check, and is blocking on the publication path; a weekly scheduled run additionally applies new rules to code that has not changed. Alongside it on the same trigger: ESLint with typescript-eslint, tsc under strict with noUnusedLocals, noUnusedParameters and noFallthroughCasesInSwitch, and the repository's own static guards over the workflow YAML, the Dockerfile, the published surface and every tracked file. Because pull requests are the only way into main and these are required checks, a violation blocks the merge. Suppression is governed by the policy in docs/SECURITY-PRACTICES.md and is available only as a recorded non-exploitability assessment. Current state: zero outstanding findings across all of them.



Data hii inapatikana chini ya Community Data License Agreement – Permissive, Version 2.0 (CDLA-Permissive-2.0). Hii inamaanisha kuwa Mpokeaji wa Data anaweza kushiriki Data, na au bila marekebisho, mradi Mpokeaji wa Data anapatanisha maandishi ya mkataba huu na Data iliyoshirikiwa. Tafadhali tambua Julien Arthapignet na wachangiaji wa nishani ya Mazoea Bora ya OpenSSF.

Ingizo la nishani ya mradi linamilikiwa na: Julien Arthapignet.
Ingizo liliundwa siku 2026-08-22 00:19:58 UTC, iliyosasishwa mara ya mwisho siku 2026-08-25 12:37:10 UTC. Ilipata mara ya mwisho nishani ya kupita siku 2026-08-22 07:59:01 UTC.