T09 · Insecure Skill Coding Practices
- Location
SKILL.md:1078- Finding
Broken Tenant Isolation in Recommended Multi-Tenant Pattern
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Django guidance skill is mostly coherent, but it includes a production multi-tenant pattern that could break tenant isolation if copied.
Before installing or using this skill, treat its code snippets as templates that require engineering review. Do not copy the multi-tenant TenantMiddleware or TenantManager pattern as written; tenant access should be authorized through authenticated membership and fail closed. Pin build tools in Docker examples and require explicit review before applying generated deployment, authentication, CI/CD, or data-access changes.
SKILL.md:1078Broken Tenant Isolation in Recommended Multi-Tenant Pattern
SKILL.md:979Unpinned Build Tool Creates Mutable Supply-Chain Input
The quick-start section uses very broad natural-language trigger phrases such as "Review this Django project" and "Production checklist," which can easily overlap with ordinary user requests in unrelated contexts. In agent platforms that auto-route or auto-activate skills based on prompt similarity, this increases the chance of unintended invocation, causing the skill to steer outputs, expose internal project context to the skill, or interfere with higher-priority instructions.
The skill exposes very broad natural-language triggers such as 'Review this Django project', 'Deploy this Django app', and 'Set up authentication' without defining clear activation boundaries, required confirmations, or exclusions. In an agent setting, this can cause overbroad execution or generation of sensitive operational guidance from loosely matched prompts, increasing the risk of unintended actions, unsafe changes, or misuse in higher-privilege contexts.
No suspicious patterns detected.