twilio-security-hardening
Skill by openai
Hardens Twilio applications against credential leaks, webhook spoofing, SMS pumping and compliance mistakes. Written for developers building or deploying Twilio apps.
Install twilio-security-hardening
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-security-hardening ~/.claude/skills/twilio-security-hardeningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install twilio-security-hardening in Claude Code
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-security-hardening ~/.gemini/antigravity-cli/skills/twilio-security-hardeningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install twilio-security-hardening in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Twilio Security Hardening is an agent skill that covers account-level security decisions and application-level protection patterns for Twilio. It explains credential management, comparing Auth Tokens with API keys and access tokens, and recommends environment variables or a secrets manager instead of code. It also covers webhook signature validation with the Twilio SDK validator, along with PCI DSS and HIPAA account requirements.
The skill describes fraud controls such as SMS pumping prevention, which combines Verify Fraud Guard, Lookup pre-checks, geo-permissions and rate limiting. It also gives a zero-downtime credential rotation workflow and lists common mistakes. It is aimed at developers building or deploying Twilio apps and points to related Twilio skills for setup details.
Written from the project's SKILL.md and checked against it.
What it can do
- Credential managementCompares Auth Tokens, API keys and access tokens and advises against Auth Tokens in production.
- Webhook signature validationVerifies the X-Twilio-Signature header using the Twilio SDK validator instead of manual HMAC-SHA1.
- PCI DSS guidanceExplains that PCI Mode is irreversible and account-wide, and suggests a separate sub-account for payments.
- HIPAA requirementsLists steps before handling PHI, including executing a Business Associate Agreement with Twilio.
- SMS pumping preventionDescribes layered defense using Verify Fraud Guard, Lookup pre-checks, geo-permissions and rate limiting.
- Geo-permissionsRestricts SMS and voice to countries where the account has customers.
- Zero-downtime credential rotationGives a four-step workflow for rotating API keys or Auth Tokens without downtime.
- Account isolationUses sub-accounts to isolate customer credentials and payment-related calls.
What you need
- A Twilio account
- Twilio API keys
- Access to the Twilio Console
- A secrets manager such as AWS Secrets Manager or HashiCorp Vault (recommended)
Try asking
- Check my Twilio webhook handler for X-Twilio-Signature validation.
- Walk me through rotating my Twilio API keys without downtime.
- Review my Twilio account for SMS pumping risk and geo-permissions.
Good to know
- Rotating the Auth Token invalidates all existing API keys.
- PCI Mode cannot be disabled once enabled and applies to the whole account.
- Twilio does not publish most-targeted prefixes for SMS pumping.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/twilio-developer-kit/skills/twilio-security-hardening/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml231 B
Alternatives to twilio-security-hardening
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
twilio-security-hardening: common questions
Why use API keys instead of the Auth Token?
The Auth Token has full account access and rotating it invalidates all API keys. API keys are scoped and can be revoked individually.
Can PCI Mode be turned off after it is enabled?
No. The skill says PCI Mode is irreversible and account-wide, so it recommends a separate sub-account for payment use cases.
How does this skill help prevent SMS pumping?
It recommends layered defense: Verify Fraud Guard, Lookup pre-checks, geo-permissions and rate limiting on verification attempts.
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 public, but no licence file was found, so check the repository before commercial use.
Is twilio-security-hardening safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. 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.
