Skip to content
Back to skills

Attio Security Basics

ASecurity

Harden an Attio integration with least-privilege credentials, tenant isolation, log redaction, raw-body webhook verification, idempotency, and incident-ready rotation. Use when reviewing Attio security controls or preparing production access. Trigger with "Attio security", "secure Attio integration", or "Attio webhook signature".

  • 2,781 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsrustapisecuritydocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add jeremylongshore/tons-of-skills-marketplace --skill attio-security-basics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Attio Security Basics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Attio Security Basics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jeremylongshore-attio-security-basics-8ac76d72/badge)](https://www.skillsdirectory.com/skills/jeremylongshore-attio-security-basics-8ac76d72)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: attio-security-basics
description: >-
  Harden an Attio integration with least-privilege credentials, tenant isolation, log redaction, raw-body webhook verification, idempotency, and incident-ready rotation. Use when reviewing Attio security controls or preparing production access. Trigger with "Attio security", "secure Attio integration", or "Attio webhook signature".
argument-hint: "[repository-path] [integration-scope]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.8.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- saas
- attio
- security
model: inherit
effort: high
compatibility: Designed for Claude Code
---
# Attio Integration Security Baseline

## Overview

This skill audits and hardens Attio authentication, data handling, webhook verification, tenant boundaries, and operational response without exposing secrets or customer records.

## Prerequisites

- Data-flow and trust-boundary inventory
- Endpoint-to-scope map and tenant model
- Secret-store, logging, retention, and incident-response owners
- Webhook receiver code when events are enabled

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect credential flow, authorization, logs, storage, and webhook handling. Use `WebFetch` only for current official Attio security contracts. Use `Write` or `Edit` after findings, target controls, and rollback conditions are approved.

## Current Contract

- Tokens should be least-privilege, stored server-side, tenant-bound, redacted, and rotatable.
- Verify `Attio-Signature` by computing SHA-256 HMAC over the exact raw UTF-8 request body with the webhook secret and comparing equal-length hexadecimal values in constant time.
- The signature input is the raw body only; do not invent a timestamp concatenation protocol.
- Delivery is at least once. Use `Idempotency-Key` and durable state to control duplicates; signature verification alone is not deduplication.

## Authentication

Prefer OAuth for multi-workspace applications and a workspace key for a controlled single workspace. Enforce server-side workspace authorization before resolving the encrypted token.

## Instructions

1. Map secrets, tenant context, Attio data, logs, queues, backups, and administrative paths.
2. Compare used endpoints with granted scopes and remove unjustified privilege through an approved rotation.
3. Enforce tenant authorization before credential resolution and storage access.
4. Redact authorization headers, secrets, raw customer payloads, and sensitive attribute values from telemetry.
5. Preserve the raw webhook body, verify its HMAC before parsing, compare equal-length buffers safely, and reject failures.
6. Deduplicate accepted events by `Idempotency-Key`, queue work, and reconcile downstream state.
7. Exercise token revocation, webhook-secret rotation, audit review, and incident rollback.

## Approval Boundaries

Do not rotate production secrets, reduce retention, change access scopes, or replay customer mutations without the responsible security and service owners.

## Output

Return the threat boundaries, scope gaps, secret lifecycle, webhook verification evidence, redaction tests, tenant-isolation tests, and remediation owners.

## Error Handling

| Condition | Response |
|---|---|
| Raw webhook body is unavailable | Reject the event and fix middleware ordering. |
| Signature lengths differ | Reject before constant-time comparison. |
| Token appears in retained output | Revoke or rotate it and scrub the artifact. |
| Duplicate idempotency key arrives | Acknowledge without repeating committed work. |

## Examples

Input:

```text
scope=oauth service plus webhook receiver; environment=production candidate
```

Expected handoff:

```text
least-privilege=verified; hmac=raw-body; dedupe=durable; rotation=exercised
```

## Resources

- [Skill-specific official documentation](references/official-docs.md)
- [Authentication](https://docs.attio.com/rest-api/guides/authentication)
- [Webhooks](https://docs.attio.com/rest-api/guides/webhooks)

Files in this skill

  • SKILL.md3.9 KB
  • references/official-docs.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.