Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The JS and Python versions are kept in lock-step by `release-please` and guarded
## Extensions Catalog

<!-- BEGIN AUTO-GENERATED CATALOG -->
This repository contains **2 marketplace(s)** with **82 extensions** (71 skills, 11 plugins).
This repository contains **2 marketplace(s)** with **83 extensions** (72 skills, 11 plugins).

### large-codebase

Expand All @@ -119,7 +119,7 @@ OpenHands skills for interacting, improving, and refactoring large codebases

Official skills and plugins for OpenHands — the open-source AI software engineer.

**78 extensions** (69 skills, 9 plugins)
**79 extensions** (70 skills, 9 plugins)

| Name | Type | Description | Commands |
|------|------|-------------|----------|
Expand All @@ -138,6 +138,7 @@ Official skills and plugins for OpenHands — the open-source AI software engine
| code-simplifier | skill | Simplifies and refines code across three dimensions - code reuse, code quality, and efficiency - while preserving all... | `/simplify` |
| comment-cleanup | skill | Remove comments that restate adjacent code, delete comments that narrate removed functionality or past PRs, and conde... | — |
| cortex-training-rl | skill | Run reinforcement-learning post-training of a model inside the OpenHands harness on Snowflake Cortex Training for any... | `/cortex-training-rl` |
| cve-remediation-factory | skill | Set up a private CVE remediation factory on GitHub: inventory and scan the container images you ship, then open small... | `/cve-remediation-factory` |
| datadog | skill | Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging productio... | — |
| deno | skill | Common project operations using Deno (tasks, run/test/lint/fmt, and dependency management). | — |
| discord | skill | Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows). Use when the user m... | — |
Expand Down
54 changes: 28 additions & 26 deletions automations/catalog-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,33 @@
// Do not edit it manually. To update it after changing automations/catalog/*/manifest.json,
// run: npm run build:automations

import entry0 from "./catalog/github-pr-reviewer/manifest.json" with { type: "json" };
import entry1 from "./catalog/custom-automation/manifest.json" with { type: "json" };
import entry2 from "./catalog/github-repo-monitor/manifest.json" with { type: "json" };
import entry3 from "./catalog/github-issue-to-pr/manifest.json" with { type: "json" };
import entry4 from "./catalog/slack-standup-digest/manifest.json" with { type: "json" };
import entry5 from "./catalog/slack-channel-monitor/manifest.json" with { type: "json" };
import entry6 from "./catalog/linear-triage-assistant/manifest.json" with { type: "json" };
import entry7 from "./catalog/linear-issue-to-github-pr/manifest.json" with { type: "json" };
import entry8 from "./catalog/gitlab-issue-to-mr/manifest.json" with { type: "json" };
import entry9 from "./catalog/linear-issue-to-gitlab-mr/manifest.json" with { type: "json" };
import entry10 from "./catalog/linear-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
import entry11 from "./catalog/jira-issue-to-pr/manifest.json" with { type: "json" };
import entry12 from "./catalog/qa-changes/manifest.json" with { type: "json" };
import entry13 from "./catalog/jira-data-center-issue-to-bitbucket-data-center-pr/manifest.json" with { type: "json" };
import entry14 from "./catalog/jira-issue-to-gitlab-mr/manifest.json" with { type: "json" };
import entry15 from "./catalog/research-brief-writer/manifest.json" with { type: "json" };
import entry16 from "./catalog/bitbucket-data-center-pr-reviewer/manifest.json" with { type: "json" };
import entry17 from "./catalog/jira-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
import entry18 from "./catalog/github-agents-md-maintainer/manifest.json" with { type: "json" };
import entry19 from "./catalog/github-delivery-watchdog/manifest.json" with { type: "json" };
import entry20 from "./catalog/github-issue-triage/manifest.json" with { type: "json" };
import entry21 from "./catalog/upstream-fork-sync/manifest.json" with { type: "json" };
import entry22 from "./catalog/incident-retrospective-drafter/manifest.json" with { type: "json" };
import entry23 from "./catalog/news-digest/manifest.json" with { type: "json" };
import entry24 from "./catalog/github-stale-ci-pr-closer/manifest.json" with { type: "json" };
import entry25 from "./catalog/github-comment-cleanup/manifest.json" with { type: "json" };
import entry0 from "./catalog/cve-remediation-factory/manifest.json" with { type: "json" };
import entry1 from "./catalog/github-pr-reviewer/manifest.json" with { type: "json" };
import entry2 from "./catalog/custom-automation/manifest.json" with { type: "json" };
import entry3 from "./catalog/github-repo-monitor/manifest.json" with { type: "json" };
import entry4 from "./catalog/github-issue-to-pr/manifest.json" with { type: "json" };
import entry5 from "./catalog/slack-standup-digest/manifest.json" with { type: "json" };
import entry6 from "./catalog/slack-channel-monitor/manifest.json" with { type: "json" };
import entry7 from "./catalog/linear-triage-assistant/manifest.json" with { type: "json" };
import entry8 from "./catalog/linear-issue-to-github-pr/manifest.json" with { type: "json" };
import entry9 from "./catalog/gitlab-issue-to-mr/manifest.json" with { type: "json" };
import entry10 from "./catalog/linear-issue-to-gitlab-mr/manifest.json" with { type: "json" };
import entry11 from "./catalog/linear-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
import entry12 from "./catalog/jira-issue-to-pr/manifest.json" with { type: "json" };
import entry13 from "./catalog/qa-changes/manifest.json" with { type: "json" };
import entry14 from "./catalog/jira-data-center-issue-to-bitbucket-data-center-pr/manifest.json" with { type: "json" };
import entry15 from "./catalog/jira-issue-to-gitlab-mr/manifest.json" with { type: "json" };
import entry16 from "./catalog/research-brief-writer/manifest.json" with { type: "json" };
import entry17 from "./catalog/bitbucket-data-center-pr-reviewer/manifest.json" with { type: "json" };
import entry18 from "./catalog/jira-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
import entry19 from "./catalog/github-agents-md-maintainer/manifest.json" with { type: "json" };
import entry20 from "./catalog/github-delivery-watchdog/manifest.json" with { type: "json" };
import entry21 from "./catalog/github-issue-triage/manifest.json" with { type: "json" };
import entry22 from "./catalog/upstream-fork-sync/manifest.json" with { type: "json" };
import entry23 from "./catalog/incident-retrospective-drafter/manifest.json" with { type: "json" };
import entry24 from "./catalog/news-digest/manifest.json" with { type: "json" };
import entry25 from "./catalog/github-stale-ci-pr-closer/manifest.json" with { type: "json" };
import entry26 from "./catalog/github-comment-cleanup/manifest.json" with { type: "json" };

