n8n EU AI Act guard: AI notices, HMAC digests and approval links
n8n-nodes-spurvik@1.0.15 is an MIT community node for n8n in your own stack (n8n has not reviewed it for n8n Cloud). Nine operations (6 zero-key): domain scans, C2PA, RFP answers, Annex IV, notices, HMAC digests and approval links.
Install, import, see every output
9 operations · 6 zero-key · MIT · self-hosted n8n{
"totalDomains": 10,
"gapsFound": 3,
"results": [
{
"domain": "shop.example.com",
"reachable": true,
"detectedWidgets": ["Intercom Fin"],
"art50NoticeDetected": false,
"scanStatus": "measured",
"statusShieldMarkdown": "[](https://console.spurvik.com/report?domain=shop.example.com)"
},
"… 9 more rows, one per client domain"
],
"portfolioUrl": "https://console.spurvik.com/portfolio"
}
Paste up to 10 client domains; one localhost or private entry refuses the whole batch before anything is sent.
{
"domain": "shop.example.com",
"reachable": true,
"detectedWidgets": ["Intercom Fin"],
"detectedSdks": [],
"art50NoticeDetected": false,
"badgeSnippet": "<script src=\"https://spurvik.com/badge.js\" data-system=\"shop.example.com\" data-locale=\"en\" data-theme=\"dark\" data-attribution=\"true\" defer></script>",
"reportUrl": "https://console.spurvik.com/report?domain=shop.example.com",
"scanStatus": "measured"
}
badgeSnippet picks data-locale from the ccTLD (.dk → da, .de → de, .se → sv …) across the 24 EU languages; reportUrl is the shareable client brief.
{
"spurvik": {
"operation": "art50_disclosure",
"systemName": "Support Bot",
"art50Notice": "You are interacting with an AI system (Support Bot). This notice is designed to support transparency about that interaction.",
"disclosedOutputText": "You are interacting with an AI system (Support Bot). This notice is designed to support transparency about that interaction.\n\nYour order ships on Friday."
}
}
Your own Notice Text (any language) replaces the English default. outputText is left as is; the notice is added in front in disclosedOutputText.
{
"spurvik": {
"operation": "art12_hmac_log",
"art12Record": {
"inputHmac": "9c1f4e2b…d07a",
"outputHmac": null,
"previousRecordHash": "0000000000000000000000000000000000000000000000000000000000000000",
"recordHash": "4b8d0f6a…a91c",
"timestampIso": "2026-11-17T09:41:00.000Z"
}
}
}
inputHmac is keyed with your signing secret. The node output never copies promptText or the Input Field; set n8n's own execution data retention.
{
"spurvik": {
"operation": "art14_ask_human",
"art14Gate": {
"required": true,
"status": "pending_human_approval",
"gateId": "gate_3f9a1c2b7d4e8f60",
"approveUrl": "https://n8n.example.com/webhook/spurvik-gate?gateId=gate_3f9a1c2b7d4e8f60&ts=1763372460&hmac=…&nonce=…&decision=approved&sig=…",
"rejectUrl": "https://n8n.example.com/webhook/spurvik-gate?gateId=gate_3f9a1c2b7d4e8f60&ts=1763372460&hmac=…&nonce=…&decision=rejected&sig=…",
"linksDelivered": true
}
}
}
Slack, Teams, Telegram, Email, Discord, Linear, Jira and Asana get the links. Your callback checks them with verifyChannelApprovalToken() and records the nonce.
{
"imageUrl": "https://shop.example.com/_next/image?url=%2Fhero.png&w=1080&q=75",
"imageHost": "shop.example.com",
"checkStatus": "no_manifest",
"reason": null,
"fileName": "hero.png",
"mediaType": "image/png",
"byteLength": 33270,
"manifestFound": false,
"embedded": false,
"signatureMatches": false,
"trustAnchor": "not_checked",
"claimGenerator": null,
"validationCodes": [],
"cdnRewriteSuspected": true,
"cdnProvider": "Next.js image optimizer (/_next/image)",
"diagnosis": "This URL goes through Next.js image optimizer (/_next/image). Image optimizers decode and re-encode the image, which drops the C2PA JUMBF boxes, so a signed original arrives unsigned. Set `unoptimized` on that next/image <Image> (or `images.unoptimized` in next.config) so the original signed bytes are served.",
"art50GeneratedBadgeSnippet": "<script src=\"https://spurvik.com/badge.js\" data-notice=\"generated\" data-locale=\"en\" data-theme=\"auto\" data-attribution=\"true\" defer></script>",
"c2paCheckerUrl": "https://console.spurvik.com/c2pa",
"upgradeUrls": {
"proWhiteLabelEur19": "https://console.spurvik.com/signup?plan=pro&appUrl=shop.example.com",
"teamAgencyEur79": "https://console.spurvik.com/signup?plan=team&appUrl=shop.example.com",
"doneForYou24hEur199": "https://console.spurvik.com/signup?plan=concierge&appUrl=shop.example.com"
}
}
Reads the C2PA manifest of one PNG, JPEG or WebP up to 4 MB; never signs or adds one. A timeout returns checkStatus "not_checked", never "no_manifest".
{
"plan": "pro",
"provider": "openai",
"hasHighRiskActions": true,
"generatesMedia": false,
"domain": "shop.example.com",
"markdown": "# EU AI Act vendor security questionnaire: answers for shop.example.com\n\nSpurvik plan: Pro (€19/mo or €190/yr) · Provider: OpenAI · Consequential agent actions: yes · Synthetic media: no\n\n… Q1–Q5 answers, plan table and next steps",
"interactiveUrl": "https://spurvik.com/eu-ai-act-vendor-security-questionnaire",
"reportUrl": "https://console.spurvik.com/report?domain=shop.example.com",
"upgradeUrls": {
"freeApiKey10sEur0": "https://console.spurvik.com/signup",
"proWhiteLabelEur19": "https://console.spurvik.com/signup?plan=pro&appUrl=shop.example.com",
"teamAgencyEur79": "https://console.spurvik.com/signup?plan=team",
"doneForYou24hEur199": "https://console.spurvik.com/signup?plan=concierge&appUrl=shop.example.com"
}
}
Builds the Q1–Q5 Markdown inside the node and sends nothing; a domain that is not a public hostname is dropped.
{
"article": "EU AI Act Art. 14 + Art. 12",
"domain": "shop.example.com",
"locale": "en",
"allPassed": true,
"blockedAttacks": 5,
"totalVectors": 6,
"sampleAction": {
"gateId": "gate_art14_selftest_01",
"actionName": "stripe.refunds.create",
"actionHmacPrefix": "9c8f4b2a1e0d73f6",
"rawPromptPersistedBytes": 0
},
"vectors": [
{
"id": "unapproved_default_halt",
"scenario": "Agent attempts execution before any human decision",
"expectedExecution": "blocked",
"actualExecution": "blocked",
"reason": "pending_human_decision",
"passed": true
}
],
"interactiveUrl": "https://spurvik.com/langgraph-openai-agents-approval-check?domain=shop.example.com",
"sandboxUrl": "https://console.spurvik.com/sandbox?scan=shop.example.com",
"upgradeUrls": {
"freeApiKey10sEur0": "https://console.spurvik.com/signup?appUrl=shop.example.com",
"proWhiteLabelEur19": "https://console.spurvik.com/signup?plan=pro&appUrl=shop.example.com",
"proAnnualEur190": "https://console.spurvik.com/signup?plan=pro&interval=annual&appUrl=shop.example.com",
"teamAgencyEur79": "https://console.spurvik.com/signup?plan=team&appUrl=shop.example.com",
"teamAnnualEur790": "https://console.spurvik.com/signup?plan=team&interval=annual&appUrl=shop.example.com",
"doneForYou24hEur199": "https://console.spurvik.com/signup?plan=concierge&appUrl=shop.example.com"
}
}
Runs all 6 cryptographic Art. 14 blocking vectors locally against an ephemeral 256-bit secret; 0 network calls.
{
"format": "spurvik.annex-iv-preview.v1",
"regulation": "Regulation (EU) 2024/1689 — Article 11(1) & Annex IV",
"highRiskApplicabilityDate": "2027-12-02",
"art502ProvenanceMilestone": "2026-12-02",
"region": "fra1",
"domain": "shop.example.com",
"displaySystem": "shop.example.com",
"locale": "en",
"useCase": "employment",
"annexIiiReference": "Annex III §4 — Employment, Workers Management & Recruitment",
"provider": "openai",
"tier": "team",
"readinessScorePct": 100,
"sections": [
{
"number": "01",
"annexRef": "Annex IV §1",
"title": "General Description & Intended Purpose",
"sourceMode": "auto_populated_team",
"summary": "System identifier `shop.example.com`, Annex III §4 scope, and Art. 50(1) transparency posture bound to signed runtime receipts."
}
],
"markdown": "# EU AI Act Annex IV Technical Documentation Draft — shop.example.com\n\n… 9/9 statutory sections + clickable Team €79/mo (€790/yr) & 24h Setup €199 workspace links",
"studioUrl": "https://spurvik.com/eu-ai-act-annex-iv-technical-documentation?domain=shop.example.com",
"previewApiUrl": "https://console.spurvik.com/api/v1/annex-iv/preview?domain=shop.example.com&useCase=employment&provider=openai&tier=team",
"upgradeUrls": {
"freeApiKey10sEur0": "https://console.spurvik.com/signup?appUrl=shop.example.com",
"proWhiteLabelEur19": "https://console.spurvik.com/signup?plan=pro&appUrl=shop.example.com",
"proAnnualEur190": "https://console.spurvik.com/signup?plan=pro&interval=annual&appUrl=shop.example.com",
"teamAgencyEur79": "https://console.spurvik.com/signup?plan=team&appUrl=shop.example.com",
"teamAnnualEur790": "https://console.spurvik.com/signup?plan=team&interval=annual&appUrl=shop.example.com",
"doneForYou24hEur199": "https://console.spurvik.com/signup?plan=concierge&appUrl=shop.example.com"
}
}
Generates the 9-section EU AI Act Annex IV Markdown technical file locally; Team (€79/mo or €790/yr) auto-populates §1–§9 from live Frankfurt logs.
Free €0 · Pro €19/mo (€190/yr) · Team €79/mo (€790/yr) · Done-For-You €199 once, 1 year of Pro included · Enterprise from €499/mo · excl. VAT · B2B only.
The node and its nine operations
n8n-nodes-spurvik is an MIT community node for n8n running in your own stack. It adds one node, Spurvik AI Act Guard (type id spurvikEuAiActGuard), with nine operations:
- Add an AI interaction notice: puts a notice in front of the AI output text, to support your Art. 50(1) notice where an n8n workflow answers people.
- Record a keyed digest (shown in n8n as
Record an HMAC-SHA256 digest): records a keyed digest of the input field instead of the raw prompt text. - Send an ask_human() approval request: sends signed Approve / Block links to a reviewer before the workflow does something risky.
- Scan Live Domain (Art. 50 & Client Brief), new in 1.0.5: give it a public domain such as
stepnetwork.dkand it returns the AI widgets and SDKs found, whether an Art. 50 notice was detected, a readybadge.jssnippet, and links to the shareable client report. OperationscanDomain. No credential or API key needed. - Batch Scan up to 10 Domains (Agency Roster), new in 1.0.6: give it up to 10 client domains such as
folk.app, stepnetwork.dkand it returns one row per domain plusgapsFound, the sites with an AI widget and no Art. 50 notice detected. Each row has its ownbadge.jssnippet and astatusShieldMarkdownstatus shield to paste into a client README. OperationbatchScanDomains. No credential or API key needed. - Check Image C2PA & CDN Strip (Art. 50(2)), new in 1.0.7: give it the public https URL of one PNG, JPEG or WebP image up to 4 MB, such as
https://example.com/hero.png, and it returnsmanifestFound,signatureMatches,trustAnchor,claimGeneratorandvalidationCodesfrom the C2PA manifest, pluscdnRewriteSuspectedwhen the URL goes through an optimizer that re-encodes images and strips C2PA (/_next/image, Cloudflare/cdn-cgi/image/, Cloudinary, imgix), adiagnosiswith the fix, and anart50GeneratedBadgeSnippetfor a visible AI-generated notice. It reads the manifest and never signs or adds one. If the check cannot run, it returnscheckStatus: "not_checked"instead of failing the workflow, so a failed check never reads as "no manifest". OperationcheckImageC2paUrl. No credential or API key needed. - Answer Vendor Security Questionnaire (Art. 50/12/14 RFP), new in 1.0.8: pick a Spurvik plan (
free,pro,teamorconcierge), your model provider or framework (openai,anthropic,google-genai,vercel-ai-sdk,langgraph,openai-agents,mastraorcustom), whether agents take consequential actions and whether the product generates synthetic media, plus an optional public product domain. It returns copy-pastemarkdownanswers to the five EU AI Act questions buyers ask in vendor security questionnaires and DPO RFPs (Q1 to Q5: Art. 50 transparency, Art. 12 logging, GDPR minimisation and Frankfurt residency, Art. 14 oversight, retention and DPO evidence), a plan table,reportUrlandupgradeUrls. OperationvendorQuestionnaireAnswers. The answers are built inside the node; it makes no request, and a domain that is not a public hostname is dropped, not echoed. No credential or API key needed. - Test Art. 14 Human Approval Blocking (6 Vectors), new in 1.0.12: runs all six cryptographic HMAC-SHA256 blocking vectors (unapproved default halt, explicit human block, tampered payload HMAC, decision-flip forgery, expired link replay and authentic signed approval) locally against an ephemeral secret, returning
allPassed,blockedAttacks,vectors,interactiveUrlandupgradeUrls(Art. 14 Oversight Cockpit →). OperationgateSelfTest. Makes no request, and any non-public domain is dropped. No credential or API key needed. - Draft Annex IV Technical Documentation (Art. 11), new in 1.0.15: pick an Annex III high-risk or enterprise agent use case, model stack and preview tier (
team€79/mo or €790/yr for 9/9 sections vsfree€0 for 4/9 static skeleton) to generate the 9-section EU AI Act Annex IV technical documentationmarkdown,sections,studioUrland prefilledupgradeUrls(9-Section Annex IV Studio →). OperationannexIvDraft. Runs locally with zero network requests. No credential or API key needed.
By default, when the optional Spurvik Console API Key is left empty, the node runs locally and does not call the Spurvik HTTP API, so it needs no console account. Set that key on the credential to sync to the hosted console at the node's Console Base URL setting (default https://console.spurvik.com). It does not mark content.
From 1.0.8, the notice, digest and approval operations also return upgradeUrls when they did not sync to the console (consoleSync is null): signup links for a Free SPURVIK_API_KEY (freeApiKey10sEur0, €0), Pro (proWhiteLabelEur19, €19/mo), Team (teamAgencyEur79, €79/mo) and Done-For-You (doneForYou24hEur199, €199 once). Once the console key syncs, upgradeUrls is null.
Only for n8n in your own stack. The node has not been reviewed by n8n for n8n Cloud, so install it on an instance you run yourself. It was tested against the n8n-workflow 2.46.4 library.
Install
In n8n: Settings → Community nodes → Install, then enter:
n8n-nodes-spurvik@1.0.15Or with npm in your n8n custom nodes folder:
npm i n8n-nodes-spurvik@1.0.15Import the starter workflow in 10 seconds
In the n8n workflow editor, open the ⋯ menu → Import from URL and paste the URL below (or download n8n-art50-starter.json). It wires all three operations from one sample AI item — a parallel HMAC-SHA256 input digest branch (no prompt text in the node output) and an Art. 50(1) AI notice on outputText followed by conditional Slack approval links — with optional fra1 Console sync (Free €0 for 10k events/mo · Pro €19/mo).
https://spurvik.com/r/n8n-art50-starter.jsonOn Make.com instead? The same zero-key domain scan and C2PA image check as a scenario: Download Make.com Blueprint (.json) (Scenarios → Import blueprint).
Want to test with zero credentials in 5 seconds? Paste the 5-in-1 Zero-Key Audit, C2PA, DPO RFP, Art. 14 Gate & Annex IV workflow into Import from URL (or download n8n-zero-key-audit-rfp-annex-iv.json):
https://spurvik.com/r/n8n-zero-key-audit-rfp-annex-iv.jsonCredential: spurvikApi
Create a Spurvik credential. It holds:
- Signing Secret (required): at least 16 characters, no leading or trailing whitespace. The node throws otherwise. It is used for every digest and every approval link.
- Spurvik Console API Key (optional): leave empty to run locally. When set, the node can send hashed receipts, disclosure sessions or approval rows to the hosted console at the node's Console Base URL setting (default https://console.spurvik.com).
- Channel tokens as password fields, only for the channels you use: Slack, Discord or Teams webhook URL; Telegram bot token; Resend API key (Email); Linear API key; Jira API token; Monday.com API token; Asana access token.
Operation 1: add an AI interaction notice
| Field | Default | What it does |
|---|---|---|
| AI System Name | AI system | Name used in the notice |
| Output Field | outputText | Field on the incoming item that holds the AI output |
| Notice Text | empty | Your own wording; empty uses the default |
Default notice: "You are interacting with an AI system (‹name›). This notice is designed to support transparency about that interaction." The node returns it as spurvik.art50Notice and the notice plus the output as spurvik.disclosedOutputText.
The node refuses an Output Field that equals the Input Field or is named promptText, prompt, chatInput, query or input, so the notice lands on the AI output, not the prompt.
Operation 2: record a keyed digest
The node reads the Input Field (default promptText) and returns a record under spurvik:
inputHmac: HMAC SHA256 ofspurvik:workflow:input:v1|plus the input field, keyed with your signing secretpreviousRecordHash: the incoming item'spreviousRecordHash, or 64 zerosoutputHmac: alwaysnullin this operation, because the node passes only the input field to the digestrecordHash: HMAC SHA256, keyed with your signing secret, overspurvik:workflow:chain:v1|plus the previous hash, system name,inputHmac,outputHmac(or the literalnonewhen it is null, as it always is from this node) and timestamp, so you can chain recordstimestampIso
Prompt field names and the configured Input Field are never copied onto the output, including when listed in the Pass-through Fields setting.
Mind n8n's own execution data. The node's output holds no prompt text, but n8n stores each node's input on the execution. Set your retention yourself with EXECUTIONS_DATA_SAVE_ON_SUCCESS, EXECUTIONS_DATA_SAVE_ON_ERROR, EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS, EXECUTIONS_DATA_PRUNE, EXECUTIONS_DATA_MAX_AGE and EXECUTIONS_DATA_PRUNE_MAX_COUNT.
Operation 3: send an ask_human() approval request
| Field | Notes |
|---|---|
| Channel | Slack, Telegram, Email (Resend), Discord, Microsoft Teams, Linear, Jira, Monday.com, Asana |
| Approver Target | Chat id, recipient, team id, project key, board id or project gid (not needed for Slack, Discord, Teams) |
| Callback URL | Required. A URL you run that accepts GET clicks on the links |
| Action Name / Action Summary | What the reviewer sees. Keep personal data out of the summary |
The node signs separate Approve and Block links. Each link carries the gate id, a timestamp, an action HMAC, a random nonce and a signature. It returns approveUrl, rejectUrl, gateId and the channel receipt.
Monday.com only creates a board item. It carries the gate id but no Approve or Block links, so the reviewer needs another way to decide.
There is no hosted handler. The links point at your Callback URL. Something you run must check the click with verifyChannelApprovalToken() from spurvik-sdk/channels, record the nonce and refuse a repeat, and let the action continue only on approved. A common pattern:
- An n8n Webhook node receives the GET click:
/webhook/spurvik-gate?gateId=…&ts=…&hmac=…&nonce=…&decision=approved&sig=… - An n8n HTTP Request node posts those values to your service.
- Your service returns the result of the check; the workflow continues only when it is true and the decision is
approved.
// your-service/verify.ts (spurvik-sdk@1.0.18)
import { verifyChannelApprovalToken } from "spurvik-sdk/channels";
export function checkClick(q: URLSearchParams) {
const gateId = q.get("gateId");
const decision = q.get("decision");
const nonce = q.get("nonce");
if (!gateId || !nonce || (decision !== "approved" && decision !== "rejected")) {
return { valid: false, approved: false, gateId, nonce };
}
const valid = verifyChannelApprovalToken({
gateId,
actionHmac: q.get("hmac") ?? "",
decision,
issuedAtUnix: Number(q.get("ts")),
signature: q.get("sig") ?? "",
nonce,
signingSecret: process.env.SPURVIK_SIGNING_SECRET!, // same secret as the n8n credential
});
// Record the nonce and refuse a repeat before you act on the result.
return { valid, approved: valid && decision === "approved", gateId, nonce };
}Links expire after 24 hours by default (maxAgeSeconds). Until then a link can be reused, which is why you record the nonce.
The SDK and MCP server are MIT and run in your own stack.
Try it
n8n-nodes-spurvik@1.0.15<script src="https://spurvik.com/badge.js" data-system="Your AI" data-attribution="true" defer></script>- A small “Art. 50 · Spurvik” link shows after the notice by default. On Pro (€19/mo) you can hide it with
data-attribution="false"for a white-label badge.
Free €0 (10k events/mo) · Pro €19/mo · Team €79/mo · excl. VAT · B2B only.
FAQ
Does the node work on n8n Cloud?
It is built for n8n running in your own stack. n8n has not reviewed it for n8n Cloud.
Do I need a Spurvik account or API key?
No account is required. By default the node does not call the Spurvik API and needs only the signing secret and the tokens for the channels you use. Set the optional console API key only if you want the node to sync to the hosted console. The two scan operations, scanDomain and batchScanDomains, use no credential at all and send only hostnames to the console scan; checkImageC2paUrl also uses no credential and sends only the image URL to the console C2PA check. vendorQuestionnaireAnswers uses no credential and makes no request at all.
Does the node store my prompts?
The node output does not copy prompt text or the configured input field. n8n itself keeps each node's input on the execution, so set n8n's execution data retention.
Who checks the Approve and Block clicks?
You do. The links go to your Callback URL, and your service checks them with verifyChannelApprovalToken() from the channels export of the Spurvik SDK. There is no hosted handler.
Does Monday.com get Approve and Block links?
No. Monday.com only gets a board item with the gate id.
Does the node mark content generated by AI?
No. It adds a visible notice to text and records digests; it is not Art. 50(2) marking in a machine readable format. checkImageC2paUrl only reads an existing C2PA manifest; it never signs or adds one.
Sources
- npm: https://www.npmjs.com/package/n8n-nodes-spurvik (1.0.15; package README and
dist/inspected 22 Nov 2026) - Source (MIT): https://github.com/spurvik/spurvik/tree/main/packages/n8n-nodes-spurvik
- Article 50 dates: https://spurvik.com/art50-deadline-checklist