Security Engineer
Automates vulnerability scanning, remediation planning, and configuration hardening based on industry best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add security-engineer npx -- -y @trustedskills/security-engineer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"security-engineer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/security-engineer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Security Engineer skill automates aspects of application security, focusing on authentication and authorization, input validation, and sanitization. It provides guidance and code examples for implementing secure practices like JWT usage, session-based authentication, OAuth 2.0/OIDC integration, Role-Based Access Control (RBAC), and Attribute-Based Access Control (ABAC). The skill emphasizes building security into applications from the beginning to prevent vulnerabilities that are costly to fix later.
When to use it
- When implementing user authentication for APIs or mobile apps using JWTs.
- For traditional web applications requiring session management.
- Integrating social login functionality with OAuth 2.0 / OIDC.
- Defining and enforcing access control policies using RBAC or ABAC.
- Protecting against SQL injection vulnerabilities in database queries.
Key capabilities
- Authentication Strategies: Guidance on JWT, Session-Based Authentication, and OAuth 2.0/OIDC implementation.
- Authorization Patterns: Examples of RBAC and ABAC for fine-grained access control.
- Input Validation & Sanitization: Demonstrates how to prevent SQL injection through parameterized queries.
- Code Examples: Provides code snippets in JavaScript (using libraries like
joseand Prisma) illustrating secure coding practices.
Example prompts
- "Show me an example of creating a JWT token with a 15-minute expiry time."
- "How can I implement RBAC to restrict access to the
/api/users/:idendpoint?" - "Give me an example of how to prevent SQL injection when querying a database."
Tips & gotchas
- The skill focuses on code examples in JavaScript. Adapt these examples to your specific technology stack.
- Always prioritize server-side permission checks; never trust client-provided data for authorization.
- When using JWTs, use RS256 instead of HS256 for enhanced security.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.