Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.8 KiB

API Reference: Securing GitHub Actions Workflows

Security Checks

Check Risk Severity
Unpinned actions (mutable tags) Supply chain attack via tag overwrite Medium
Missing permissions block Inherits overly broad defaults Medium
write-all permissions Excessive token scope High
Script injection in run steps Code execution via PR title/body High
pull_request_target trigger Fork code runs with base permissions High
Secrets in workflow logs Credential exposure Critical

Dangerous Expression Contexts

Context Risk
github.event.pull_request.title Attacker-controlled PR title
github.event.pull_request.body Attacker-controlled PR body
github.event.issue.title Attacker-controlled issue title
github.event.comment.body Attacker-controlled comment
github.head_ref Attacker-controlled branch name

SHA Pinning Format

Format Security
actions/checkout@v4 Insecure - mutable tag
actions/checkout@b4ffde65f... Secure - immutable SHA

Permission Scopes

Scope Values
contents read, write
actions read, write
deployments read, write
id-token write (for OIDC)
security-events write
pull-requests read, write

Python Libraries

Library Version Purpose
yaml PyYAML >=6.0 Parse workflow YAML
re stdlib Pattern matching
json stdlib Report output
pathlib stdlib File discovery

References