Repository navigation
Bump vulnerable dependencies and add security scanning - #8
Merged
Merged
Conversation
- requirements.txt: re-resolved so pip-audit reports no known CVEs (23 packages were affected); unused Jupyter/openai-agents leftovers that pulled in tornado are dropped. - cluster_modules: parse the LLM's module tree with ast.literal_eval instead of eval, so a prompt-injected reply cannot run code. - New Security workflow (pip-audit, ruff Bandit rules, zizmor) on PRs, pushes to main and weekly; Dependabot for pip and Actions with a 7-day cooldown. - Workflows: actions pinned to commit hashes, checkouts drop persisted credentials. sha1 cache keys marked usedforsecurity=False. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Node 20 is end of life and runners were already forcing these actions onto Node 24 with a deprecation warning. Each action moves to its first Node 24 major, still pinned by commit hash: checkout v5, setup-python v6, upload-artifact v6, download-artifact v7. Artifacts are downloaded by name/pattern, which these majors leave unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Clears every known CVE from the pinned dependencies, closes an
evalon LLM output, and adds security scanning so new issues show up in CI.Notable bumps: pydantic-ai 1.0.6 → 1.107.10 (kept <2), litellm 1.77 → 1.103, starlette 0.47 → 1.10, mcp → 1.30 (kept <2).
mermaid-pystays commented out.Actions move to their first Node 24 majors (Node 20 is EOL): checkout v5, setup-python v6, upload-artifact v6, download-artifact v7. Covers what upstream FSoft-AI4Code#89 does for
ci.yml, plus the artifact actions inbuild-wheels.yml.Evidence
pip-audit -r requirements.txt→ 272 advisories across 23 packages; zizmor → 19 high, 7 medium; runners warned "Node.js 20 is deprecated".After:
pip-audit→No known vulnerabilities found; zizmor (medium+) → clean;ruff --select S→ clean; no Node 20 warnings.requirements.txt: 453 passed, 3 skipped;pip checkclean.codewiki generate(real CLI against a scripted OpenAI-compatible server): clustering parsed a Python-literal<GROUPED_COMPONENTS>vialiteral_eval→ 2 modules, agents wroteapi.md/core.mdvia tool calls, overview written, exit 0.Merge Danger
Door: two-way
Revert the commit to restore the old pins and workflows.
Blast Radius: runtime
Big jumps in pydantic-ai, litellm and starlette are only covered by mocked LLM tests; run one real-model generate before release. Dependabot will start opening PRs once merged. To make the Security job block merges, add "Security scan" as a required check.
🤖 Generated with Claude Code