
Product
Socket for ClickUp Is Now Available
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.
@asterpay/attest
Advanced tools
CLI for Attest — EU AI Act compliance toolkit for TypeScript. Powered by AsterPay.
Powered by AsterPay — trust & settlement for AI commerce.
Attest helps EU teams discover AI usage in code, classify risk heuristically, generate Annex IV-style documentation scaffolds, and keep tamper-evident audit logs for AI inferences.
Not legal advice. Attest is a developer tool. Always involve qualified counsel for conformity assessment and regulatory obligations.
cd your-project
npx @asterpay/attest scan
That's it. Attest scans your TypeScript/JavaScript source for AI SDK imports (OpenAI, Anthropic, Google AI, LangChain, etc.) and reports what it finds:
📦 Scanned 42 files in ./src
src/chat/agent.ts
→ openai (line 1) ai-sdk
→ @anthropic-ai/sdk (line 2)
src/scoring/classifier.ts
→ langchain (line 3) ai-sdk
🔍 3 AI-related imports found across 2 files
⚠️ Risk classification: HIGH (Annex III keywords detected)
npm install -g @asterpay/attest
cd your-project
# 1) See which AI SDKs your code imports (AST scan)
attest scan
# 2) Heuristic checks: transparency / logging / oversight signals
attest check
# 3) Generate Annex IV–style Markdown scaffolds (fill with counsel)
attest docs -o ./compliance
# 4) Local static dashboard (countdown + CLI hints)
attest dashboard
| Step | Command | What you get |
|---|---|---|
| Scan | attest scan | List of every AI SDK import in your codebase, file by file |
| Check | attest check | Compliance signals: do you have logging? transparency disclosures? human oversight patterns? |
| Docs | attest docs -o ./compliance | Three Markdown files: technical-documentation.md, risk-assessment.md, conformity-declaration.md — pre-filled scaffolds for Annex IV, ready for your legal team |
| Dashboard | attest dashboard | Local web UI with EU AI Act deadline countdown + quick links |
| Package | npm | Description |
|---|---|---|
@asterpay/attest | CLI (attest) + re-exports SDK | |
@asterpay/attest-sdk | Programmatic API |
| Command | Purpose |
|---|---|
attest scan [-r DIR] | List AI-related package imports per file |
attest check [-r DIR] | Compliance signals (not legal sign-off) |
attest docs -o DIR [-r DIR] [--name] [--provider] | Write technical-documentation.md, risk-assessment.md, conformity-declaration.md |
attest export [--from ISO] | Dump audit log JSON (needs prior Attest.track() usage) |
attest verify [-r DIR] | Verify audit JSONL hash chain; exits 1 if broken |
attest dashboard [-p PORT] | Serve local dashboard |
Project metadata for attest docs (optional): .attest/config.json — see below.
Optional project metadata (for attest docs):
// .attest/config.json
{
"system": {
"name": "Customer Support Bot",
"provider": "Your Company Ltd",
"description": "Tier-1 support assistant"
}
}
import { Attest } from '@asterpay/attest';
const attest = new Attest({
system: {
name: 'My AI feature',
provider: 'My Org',
},
projectRoot: process.cwd(),
});
const risk = await attest.classifyRisk();
const report = attest.check();
await attest.track(
async () => {
/* your OpenAI / Anthropic call */
return { ok: true };
},
{ purpose: 'support', humanOversight: 'available', containsPII: false },
);
attest/
packages/
sdk/ @asterpay/attest-sdk
cli/ @asterpay/attest
landing/ marketing site (static)
docs/ publishing, domains, cloud roadmap
The EU AI Act (Regulation 2024/1689) requires companies deploying AI in the EU to document, classify, and audit their AI systems. The August 2, 2026 deadline for high-risk systems is approaching fast.
Attest doesn't replace legal counsel — it gives your engineering team a head start:
git clone https://github.com/AsterPay/attest
cd attest
npm install
npm run build
npm test
See docs/GITHUB_SETUP.md and docs/PUBLISH.md for setup and publishing details.
MIT © AsterPay contributors
FAQs
CLI for Attest — EU AI Act compliance toolkit for TypeScript. Powered by AsterPay.
We found that @asterpay/attest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.

Product
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.