Posture: add CI (dep audit + secret scan) and review CI permissions #1

Closed
opened 2026-12-05 14:33:16 -05:00 by Clarth · 2 comments
Owner

Posture check (weekly) — 2026-12-05

Role: DevSecOps Engineer (automated weekly posture check)

Scope checked

  • Dependency advisories
  • CI permissions / workflow posture
  • Secret-scan results

Findings

  • CI / workflows: No .forgejo/.gitea/.github/workflows found in repo. Actions is enabled at repo level, but no workflows run (no CI gate).
  • CI permissions: No workflow permission blocks to review (no workflows). No repo Actions secrets/variables configured.
  • Secret scanning: No secret-scan workflow/config detected (no gitleaks/trufflehog/secret-scan). No tracked .env/key/credential files detected in a spot check.
  • Dependency advisories: No dependency manifest detected at repo top level in local workspace snapshot (no package.json/composer.json/requirements.txt/pyproject/go.mod). No automated advisory scan in place.

Needed fix

  1. Add CI workflow(s) with least-privilege permissions: (explicit, minimal; default read-only where possible).
  2. Add dependency/advisory scanning appropriate to the repo's stack (when manifests exist).
  3. Add secret scanning (e.g. gitleaks) on push/PR.
  4. Confirm Actions secrets/variables remain empty unless required; document any needed secrets.

Evidence (no secrets)

  • Forge repo: Clarth/php-adb (git.claytonia.net). Actions enabled=true; repo secrets=0; repo variables=0; branch protections=none observed.
  • Local workspace snapshot checked: /home/clay/Projects/git/php-adb

Signed: DevSecOps Engineer

## Posture check (weekly) — 2026-12-05 **Role:** DevSecOps Engineer (automated weekly posture check) ### Scope checked - Dependency advisories - CI permissions / workflow posture - Secret-scan results ### Findings - **CI / workflows:** No `.forgejo/.gitea/.github/workflows` found in repo. Actions is enabled at repo level, but no workflows run (no CI gate). - **CI permissions:** No workflow permission blocks to review (no workflows). No repo Actions secrets/variables configured. - **Secret scanning:** No secret-scan workflow/config detected (no gitleaks/trufflehog/secret-scan). No tracked `.env`/key/credential files detected in a spot check. - **Dependency advisories:** No dependency manifest detected at repo top level in local workspace snapshot (no package.json/composer.json/requirements.txt/pyproject/go.mod). No automated advisory scan in place. ### Needed fix 1. Add CI workflow(s) with least-privilege `permissions:` (explicit, minimal; default read-only where possible). 2. Add dependency/advisory scanning appropriate to the repo's stack (when manifests exist). 3. Add secret scanning (e.g. gitleaks) on push/PR. 4. Confirm Actions secrets/variables remain empty unless required; document any needed secrets. ### Evidence (no secrets) - Forge repo: Clarth/php-adb (git.claytonia.net). Actions enabled=true; repo secrets=0; repo variables=0; branch protections=none observed. - Local workspace snapshot checked: /home/clay/Projects/git/php-adb --- Signed: DevSecOps Engineer
Clarth added this to the Backlog milestone 2026-12-05 14:55:39 -05:00
Clarth added the
security
label 2026-12-05 14:55:40 -05:00
Author
Owner

Weekly posture rerun (2026-12-05 19:56:00 UTC (scheduled one-off rerun; authoritative)) — DevSecOps Engineer

Scope checked: dependency advisories, CI permissions, secret-scan results.

Evidence (Forgejo API, default branch):

  • Workflows: no .github/workflows, .gitea/workflows, or .forgejo/workflows directory found.
  • Actions: no repo secrets, no repo variables configured (API list returned empty).
  • Secret scanning: no secret-scan workflow/config detected; no tracked .env/key/credential files spotted in root.
  • CI permissions: N/A (no workflows to review).
  • Dependency advisories: no dependency manifest/lockfile found at repo root; cannot run automated advisory audit. Recommend adding manifest+lockfile if deps are introduced, plus CI audit.

Status: issue remains open. Needs human decision on CI/scanning rollout (see issue body recommendations).

Signed: DevSecOps Engineer

Weekly posture rerun (2026-12-05 19:56:00 UTC (scheduled one-off rerun; authoritative)) — DevSecOps Engineer Scope checked: dependency advisories, CI permissions, secret-scan results. Evidence (Forgejo API, default branch): - Workflows: no .github/workflows, .gitea/workflows, or .forgejo/workflows directory found. - Actions: no repo secrets, no repo variables configured (API list returned empty). - Secret scanning: no secret-scan workflow/config detected; no tracked .env/key/credential files spotted in root. - CI permissions: N/A (no workflows to review). - Dependency advisories: no dependency manifest/lockfile found at repo root; cannot run automated advisory audit. Recommend adding manifest+lockfile if deps are introduced, plus CI audit. Status: issue remains open. Needs human decision on CI/scanning rollout (see issue body recommendations). Signed: DevSecOps Engineer
Author
Owner

Plain English

This is a routine safety check of this repo's basic setup. It lists what is in place, what is missing, and what should be fixed so people can trust and maintain the project.

DevSecOps Engineer baseline check (2026-12-06 UTC) (manual run)

Scope: active-repo baseline hygiene check (repo updated within last 7 days; cutoff 2026-11-29T03:57:01Z).

Evidence (Forgejo API + shallow clone/file inspection on host clay-ai):

  • Repo: https://git.claytonia.net/Clarth/php-adb
  • Description: (missing)
  • README: README.md present
  • LICENSE: LICENSE present
  • CI workflows (.github/.gitea/.forgejo workflows): none found
  • Manifests/lockfiles: none detected
  • Dependency audit path: N/A (no manifests/lockfiles detected)
  • Secret-scan workflow/config: none found
  • Suspicious secret-like filenames: none found
  • Tracked-secret content scan (common patterns, redacted): none (pattern/filename scan)

Gaps relevant to this existing issue: missing CI workflow; missing secret-scan workflow/config; dependency audit path N/A until manifests exist; CI permissions should be reviewed when CI is added.
Extra baseline gap(s) noted (tracked separately if no existing issue): repo description missing;

No credentials or secret values are included in this comment.

— DevSecOps Engineer (automated baseline check)

## Plain English This is a routine safety check of this repo's basic setup. It lists what is in place, what is missing, and what should be fixed so people can trust and maintain the project. **DevSecOps Engineer baseline check (2026-12-06 UTC)** (manual run) Scope: active-repo baseline hygiene check (repo updated within last 7 days; cutoff 2026-11-29T03:57:01Z). Evidence (Forgejo API + shallow clone/file inspection on host clay-ai): - Repo: https://git.claytonia.net/Clarth/php-adb - Description: (missing) - README: README.md present - LICENSE: LICENSE present - CI workflows (.github/.gitea/.forgejo workflows): none found - Manifests/lockfiles: none detected - Dependency audit path: N/A (no manifests/lockfiles detected) - Secret-scan workflow/config: none found - Suspicious secret-like filenames: none found - Tracked-secret content scan (common patterns, redacted): none (pattern/filename scan) Gaps relevant to this existing issue: missing CI workflow; missing secret-scan workflow/config; dependency audit path N/A until manifests exist; CI permissions should be reviewed when CI is added. Extra baseline gap(s) noted (tracked separately if no existing issue): repo description missing; No credentials or secret values are included in this comment. — DevSecOps Engineer (automated baseline check)
Sign in to join this conversation.
No labels
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Clarth/php-adb#1
No description provided.