export const AUTOMATION_CATALOG_ENTRIES = [
entry0,
Expand Down Expand Up @@ -56,4 +57,5 @@ export const AUTOMATION_CATALOG_ENTRIES = [
entry23,
entry24,
entry25,
entry26,
];
2 changes: 1 addition & 1 deletion automations/catalog.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"category": { "type": "string", "minLength": 1 },
"icon": {
"description": "The glyph the card shows, named from the same closed set the interface manifest's navigation uses. Absent means the host derives one from requires.integrations, which is right for an automation whose identity is the service it talks to and wrong for one whose identity is the work itself.",
"enum": ["layout-dashboard", "sparkles", "bot", "circle-alert", "activity", "timer"]
"enum": ["layout-dashboard", "sparkles", "bot", "circle-alert", "activity", "timer", "shield-check"]
},
"description": { "type": "string", "minLength": 1 },
"diagram": {
Expand Down
88 changes: 88 additions & 0 deletions automations/catalog/cve-remediation-factory/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"id": "cve-remediation-factory",
"name": "GitHub CVE Remediation Factory",
"category": "Security",
"description": "Deploy scanners and agents to remediate vulnerabilities as soon as they are detected.",
"diagram": "flowchart TD\n A([\"Daily scan\"]) --> B[\"Trivy + Grype results in a new repo\"]\n B --> C[\"Agent ranks fixable CVEs and submits PRs\"]\n C --> D[\"(Optional) Slack status report\"]",
"requires": {
"integrations": {
"github": {
"message": "Used to read your repositories, create the private findings repository, and open upgrade pull requests."
}
},
"features": [
"presetPrompt",
"conversationDispatch"
]
},
"icon": "shield-check",
"popularityRank": 101,
"estimatedSetupMinutes": 20,
"triggers": [
"cron"
],
"exampleImplementation": "Trigger: cron, daily scan then weekday remediation\nRequired secrets: none (uses your GitHub connection); optionally CVE_FACTORY_GIT_TOKEN for a bot account and SLACK_BOT_TOKEN\n\n1. Build an inventory of what you ship: container images from Helm charts, manifests and compose files, and source repositories with lockfiles.\n2. Seed a private findings repository with factory.yaml and the scanner.\n3. Scan every image and repository with Trivy and Grype and store the results on a branch.\n4. Rank fixable CRITICAL and HIGH findings and open bundled upgrade pull requests.\n5. Track each fix in a work log until the scan stops reporting it, and write a short status report (and Slack, when configured).",
"setup": {
"version": "1.0",
"mode": "assisted",
"form": {
"note": "The bot will act as your identity through your GitHub connection. To use a separate identity (recommended), create a bot account and its token, and save the token as a secret named CVE_FACTORY_GIT_TOKEN.",
"args": {
"repositories": {
"type": "repo-picker",
"label": "Repositories to protect",
"help": "Optional. If you add none, the agent covers every active repository your GitHub connection can read.",
"provider": "github",
"multiple": true,
"required": false
},
"shipType": {
"type": "select",
"label": "What do you ship?",
"help": "The types of deployable artifacts the agent will look for.",
"default": "Let the agent figure it out",
"required": false,
"options": [
{
"value": "Let the agent figure it out",
"label": "Let the agent figure it out"
},
{
"value": "Container images (Docker, Kubernetes, Helm, Compose)",
"label": "Container images (Docker, Kubernetes, Helm, Compose)"
},
{
"value": "Libraries and packages (npm, PyPI, Maven/Gradle JARs, Go modules)",
"label": "Libraries and packages (npm, PyPI, Maven/Gradle JARs, Go modules)"
},
{
"value": "Code deployed from the repo (serverless, VMs, PaaS)",
"label": "Code deployed from the repo (serverless, VMs, PaaS)"
}
]
},
"notes": {
"type": "textarea",
"label": "Which repo best shows what you deploy? Anything else to know?",
"help": "The repo that represents your most prominent security concern, also add anything else the agent might need to know",
"placeholder": "Start with owner/repo, it showcases our primary deployment pipeline",
"required": false,
"constraints": {
"maxLength": 2000
}
},
"slackChannel": {
"type": "text",
"label": "Slack channel for the daily status",
"help": "Recommended. Leave blank to keep the daily status only in the findings repository.",
"placeholder": "#cve-automation",
"required": false,
"constraints": {
"maxLength": 100
}
}
}
},
"message": "Time to set up a GitHub CVE Remediation Factory. Here's what happens next:\n\n1. The agent explores your repositories to work out what to scan, based on your answers below.\n2. It presents a plan for you to approve.\n3. Once you approve, it creates the scanning repository, the first scan starts, and you create the automation on the right.\n\nYour answers:\n\n- Repositories to protect (blank = all repos in the org): {{form.repositories}}\n- Ships: {{form.shipType}}\n- Start with (blank = the agent decides): {{form.notes}}\n- Slack channel (blank = no Slack): {{form.slackChannel}}"
}
}
6 changes: 4 additions & 2 deletions automations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export interface RecommendedAutomation {
| "bot"
| "circle-alert"
| "activity"
| "timer";
| "timer"
| "shield-check";
description: string;
/**
* Mermaid source for a small diagram of what the automation does. The host
Expand Down Expand Up @@ -296,7 +297,8 @@ export type AutomationIconSlug =
| "bot"
| "circle-alert"
| "activity"
| "timer";
| "timer"
| "shield-check";

/** The pages a sub-page navigation item may point at. */
export type AutomationSubPageId = "list" | "events" | "templates";
Expand Down
1 change: 1 addition & 0 deletions automations/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
"webhooks": "/v1/webhooks"
},
"featuredAutomationIds": [
"cve-remediation-factory",
"github-pr-reviewer",
"github-agents-md-maintainer",
"news-digest",
Expand Down
3 changes: 2 additions & 1 deletion automations/interface.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@
"bot",
"circle-alert",
"activity",
"timer"
"timer",
"shield-check"
]
},
"subPageNavItem": {
Expand Down
14 changes: 14 additions & 0 deletions marketplaces/openhands-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@
"pull-request"
]
},
{
"name": "cve-remediation-factory",
"source": "./skills/cve-remediation-factory",
"description": "Set up a private CVE remediation factory on GitHub: inventory and scan the container images you ship, then open small upgrade pull requests for fixable CRITICAL and HIGH vulnerabilities.",
"category": "automations",
"defaultEnabled": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AGENTS.md sets the policy for this flag: the default-enabled set should stay small and provider-agnostic, and anything language-, vendor- or workflow-specific "should start off and be opted into from the catalog UI". This skill is GitHub-only (SKILL.md: "GitHub only") and is a specific workflow (CVE remediation), so it meets both exclusions, yet defaultEnabled: true ships it in DEFAULT_ENABLED_SKILL_NAMES for every new workspace. Please drop the flag so users opt in from the catalog UI, or note the maintainer-approved exception if default-on is intentional for a featured security template.

"keywords": [
"security",
"cve",
"trivy",
"vulnerability",
"automation"
]
},
{
"name": "agent-canvas-environment",
"source": "./skills/agent-canvas-environment",
Expand Down
1 change: 1 addition & 0 deletions skills/cve-remediation-factory/.claude-plugin
1 change: 1 addition & 0 deletions skills/cve-remediation-factory/.codex-plugin
19 changes: 19 additions & 0 deletions skills/cve-remediation-factory/.plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "cve-remediation-factory",
"version": "1.0.0",
"description": "Set up a private CVE remediation factory on GitHub: inventory and scan what you ship (container images and source repositories) with Trivy and Grype, then open small upgrade pull requests for fixable CRITICAL and HIGH vulnerabilities.",
"author": {
"name": "OpenHands",
"email": "contact@all-hands.dev"
},
"homepage": "https://github.com/OpenHands/extensions",
"repository": "https://github.com/OpenHands/extensions",
"license": "MIT",
"keywords": [
"security",
"cve",
"trivy",
"vulnerability",
"automation"
]
}
3 changes: 3 additions & 0 deletions skills/cve-remediation-factory/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# CVE Remediation Factory

Sets up a scan-and-remediate pipeline for container image vulnerabilities. Run `/cve-remediation-factory`.
Loading
Loading