hydra-gate-no-admin-idor

Detect missing authorization guards in PHP controller methods annotated with NoAdminRequired.

1|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-no-admin-idor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hydra-gate-no-admin-idor
Source: https://github.com/ConductionNL/shillinq/tree/main/.claude/skills/hydra-gate-no-admin-idor
Command: npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-no-admin-idor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents Insecure Direct Object Reference (IDOR) vulnerabilities by automatically detecting controller methods that expose sensitive data or actions to unauthorized users.

Core Features & Use Cases

  • Security Auditing: Scans PHP controller methods for missing authorization guards when the NoAdminRequired attribute is present.
  • Compliance Enforcement: Ensures adherence to OWASP A01:2021 and internal ADR-005 security standards.
  • Use Case: Use this tool during your CI/CD pipeline to automatically flag endpoints that allow any authenticated user to access arbitrary object IDs without proper ownership verification.

Quick Start

Run the hydra-gate-no-admin-idor skill to scan the current repository for insecure controller methods and identify missing authorization guards.

Frequently Asked Questions about hydra-gate-no-admin-idor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect IDOR vulnerabilities in Nextcloud PHP controllers?

To detect IDOR vulnerabilities in Nextcloud PHP controllers, scan methods annotated with NoAdminRequired to verify the presence of mandatory authorization guards like OCSForbiddenException or ownership checks, preventing unauthorized access to arbitrary object IDs.

What is an Insecure Direct Object Reference vulnerability in PHP applications?

An Insecure Direct Object Reference (IDOR) vulnerability in PHP applications occurs when controller methods expose sensitive data or actions without proper authorization guards, allowing authenticated users to access arbitrary object IDs without ownership verification.

How do I enforce OWASP A01:2021 authorization compliance in a CI/CD pipeline?

Enforce OWASP A01:2021 authorization compliance in a CI/CD pipeline by automatically scanning PHP controller methods for missing authorization guards and flagging endpoints that allow unverified access to object IDs before deployment.

Does this automated security gate work with Nextcloud apps using the NoAdminRequired annotation?

Yes, this automated security gate works with Nextcloud apps by specifically analyzing PHP controller methods annotated with NoAdminRequired to ensure they contain mandatory authorization guards and ownership checks.

What missing authorization checks trigger an IDOR security warning in PHP endpoints?

An IDOR security warning triggers when PHP endpoint method bodies lack mandatory authorization guards like OCSForbiddenException throws or explicit ownership verification checks for the requested object IDs.