Webhooks
LIVEAlert rules that POST new findings to your endpoint, signed so you can verify they came from CyberSpec.
- Pick the severities a rule fires on: critical, high, medium, low or info
- X-CyberSpec-Signature: hex HMAC-SHA256 of the raw body, keyed with the rule’s secret, no prefix or timestamp
- The secret is shown once when the rule is created; an Owner or Admin manages rules
- Up to 5 delivery attempts with exponential backoff from 30 seconds; a failing rule is flagged
- Slack and email channels on the same rules; email works with PSA ticket inboxes

Create an alert rule under Settings → Notifications, choose the webhook channel and the severities you care about, and CyberSpec posts each new finding at those severities to your URL. Every delivery is signed so your endpoint can reject anything that did not come from CyberSpec or was changed in transit.
What a delivery looks like
One POST per new finding per matching rule, with a JSON body of four fields. cve is null for checks that have no CVE, such as a TLS or end-of-life finding, and the summary then names the check (for example "TLS config") instead. The finding itself, with remediation and KEV status, is one GET /findings/:id away.
POST /your/endpoint
Content-Type: application/json
X-CyberSpec-Signature: <64 lowercase hex characters>
{
"findingId": "<finding id>",
"cve": "CVE-2024-6387",
"severity": "high",
"summary": "HIGH finding: CVE-2024-6387 on 203.0.113.10:22"
}Verify the signature
X-CyberSpec-Signature is the HMAC-SHA256 of the exact request body, keyed with the rule’s secret, written as lowercase hex with no prefix. No timestamp is signed. Compute it over the raw bytes before parsing JSON, and compare in constant time. Node’s timingSafeEqual throws if the two buffers differ in length, so check the lengths first, as below.
import { createHmac, timingSafeEqual } from 'node:crypto';
import { createServer } from 'node:http';
const secret = process.env.CYBERSPEC_WEBHOOK_SECRET;
function verify(rawBody, header) {
const expected = Buffer.from(createHmac('sha256', secret).update(rawBody).digest('hex'));
const received = Buffer.from(String(header ?? ''));
// timingSafeEqual throws when the lengths differ, so compare them first.
return expected.length === received.length && timingSafeEqual(expected, received);
}
createServer(async (req, res) => {
const chunks = [];
for await (const chunk of req) chunks.push(chunk);
const rawBody = Buffer.concat(chunks); // the exact bytes, before JSON.parse
if (!verify(rawBody, req.headers['x-cyberspec-signature'])) {
res.writeHead(401).end();
return;
}
const { findingId, cve, severity, summary } = JSON.parse(rawBody.toString('utf8'));
console.log(findingId, severity, cve, summary);
res.writeHead(204).end();
}).listen(3000);Retries and duplicates
Any response outside 2xx counts as a failure. Deliveries retry up to five times with exponential backoff starting at 30 seconds, then stop, and the rule shows a last-delivery-failed flag in the portal until the next delivery succeeds. A delivery your endpoint processed but answered with an error is sent again, so the same finding can arrive more than once: deduplicate on findingId. Because the signature carries no timestamp, that check is also your protection against a replayed request. Findings are stored before any alert is sent, so a missed webhook loses no data.
What triggers it
Only a finding that is new to an asset. A rescan that sees an already-open finding again does not alert. Network scan findings trigger webhooks; dependency findings from the CLI do not, and arrive in the daily digest instead.
Reporting clocks
A new finding is an exposure, not an incident. If one turns out to have been used against you, CERT-In’s directions give six hours to report the incident, and the DPDP Act requires telling the Board and each affected person about a personal data breach. Routing alerts into the ticket queue your team already watches means the people who would report see the exposure first.
The parts of CyberSpec that do this
For teams in India
In India the questions are the DPDP Act and Rules 2025, and CERT-In’s six-hour incident reporting. CyberSpec gives dated evidence for the reasonable security safeguards duty and runs DPDP readiness; CERT-In reporting stays your own process.
CyberSpec is ₹1,599 per client a month for up to 5 assets, a ₹10,999 one-off report, or free for one asset.
See your own exposure in minutes
Free for one asset, no card. Add a domain, prove you own it, and run your first scan.
More in Developers
Node.js SDK reference
Constructor options, methods, errors and versions for @cyberspec/sdk, the typed Node.js client for the CyberSpec API.
Dependency scan CLI
npx @cyberspec/sdk deps reads your lockfiles and checks every package against OSV.dev; source code never leaves your machine. The CLI is from 0.2.0, not yet on npm.
CI/CD integration
Fail a build on vulnerable dependencies or known-exploited findings, with one CLI step or a short SDK script.
REST API
The JSON API behind the portal and the SDK: assets, scans, findings, AI agents, reports and code scans.
Pricing
Free for one asset, per-client pricing for MSPs, custom at volume.