hydra-gate-route-auth

Validate Nextcloud controller methods for explicit authentication attributes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents security vulnerabilities caused by missing authentication attributes on controller methods, ensuring that every endpoint in a Nextcloud application explicitly defines its access posture.

Core Features & Use Cases

  • Automated Route Auditing: Scans appinfo/routes.php and corresponding controller files to verify the presence of required security attributes like PublicPage or NoAdminRequired.
  • Security Compliance: Ensures that endpoints are not accidentally exposed to unauthorized users due to default admin-only restrictions or missing middleware declarations.
  • Use Case: Use this tool during the CI/CD process to automatically catch unauthenticated or improperly secured API endpoints before they are merged into the production codebase.

Quick Start

Run the hydra-gate-route-auth skill to scan the current directory for missing authentication attributes in your controller methods.

Frequently Asked Questions about hydra-gate-route-auth

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

FAQPage Schema
How do I check my Nextcloud controllers for missing authentication attributes?

To check Nextcloud controllers for missing authentication attributes, scan appinfo/routes.php and cross-reference route definitions with controller method signatures to identify endpoints lacking required security middleware like PublicPage or NoAdminRequired.

How do I enforce ADR-005 security compliance in my Nextcloud CI/CD pipeline?

Enforce ADR-005 security compliance in your Nextcloud CI/CD pipeline by running an automated route audit that validates every controller method explicitly declares its access posture via PHP attributes or docblock tags before merging code into production.

What happens if a Nextcloud controller method lacks a NoAdminRequired or PublicPage attribute?

If a Nextcloud controller method lacks a NoAdminRequired or PublicPage attribute, the endpoint may be accidentally exposed to unauthorized users due to default admin-only restrictions or missing middleware, creating a security vulnerability.

Can I detect unauthenticated Nextcloud API endpoints before deploying to production?

Yes, you can detect unauthenticated Nextcloud API endpoints before deploying to production by running an automated route auditing process during your CI/CD workflow that flags endpoints missing required access control declarations.

Does this route auditing tool support PHP docblock tags as well as attributes for Nextcloud middleware?

Yes, the route auditing process supports both PHP attributes and docblock tags to verify that every controller method registered in a Nextcloud application explicitly declares its authentication posture and security middleware.

Why are my Nextcloud endpoints accidentally exposed to unauthorized users despite default restrictions?

Nextcloud endpoints may be accidentally exposed to unauthorized users when controller methods lack explicit authentication posture declarations, bypassing default admin-only restrictions due to missing security middleware attributes or docblock tags.