返回资讯中心
外部精选
软件工程
#开发者实时流

Devin agent skills that patch the GitLab CVSS 10.0, PHP and Node.js RCEs

Three Agent Skills that find and patch vulnerable runtimes across your repos. They work in any coding agent that reads SKILL.md files: Devin, Claude Code, Codex, Cursor, Factory Droid, GitHub Copilot, Gemini CLI, OpenCo…

Hacker News 最新wondersky2026/10/25 · 11 天前10 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Three Agent Skills that find and patch vulnerable runtimes across your repos. They work in any coding agent that reads SKILL.md files: Devin, Claude Code, Codex, Cursor, Factory Droid, GitHub Copilot, Gemini CLI, OpenCode, Windsurf and 70 more.

Any agent, with npx skills

npx skills add CognitionAI/devin-vuln-fixes

The CLI detects the agents on your machine and asks where to install. Add -g to install for every project, or pick agents directly:

npx skills add CognitionAI/devin-vuln-fixes -a claude-code -a codex -a cursor -a droid -a devin

Install one skill only:

npx skills add CognitionAI/devin-vuln-fixes --skill fix-php-vuln

Update later with npx skills update. Requires Node.js 22.20 or later.

/plugin marketplace add CognitionAI/devin-vuln-fixes /plugin install vuln-fixes@cognition-skills

Codex (plugin marketplace)

The repo carries a Codex plugin manifest (.codex-plugin/plugin.json) and marketplace (.agents/plugins/marketplace.json). Add it as a marketplace in Codex, then install Vulnerability Fixes from /plugins. Codex also reads .agents/skills/, so npx skills add CognitionAI/devin-vuln-fixes -a codex works without the plugin.

droid plugin marketplace add https://github.com/CognitionAI/devin-vuln-fixes droid plugin install vuln-fixes@cognition-skills

Droid also reads skills that npx skills add -a droid installs into .agents/skills/.

Devin cloud: install Vulnerability Fixes from the plugin marketplace, or add this repo on the Customize page (From repository, CognitionAI/devin-vuln-fixes). Devin also discovers .agents/skills/ in every connected repo, so a project install with npx skills works too.

Devin CLI and Devin Desktop: npx skills add CognitionAI/devin-vuln-fixes -a devin.

By hand

Copy a skill folder into your agent's skills directory. The common locations are .agents/skills/, .claude/skills/, .devin/skills/, .factory/skills/ and .windsurf/skills/:

git clone https://github.com/CognitionAI/devin-vuln-fixes cp -r devin-vuln-fixes/skills/fix-php-vuln .agents/skills/

Use

Ask in plain words. The agent picks the skill from its description:

Or invoke directly where your agent supports slash commands: /fix-php-vuln, /fix-node-vuln, /fix-gitlab-vuln.

The agent needs read access to the repos, and for the build and test steps it needs Docker and access to the image registry or package mirror your CI already uses. When public hosts are blocked, the skills tell the agent to mark a target as unverified and let CI prove it.

Approval gate. Patching a runtime is a production change. The skills never edit before you approve a list of repos.

No guessed versions. Every tag, digest and package release is confirmed to exist. "Fixed" means the artifact contains the fix, not that a version string looks newer.

Tests inside the image. Host-side tests miss base-image changes. The skills run the suite inside the built production image, before and after.

Agent-neutral wording. The skills do not depend on one agent's tools. Where an agent supports subagents, the skills use one per repo; otherwise they work repo by repo.

No allowed-tools. Agents disagree on the format of that field (space-separated string in the spec, YAML list in Devin CLI). Leaving it out keeps the skills portable. Add it in a fork if you want tools pre-approved.

Keeping the targets current

The fixed-version numbers are pinned to the advisories of October 21, 2026. When a vendor ships a newer patch, we update the skill and bump metadata.version in its frontmatter. See CHANGELOG.md. Run npx skills update to pick up changes; skills-lock.json records the hash you have.

skills/<name>/SKILL.md the skills (Agent Skills spec; this is what every agent reads) .claude-plugin/ Claude Code plugin + marketplace manifests (also read by Factory and npx skills) .codex-plugin/ + .agents/plugins/ Codex plugin + marketplace manifests .factory-plugin/ Factory Droid native manifests .devin-plugin/plugin.json Devin plugin manifest

Contributing and security

See CONTRIBUTING.md to propose a change or a new skill.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →