Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
270 changes: 270 additions & 0 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -731,3 +731,273 @@ pre .prompt {
line-height: var(--line-height-xs);
color: var(--color-ink-2);
}


/* blog list & article styles */
.page-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
padding-bottom: 36px;
margin-bottom: 40px;
border-bottom: 1px solid var(--color-border);
.page-banner__text {
max-width: 580px;
}
.page-banner__title {
font-family: var(--font-family-heading);
font-size: var(--font-size-xxl);
line-height: var(--line-height-xxl);
font-weight: 700;
color: var(--color-ink);
margin-bottom: 10px;
}
.page-banner__art {
flex: 0 0 320px;
svg {
width: 100%;
height: auto;
display: block;
}
@media (max-width: 800px) {
display: none;
}
}
}

.blog-list {
display: flex;
flex-direction: column;
gap: 24px;
}

.blog-row {
display: grid;
grid-template-columns: 280px 1fr;
gap: 32px;
align-items: center;
padding: 28px;
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: 8px;
transition: border-color 0.2s ease, transform 0.2s ease;
&:hover {
border-color: var(--color-teal);
transform: translateY(-2px);
}
@media (max-width: 760px) {
grid-template-columns: 1fr;
gap: 20px;
padding: 20px;
}
.blog-row__thumb {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 170px;
padding: 18px;
border-radius: 6px;
background-color: var(--color-ink);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cg fill='none' stroke='%234db8bc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.14'%3E%3Cpath d='M12 10 L5 16 L12 22'/%3E%3Cpath d='M19 22 L26 10'/%3E%3Cpath d='M33 10 L40 16 L33 22'/%3E%3Cpath d='M50 16 h12'/%3E%3Cpath d='M76 42 L69 48 L76 54'/%3E%3Cpath d='M83 54 L90 42'/%3E%3Cpath d='M97 42 L104 48 L97 54'/%3E%3Cpath d='M114 48 h12'/%3E%3C/g%3E%3C/svg%3E");
color: #ffffff;
text-decoration: none;
border-bottom: 4px solid var(--color-teal);
.blog-row__thumb-top {
font-family: var(--font-family-mono);
font-size: var(--font-size-xxs);
letter-spacing: 0.06em;
text-transform: uppercase;
color: #6fd0d4;
}
.blog-row__thumb-title {
margin-block: 12px;
font-family: var(--font-family-heading);
font-size: 16px;
line-height: 1.3;
font-weight: 600;
color: #ffffff;
}
.blog-row__thumb-meta {
font-family: var(--font-family-mono);
font-size: 11px;
color: #9cb6c9;
}
}
.blog-card__date {
font-family: var(--font-family-mono);
font-size: var(--font-size-xxs);
line-height: var(--line-height-xxs);
color: var(--color-ink-3);
margin-bottom: 10px;
}
.blog-card__title {
font-family: var(--font-family-heading);
font-size: var(--font-size-l);
line-height: var(--line-height-l);
margin-bottom: 12px;
a {
color: var(--color-ink);
text-decoration: none;
&:hover {
color: var(--color-teal);
}
}
}
.blog-card__desc {
font-size: var(--font-size-s);
line-height: var(--line-height-s);
color: var(--color-ink-2);
margin-bottom: 18px;
}
.blog-card__link {
display: inline-block;
font-family: var(--font-family-mono);
font-size: var(--font-size-xs);
color: var(--color-teal);
text-decoration: none;
font-weight: 500;
&:hover {
text-decoration: underline;
}
}
}

