# GATE-006 Certification: Security Review With No Critical/High Unresolved Findings

Date: 2026-02-22  
Checklist Item: `GATE-006`  
Ticket: `ISIS-0256`

## Scope

Certify that cross-service Isis security controls are active, validated by
automated tests, and have no unresolved critical/high findings for the
remediation scope.

## Evidence Matrix

| Security Control | Requirement                                                                  | Evidence                                                                                                                                                                                                                                                                                                                                                                                                                                     | Status |
| ---------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `SEC-001`        | Auth middleware consistency across generation, workflow, and output services | `apps/isis/generation-api/src/app.auth.spec.ts`, `apps/isis/workflow-registry/src/app.auth.spec.ts`, and `apps/isis/output-registry/src/app.auth.spec.ts` all passed; coverage includes 401 unauthenticated path denial on protected routes and explicit protected-vs-health route behavior.                                                                                                                                                 | Pass   |
| `SEC-002`        | Project-level authorization on read/write routes                             | The same app-auth suites passed project-scope enforcement cases (`missing project scope` and `project scope header mismatch`), and route-level suites `apps/isis/workflow-registry/src/routes/workflows.auth.spec.ts` + `apps/isis/output-registry/src/routes/outputs.auth.spec.ts` passed row-level owner and tenant-scoped authorization paths.                                                                                            | Pass   |
| `SEC-003`        | API key scopes for admin/ops/provider-control actions                        | `apps/isis/generation-api/src/app.auth.spec.ts` passed scoped permission checks for provider read/control and queue-admin operations; `apps/isis/output-registry/src/app.auth.spec.ts` and `apps/isis/output-registry/src/routes/outputs.auth.spec.ts` passed `outputs:admin` enforcement; `apps/isis/workflow-registry/src/routes/workflows.auth.spec.ts` passed workflow write RBAC denial/allow tests for mutation/activate/clone routes. | Pass   |
| `SEC-004`        | Webhook signature verification for provider callbacks                        | `apps/isis/generation-api/src/routes/provider-callbacks.spec.ts` passed callback auth tests for missing-secret fail-safe (`503`), invalid signature rejection (`401`), valid prefixed signature acceptance (`202`), and invalid payload rejection (`400`).                                                                                                                                                                                   | Pass   |
| `SEC-005`        | Input sanitization and payload-size limits on workflow mutations             | `apps/isis/workflow-registry/src/routes/workflows.auth.spec.ts` passed `returns 413 when workflow mutation payload exceeds request body limit`; provider callback invalid payload handling also validated in `apps/isis/generation-api/src/routes/provider-callbacks.spec.ts`.                                                                                                                                                               | Pass   |
| `SEC-006`        | Structured security logs for sensitive operations                            | Security log middleware suites passed in all services: `apps/isis/generation-api/src/middleware/security-log.spec.ts`, `apps/isis/workflow-registry/src/middleware/security-log.spec.ts`, and `apps/isis/output-registry/src/middleware/security-log.spec.ts`, validating allowed/denied sensitive operation log emission and exclusion of non-sensitive routes.                                                                             | Pass   |
| `SEC-007`        | Abuse controls for expensive generation endpoints                            | `apps/isis/generation-api/src/routes/jobs.spec.ts` passed abuse control/guardrail tests, including `returns 429 when submit abuse budget is exhausted`, `returns 429 when batch submit units exceed abuse budget`, `returns 429 when retry abuse budget is exhausted`, and RunPod cost guardrail limit throttling/hard-limit rejection cases.                                                                                                | Pass   |

## Review Outcome

The executed security matrix passed across generation-api, workflow-registry,
and output-registry services with no unresolved critical/high findings in the
covered remediation controls.

## Reproduction Commands

```bash
pnpm --filter @isis/generation-api exec vitest run src/app.auth.spec.ts src/middleware/security-log.spec.ts src/routes/provider-callbacks.spec.ts src/routes/jobs.spec.ts
pnpm --filter @isis/workflow-registry exec vitest run src/app.auth.spec.ts src/middleware/security-log.spec.ts src/routes/workflows.auth.spec.ts
pnpm --filter @isis/output-registry exec vitest run src/app.auth.spec.ts src/middleware/security-log.spec.ts src/routes/outputs.auth.spec.ts
```
