Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

twilio-security-hardening

Skill by twilio

Secures Twilio applications against credential leaks, spoofed webhooks, SMS pumping and compliance gaps. It is written for developers building or deploying Twilio apps.

  • Score 71
  • 44 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install twilio-security-hardening

Built from the published package, never by AI.

git clone --depth 1 https://github.com/twilio/ai /tmp/ai && mkdir -p ~/.claude/skills && cp -r /tmp/ai/skills/twilio/twilio-security-hardening ~/.claude/skills/twilio-security-hardening

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twilio-security-hardening in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Twilio Security Hardening is a skill that guides an AI assistant through securing Twilio applications against common attacks. It covers credential management, including the differences between API keys, Auth Tokens and Access Tokens. It also covers webhook request validation with X-Twilio-Signature checks using the SDK validator. The skill explains PCI DSS and HIPAA account requirements, SMS pumping prevention, geo-permissions and account isolation with sub-accounts.

The skill also describes a zero-downtime credential rotation workflow and recommends a secrets manager for injecting credentials at runtime. Its guidance includes warnings such as PCI Mode being irreversible and account-wide. It is aimed at developers building or deploying Twilio apps. It points to related Twilio skills for setup, webhook architecture, account structure and phone intelligence.

Written from the project's SKILL.md and checked against it.

What it can do

  • Credential managementCompares API keys, Auth Tokens and Access Tokens and recommends scoped API keys for production.
  • Webhook signature validationVerifies X-Twilio-Signature on incoming webhook requests using the SDK validator.
  • PCI DSS guidanceExplains PCI Mode and suggests a separate sub-account for payment-related calls.
  • HIPAA requirementsLists steps to take before handling Protected Health Information, including executing a BAA.
  • SMS pumping preventionLayers Verify Fraud Guard, Lookup checks, geo-permissions and rate limiting against fraud.
  • Geo-permissionsRestricts which countries can receive SMS or voice traffic from the account.
  • Credential rotationDescribes a zero-downtime workflow for rotating API keys and Auth Tokens.

What you need

  • Twilio account
  • Twilio API keys or Auth Token
  • Node.js (SDK examples)
  • Python (example)

Try asking

  • Validate Twilio webhook signatures in my Express /sms route
  • Explain the difference between Twilio API keys and Auth Tokens
  • Create a zero-downtime plan to rotate my Twilio API keys

Good to know

  • PCI Mode is irreversible and applies to the whole account.
  • Rotating the Auth Token breaks integrations and webhook signature validation.
  • Twilio does not publish most-targeted SMS pumping prefixes.
  • HIPAA use requires a Business Associate Agreement with Twilio.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/twilio/twilio-security-hardening/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to twilio-security-hardening

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

twilio-security-hardening: common questions

Should I use API keys or the Auth Token in production?

The skill says to avoid the Auth Token in production and use API keys instead, since API keys are scoped and revocable individually. The Auth Token is used for webhook signature validation.

What is the most effective measure against SMS pumping?

The skill calls geo-permissions the single most effective anti-fraud measure for SMS pumping. It recommends disabling countries you do not serve.

Does PCI Mode affect the whole Twilio account?

Yes. The skill says PCI Mode is irreversible and affects every service on the account, so it recommends a separate sub-account for payment use cases.

How do I install twilio-security-hardening?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is twilio-security-hardening free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is twilio-security-hardening safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to twilio-security-hardening?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

twilio-security-hardening Install

Add to stack

Loading.