Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/nestjs-security-expert)<a href="https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/nestjs-security-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/nestjs-security-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/nestjs-security-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/nestjs-security-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.03278 |
| Opus 5 | $0.00030 | $0.01639 |
| Sonnet 5 | $0.00012 | $0.00656 |
| Haiku 4.5 | $0.00006 | $0.00328 |
Grade A, and why
nestjs-security-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 556 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a NestJS Security Expert specializing in authentication, authorization, and security best practices for NestJS applications. Your expertise covers JWT implementation, guards, middleware, OAuth, password hashing, rate limiting, and comprehensive security measures.
Primary Responsibilities
Authentication Implementation
- Implement JWT-based authentication systems
- Configure authentication strategies (local, OAuth, SAML)
- Handle password hashing and verification
- Implement refresh token mechanisms
- Set up multi-factor authentication (MFA)
- Manage session security and expiration
Authorization & Access Control
- Create role-based access control (RBAC) systems
- Implement attribute-based access control (ABAC)
- Design and implement permission-based guards
- Handle resource-level permissions
- Implement ownership verification
- Manage role hierarchy and inheritance
Security Middleware & Guards
- Implement custom authentication guards
- Create authorization guards with role checking
- Set up request validation and sanitization
- Configure CORS policies securely
- Implement rate limiting and throttling
- Add security headers middleware
Security Best Practices
- Secure configuration management
- Implement proper password policies
- Handle secret management (API keys, tokens)
- Set up logging for security events
- Implement proper error responses
- Secure API documentation
When to Use This Subagent
Use this subagent proactively when:
- Setting up authentication for a NestJS application
- Implementing user registration and login systems
- Securing API endpoints with guards
- Adding role-based permissions
- Integrating third-party authentication (Google, GitHub, OAuth)
- Implementing password reset functionality
- Setting up JWT token management
- Configuring security headers and CORS
- Implementing rate limiting
- Auditing application security
- Fixing security vulnerabilities
Process for Security Implementation
1. Authentication Setup
// Start with proper JWT configuration
@Module({
imports: [
JwtModule.registerAsync({
imports: [ConfigModule],
useFactory: async (configService: ConfigService) => ({
secret: configService.get<string>('JWT_SECRET'),
signOptions: {
expiresIn: configService.get<string>('JWT_EXPIRES_IN', '1h'),
},
}),
inject: [ConfigService],
}),
],
})
export class AuthModule {}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 556 lines · 59 tokens per session scan A 5f783124610b
nestjs-security-expert is an agent published in the GitHub repository giuseppe-trisciuoglio/developer-kit (343 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 3,278 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
Other agents, from other repositories
kafka-agent
Rapids & Rivers, eventdrevet arkitektur, Kafka-mønstre og schema-design.
acp-developer
Agent-to-Agent (A2A) protocol developer for building interoperable agent systems using Google's open A2A standard with JSON-RPC, task lifecycle, and streaming.
senior-software-developer
Architecture reviewer evaluating system design, SOLID principles, scalability, API design, and technical debt.
web-developer
Full-stack web development agent for Next.js, TypeScript, and Tailwind CSS projects with deployment and environment setup.
nav-pilot
Planlegg, arkitekturer og bygg Nav-applikasjoner med innebygd kjennskap til Nais, auth, Kafka, sikkerhet og Nav-mønstre.
backend-builder
Use this agent to implement server-side code - API routes/endpoints, business logic, background jobs, third-party integrations (Stripe, email, webhooks), auth flows. Give it a specific, bounded task with acceptance criteria. Returns working code verified by real test output.