Socket · Arazzo Workflow

Socket Fix Vulnerabilities in a Repository

Version 1.0.0

Confirm a repository and its HEAD scan, then fetch the available fixes for its vulnerabilities.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Supply Chain SecurityOpen Source SecuritySoftware Composition AnalysisSCAMalware DetectionDependency ScanningSBOMnpmPyPIGoMavenCargoNuGetRubyGemsDeveloper SecurityArazzoWorkflows

Provider

socket-dev

Workflows

fix-repo-vulnerabilities
Confirm a repo, then fetch available fixes for its vulnerabilities.
Reads the repository to confirm it exists and capture its HEAD scan, then fetches available fixes for the requested vulnerability ids.
2 steps inputs: allowMajorUpdates, orgSlug, repoSlug, vulnerabilityIds outputs: fixDetails, headFullScanId
1
getRepo
Read the repository to confirm it exists and capture its HEAD full scan id for context.
2
fetchFixes
Fetch available fixes for the requested vulnerabilities on the latest default-branch scan of the repository, including advisory details and the responsible direct dependencies.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Socket Fix Vulnerabilities in a Repository
  summary: Confirm a repository and its HEAD scan, then fetch the available fixes for its vulnerabilities.
  description: >-
    A remediation flow. It reads the repository to confirm it exists and to
    capture its current HEAD full scan, then asks the fixes endpoint for
    available package upgrades that resolve the requested vulnerabilities on the
    latest default-branch scan, including advisory details and the responsible
    direct dependencies. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: fixesApi
  url: ../openapi/socket-dev-fixes-api-openapi.yml
  type: openapi
- name: reposApi
  url: ../openapi/socket-dev-repos-api-openapi.yml
  type: openapi
workflows:
- workflowId: fix-repo-vulnerabilities
  summary: Confirm a repo, then fetch available fixes for its vulnerabilities.
  description: >-
    Reads the repository to confirm it exists and capture its HEAD scan, then
    fetches available fixes for the requested vulnerability ids.
  inputs:
    type: object
    required:
    - orgSlug
    - repoSlug
    - vulnerabilityIds
    properties:
      orgSlug:
        type: string
        description: The slug of the organization.
      repoSlug:
        type: string
        description: The repository slug to fetch fixes for.
      vulnerabilityIds:
        type: string
        description: Comma-separated GHSA or CVE IDs, or "*" for all vulnerabilities.
      allowMajorUpdates:
        type: boolean
        description: Whether to allow major version updates in proposed fixes.
  steps:
  - stepId: getRepo
    description: >-
      Read the repository to confirm it exists and capture its HEAD full scan
      id for context.
    operationId: getOrgRepo
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    - name: repo_slug
      in: path
      value: $inputs.repoSlug
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      headFullScanId: $response.body#/head_full_scan_id
  - stepId: fetchFixes
    description: >-
      Fetch available fixes for the requested vulnerabilities on the latest
      default-branch scan of the repository, including advisory details and the
      responsible direct dependencies.
    operationId: fetch-fixes
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    - name: repo_slug
      in: query
      value: $inputs.repoSlug
    - name: vulnerability_ids
      in: query
      value: $inputs.vulnerabilityIds
    - name: allow_major_updates
      in: query
      value: $inputs.allowMajorUpdates
    - name: include_details
      in: query
      value: true
    - name: include_responsible_direct_dependencies
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      fixDetails: $response.body#/fixDetails
  outputs:
    headFullScanId: $steps.getRepo.outputs.headFullScanId
    fixDetails: $steps.fetchFixes.outputs.fixDetails

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/socket-dev-fix-repo-vulnerabilities-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.