Skip to main content

Cotool + Socket

Connect Socket to Cotool so agents list supply-chain alerts, ingest Socket logs with supply-chain detections, and check which repos pull a risky package.

Code & CI
Updated

The short answer

Cotool's Socket integration lists Socket alerts, and managed log ingestion brings Socket data in with supply-chain detections. Cotool also reads the Socket blog as a threat-intelligence source.[1]

How it connects: Cotool calls the Socket API with an organization token. Socket accepts the token as a Bearer token or as the username of HTTP Basic authentication with a blank password.[2][9]

What Cotool uses from Socket

Alerts
Socket alerts flag risky dependencies. Agents list them to see which packages and repositories are affected.[1][7]
Full scans
Full scans show the dependencies a repository resolved at scan time, which tells an agent whether a flagged package version is actually in use.[7]
Ingested logs
Cotool ingests Socket data through managed log ingestion and runs supply-chain detections on it.[1]

Detections, hunts, and triage

Triage a malicious-package alertTriage
The agent reads the Socket alert, checks which repositories include the package, and looks in GitHub for the commit or pull request that added it.[1][3][6]
Supply-chain detectionsDetection
Detections over ingested Socket data turn new supply-chain risks into Cotool alerts that follow the normal triage flow.[1][4]
Hunt from a published compromiseHunt
When the Socket blog reports a compromised package, Cotool's intel ingestion picks it up so a hunt can check whether the package appears in your dependencies.[1][5]

Setup and permissions

Only Socket organization administrators can create or edit API tokens. Tokens are created in the organization settings and are scoped to that organization.[8][9]

PermissionAccess
alerts:listList all alerts.[7]Read
full-scans:listList full scans to see what a repository depends on.[7]Read
packages:listList package metadata for version lookups.[7]Read
  • By default only administrators of the Socket organization can view a token and copy its value, so copy it when you create it.[8]

How Cotool works with Socket

  • Cotool lists Socket.dev under Code & CI on its integrations page. Release 0.44.0 added alert listing and release 0.79.0 added managed log ingestion with supply-chain detections.[1][2]

Sources

  1. Changelog (Cotool docs) · accessed November 16, 2026
  2. Integrations (Cotool) · accessed November 16, 2026
  3. Respond to every signal (Cotool Respond) · accessed November 16, 2026
  4. Detection engineering (Cotool Detect) · accessed November 16, 2026
  5. Threat hunting (Cotool Hunt) · accessed November 16, 2026
  6. GitHub integration (Cotool docs) · accessed November 16, 2026
  7. Socket API tokens and scopes (Socket docs) · accessed November 16, 2026
  8. Creating and managing API tokens (Socket docs) · accessed November 16, 2026
  9. Authentication (Socket API) · accessed November 16, 2026

Related integrations

All integrations

Use cases with Socket

Attackers are scaling with tokens

Cotool helps defenders operate at machine speed. See how security teams are scaling Detection & Response.

Book a demo