.article-container {
max-width: 760px;
margin-inline: auto;
padding-block: 40px 80px;
.article-back {
display: inline-block;
font-family: var(--font-family-mono);
font-size: var(--font-size-xs);
color: var(--color-teal);
text-decoration: none;
margin-bottom: 24px;
&:hover {
text-decoration: underline;
}
}
.article-header {
position: static;
margin-bottom: 32px;
padding-bottom: 20px;
border-bottom: 1px solid var(--color-border);
h1 {
position: static;
font-family: var(--font-family-heading);
font-size: var(--font-size-xl);
line-height: 1.25;
color: var(--color-ink);
margin-bottom: 12px;
}
}
.article-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
font-family: var(--font-family-mono);
font-size: var(--font-size-xxs);
color: var(--color-ink-3);
a {
color: var(--color-teal);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.article-divider {
margin-block: 48px 32px;
border: none;
border-top: 1px solid var(--color-border);
}
.article-footer {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}
}

.prose {
font-size: var(--font-size-s);
line-height: var(--line-height-s);
color: var(--color-ink);
h2 {
font-family: var(--font-family-heading);
font-size: var(--font-size-l);
line-height: var(--line-height-l);
color: var(--color-ink);
margin-top: 40px;
margin-bottom: 16px;
padding-bottom: 8px;
border-bottom: 1px solid var(--color-border);
}
h3 {
font-family: var(--font-family-heading);
font-size: var(--font-size-m);
line-height: var(--line-height-m);
color: var(--color-teal);
margin-top: 28px;
margin-bottom: 12px;
}
p {
margin-block: 16px;
}
a {
color: var(--color-teal);
text-decoration: underline;
text-underline-offset: 3px;
&:hover {
color: var(--color-ink);
}
}
ul, ol {
margin-block: 16px;
padding-left: 24px;
}
li {
margin-block: 6px;
}
code {
font-family: var(--font-family-mono);
font-size: 0.875em;
padding: 2px 4px;
background: rgba(9, 30, 52, 0.05);
border-radius: 4px;
color: var(--color-ink);
}
pre {
margin-block: 20px;
padding: 16px;
background: var(--color-bg-alt);
border: 1px solid var(--color-border);
border-radius: var(--border-radius-s);
overflow-x: auto;
code {
padding: 0;
background: transparent;
border: none;
color: inherit;
}
}
table {
width: 100%;
margin-block: 24px;
border-collapse: collapse;
font-size: var(--font-size-xs);
th, td {
padding: 10px 12px;
border: 1px solid var(--color-border);
text-align: left;
}
th {
background: var(--color-bg-alt);
font-family: var(--font-family-heading);
font-weight: 600;
}
}
}
68 changes: 68 additions & 0 deletions content/blog/2026-11-introducing-darnit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: "Introducing Darnit: checking project practices with evidence"
description: "How Darnit checks project practices against explicit controls, where human review matters, and what we are exploring for reproducible experiments."
date: 2026-11-13
author: "Dev"
author_github: "Daniel-park10"
reading_time: 5
type: "blog"
layout: "single"
---

An early false pass in Darnit's bit-for-bit reproducibility check (RE-03.01) was documented in [Darnit issue #445](https://github.com/darnitdevorg/darnit/issues/445). During an audit of `psf/requests`, the check found `SOURCE_DATE_EPOCH` in `publish.yml` and returned PASS even though it had not built the project or compared outputs. The issue was fixed in [PR #454](https://github.com/darnitdevorg/darnit/pull/454), which changed signal-only results to WARN and stated that reproducibility had not been verified.

That test captures a question behind Darnit: what evidence should be enough to satisfy a check?

Darnit is a pluggable framework for checking project practices against explicit software engineering controls. Its first supported standards implementation covers the [Open Source Project Security (OSPS) Baseline](https://baseline.openssf.org/). Darnit can inspect repository files, query platform settings, run local checks, and collect evidence for a maintainer to review.

At the time of writing in November 2026, Darnit's Baseline implementation tracks OSPS v2026.02.19. An audit result describes the evidence checked by its configured rules. It is not a certification, and it cannot replace maintainer judgment.

## Why repository files are only part of the picture

Templates are useful when starting a repository. A template can add a `SECURITY.md` file or a contribution guide. It cannot show whether a live GitHub setting still matches the project's security requirements, or whether the documented process is followed.

For example, a repository file can describe who may approve changes. The actual branch protection setting lives in the hosting platform. Darnit checks the evidence available for each control instead of treating a file's presence as proof that the whole requirement is met.

## How a control is checked

Darnit runs the checks configured for each control. Some checks can produce a conclusive result. Others collect evidence and leave part of the review to a maintainer.

| Check | Example evidence | What it can establish |
|---|---|---|
| Repository file | A `SECURITY.md` file exists | The file is present, not that the process is followed |
| Platform setting | A GitHub permission value | The value returned by the platform at check time |
| Model-assisted review | Text quoted from a repository file | Evidence for review under the control's configured rules |
| Manual review | Confirmation about outside collaborators | Context that an automated check cannot establish |

OSPS-AC-02.01 is one example. Darnit can query a GitHub organization's default repository permission and record the value it receives. That setting does not cover every outside collaborator, so the API result alone cannot finish the check. Darnit leaves that remaining question for a person to review.

This boundary matters when a check uses a language model too. A model can help interpret repository evidence, but the result follows the review rules configured for that control. Where a person must confirm the result, the model's assessment remains pending until that review happens.

## Why positive signals need a limit

Finding `SOURCE_DATE_EPOCH`, `reprotest`, or `diffoscope` in a workflow gives the check a signal to record; it does not show that independent builds produced identical outputs. A passing RE-03.01 result needs evidence that the outputs from independent builds match.

## Amber and reproducible research

Amber explores ways to record a research run and compare selected outputs against a claim and measurement rule supplied by the researcher. The aim is to make the run and chosen measurement easier to inspect and repeat.

An Amber result is intended to report whether a selected output matches that measurement rule. That result alone cannot establish that an experiment was scientifically sound or that a paper's broader conclusions are correct.

At publication, Amber's design and command interface were being evaluated. For current availability and usage information, check the [Darnit repository](https://github.com/darnitdevorg/darnit). This post does not document Amber commands or make claims about signing, identity, or data privacy.

## Try a version-pinned audit

This example uses Darnit v0.1.1 so the command stays tied to a specific version:

```bash
uvx --from "git+https://github.com/darnitdevorg/darnit@v0.1.1" darnit audit /path/to/repo
```

For current installation options and newer releases, see the [Darnit README](https://github.com/darnitdevorg/darnit#readme).

## Join the conversation

If you maintain an open source project, tell us where repository checks help and where they miss important context. If you work on reproducibility, share which measurements and outputs you need to evaluate a run.

Open an issue in the [Darnit repository](https://github.com/darnitdevorg/darnit) or join #darnit on the [OpenSSF Slack](https://openssf.slack.com/archives/C0BD6BQEEJJ).

5 changes: 5 additions & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Blog"
type: "blog"
layout: "list"
---
Loading