Security hardening: pin Python deps, normalize Go versions, add SECURITY.md and security CI#1
Closed
nevinshine with Copilot wants to merge 3 commits into
Closed
Security hardening: pin Python deps, normalize Go versions, add SECURITY.md and security CI#1nevinshine with Copilot wants to merge 3 commits into
nevinshine with Copilot wants to merge 3 commits into
Conversation
…ITY.md and security CI workflow Agent-Logs-Url: https://github.com/nevinshine/telos-runtime/sessions/a86f589c-17d5-460e-8ab5-fbc19207cfc7 Co-authored-by: nevinshine <182664674+nevinshine@users.noreply.github.com>
…h bypass) Agent-Logs-Url: https://github.com/nevinshine/telos-runtime/sessions/a86f589c-17d5-460e-8ab5-fbc19207cfc7 Co-authored-by: nevinshine <182664674+nevinshine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Harden repository security and production reproducibility
Security hardening: pin Python deps, normalize Go versions, add SECURITY.md and security CI
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses supply-chain risk (unpinned Python deps), Go toolchain inconsistency, missing vulnerability disclosure process, and absence of any security gates in CI.
Changes
cortex/requirements.txt— Replace all>=specifiers with exact pinned versions for reproducible installs; bumpprotobufto5.29.6to patch two CVEs (DoS + JSON recursion depth bypass):go.modnormalization — Align all three modules togo 1.23.0(primary module baseline);telos_core/mirage_pocwas on the non-existent1.25.6,telos_edge/loaderwas on1.21.SECURITY.md— Added at repo root with supported versions, private reporting channels (GitHub Security Advisories + email), triage SLA table, coordinated disclosure process, and explicit in/out-of-scope definition..github/workflows/security.yml— New workflow (push + PR onmain) with three jobs:go-security:govulncheck(CVE DB) +gosec(SAST) across all Go modules in a matrix; SARIF uploaded to GitHub Security tabpython-audit:pip-auditagainstcortex/requirements.txt, fails on any findingsecret-scan:gitleaksover full git historyOriginal prompt
Harden repository security and production reproducibility in nevinshine/telos-runtime.
Implement the following changes:
Acceptance criteria:
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: to be the greatest system security rsearcher and architect...what flaws in my repo shpuld be fixed to make it so perfect ever to be a best production ready one
Assistant: Great goal. To tell you exactly what flaws to fix, I need the specific GitHub repository first.
Please share:
owner/repoformat (e.g.,nevinshine/my-service)main)Once you provide that, I can run a focused security + production-readiness audit and give you a prioritized fix list (critical → low), including architecture, code, CI/CD, secrets handling, authn/authz, supply chain, and observability gaps.
User: thee
Assistant: Perfect — you’ve got a serious systems-security portfolio.
Recommendation: start with
nevinshine/telos-runtimeas your production-hardening anchor, then apply the same baseline to the kernel-level repos (hyperion-xdp,sentinel-runtime,sentinel-cc,sentinel-vmi) and finallytelos-lang.If you want, I can now run an actual repo-by-repo audit using tools and give exact file-level flaws.
For now, here’s the highest-impact flaw checklist to fix first:
Top flaws that usually block “best production-ready” status
No threat model / trust-boundary spec in-repo
docs/threat-model.mdwith assets, attackers, assumptions, and out-of-scope.Unsafe C defaults
-fstack-protector-strong -D_FORTIFY_SOURCE=3 -fPIE -pie -Wl,-z,relro,-z,now -Wformat -Werror=format-securityeBPF verifier/CO-RE compatibility not pinned
Privilege model too broad
No signed builds / provenance
Dependency/supply-chain drift
Insufficient memory-safety testing depth
Weak secrets handling
**Missing incid...
This pull request was created from Copilot chat.