Application security review

From AtlasOmnia/hermes-custom-pack · View interactive version

Application security review is an AI agent skill from the GitHub repository AtlasOmnia/hermes-custom-pack. application-security-review — Review application repos for concrete security issues, especially trust-boundary failures, prompt-injection paths, auth/proxy mistakes, validation gaps, and risky dependencies.

How to use this skill

Skill file

Application Security Review

Perform a practical source-level security review of an application repository. Favor confirmed issues over speculative ones. The goal is a useful operator-facing report: severity, file/line references, exploit path, impact, and remediation.

Use when

For native iOS commercial-readiness reviews, load and follow the readiness checklist. It expands the audit beyond security into StoreKit, App Store compliance, realtime audio reliability, consumer UX, unit economics, and release gates.

Review priorities

  1. Trust boundaries first.
  1. Auth and exposure.
  1. Validation before execution.
  1. Data handling.
  1. Dependencies.

Workflow

  1. Read top-level README and manifests/config first to understand architecture.
  2. Locate network entry points and auth flow.
  3. Trace untrusted input to powerful sinks:
  1. Search for:
  1. For public-release/privacy scans, include repository metadata and the actual remote publication surface as well as source:
  1. Run dependency audit when package managers/lockfiles exist.
  2. Distinguish:
  1. End with deployment posture:

Type alignment across trust boundaries

Inconsistent URL validation across similar provider endpoints

Two-phase validation (upstream gate + downstream gate)

Prototype-sensitive dictionaries at trust boundaries

AI-integrated app checklist

Self-hosted agent control-plane checklist

When the reviewed application is a multi-tenant agent ledger/control plane, inspect the deployment boundary as carefully as the HTTP routes:

Office/add-in specific checklist

Reporting format

For each finding provide:

For public-repository questions, give separate verdicts so release-quality advice is not mistaken for a privacy finding:

  1. Privacy/secrets verdict — whether personal information, credentials, private endpoints, or machine-specific artifacts are present in current reachable publication surfaces.
  2. Public-release readiness verdict — legal, documentation, security-warning, CI, and branch-hardening gaps.

Use precise blocker language:

End with one direct sentence answering the user's actual question (for example, “No privacy barrier; fix the license and command-safety warning before publishing as reusable open source.”).

Also provide a short "good news" section for controls that are already sane.

Test infrastructure integrity

Browser-harness and skill-package release reviews

Dev-only npm advisory release disposition

Electron packaging and release-readiness reviews

When reviewing an Electron packaging/release commit, use this checklist:

Read-only desktop controller candidate reviews

For a Windows tray/controller candidate reviewed without build/test/install side effects, inspect the dirty worktree as the exact candidate, including untracked files, and treat structural verification separately from runtime verification. Use this sequence:

  1. Capture HEAD, status, changed/staged/untracked paths, and git diff --check at the start and end; report any drift.
  2. Read the production entrypoint, UI context, command/state layer, disposal path, lifecycle runner boundary, manifest, and test project together. Do not rely on git diff alone because untracked candidate files are omitted.
  3. Trace every UI event to its first asynchronous boundary. An async method is not sufficient: if an operation is invoked before the first incomplete await, network/process work can still begin on the WinForms UI thread.
  4. Model polling and lifecycle actions as competing writers. Check whether polling skips pending hosts or uses per-host generations/serialization; otherwise a stale classification can overwrite a newer action result.
  5. Audit disposal in three layers: controller task tracking/awaiting, queued UI callbacks (generation/disposed checks inside the callback), and owned IDisposable resources created by the composition root. Unsubscribing an event does not cancel already-posted callbacks.
  6. Verify pending-state UX at every command surface, not only a status window. Tray menu actions and bulk actions need explicit pending references and updates; backend rejection alone does not satisfy a UI-disable contract.
  7. For diagnostics/privacy, inspect the final serialization sink. Sanitizing arbitrary strings is not a fixed allowlist. Test untrusted values in display names and error/code fields, not only in obviously omitted URL/path/token fields.
  8. If runtime tests are prohibited, label tests as not executed and report only static/structural conclusions. Do not infer Windows visual behavior from a cross-platform test project or from stale build artifacts.

Typical blocking evidence patterns:

Pitfalls

Support files

Public support files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.