All plugins

hermes-pentest

Guided local Vite/Supabase source input discovery, fresh human approval, offline build and isolated testing with synthetic data. Populated/absent SQL controls and authenticated persisted-text XSS checks verify actual input/render paths. Reports distinguish rejected probes from failed controls and count planned versus completed same-user and cross-user stored workflows separately. Uses the provider already configured in Hermes. Also supports explicit local web/API discovery, controlled SQL injection, browser-proven reflected/DOM/stored XSS, access contracts, owner-approved localhost servers, multi-service applications and native/CLI checks. Durable budgets, supervised execution, stop/recovery, immutable evidence, fixed-build regression and reports. Disclosure — trusted Python controllers use the local Docker socket to manage exact run-owned containers; Docker targets get no host mounts, published ports or external network. Existing localhost servers are unmanaged and are tested only at origins the owner lists in allowed_localhost_origins (empty by default), which receive state-changing requests with the configured test-session headers. macOS supervised-local mode runs only executables the owner lists in allowed_native_executables (empty by default), under Seatbelt plus an RSS watchdog, not Docker isolation. Guided preparation reads the selected source and dependency trees and may fetch lockfile-verified Linux build packages from registry.npmjs.org. Guided assessments need a fresh one-shot human approval. Evidence stays in the selected profile's plugin data; no telemetry or model calls.

WebisityStudioToolsv0.5.1Updated 21 days ago

About

Guided local Vite/Supabase source input discovery, fresh human approval, offline build and isolated testing with synthetic data. Populated/absent SQL controls and authenticated persisted-text XSS checks verify actual input/render paths. Reports distinguish rejected probes from failed controls and count planned versus completed same-user and cross-user stored workflows separately. Uses the provider already configured in Hermes. Also supports explicit local web/API discovery, controlled SQL injection, browser-proven reflected/DOM/stored XSS, access contracts, owner-approved localhost servers, multi-service applications and native/CLI checks. Durable budgets, supervised execution, stop/recovery, immutable evidence, fixed-build regression and reports. Disclosure — trusted Python controllers use the local Docker socket to manage exact run-owned containers; Docker targets get no host mounts, published ports or external network. Existing localhost servers are unmanaged and are tested only at origins the owner lists in allowed_localhost_origins (empty by default), which receive state-changing requests with the configured test-session headers. macOS supervised-local mode runs only executables the owner lists in allowed_native_executables (empty by default), under Seatbelt plus an RSS watchdog, not Docker isolation. Guided preparation reads the selected source and dependency trees and may fetch lockfile-verified Linux build packages from registry.npmjs.org. Guided assessments need a fresh one-shot human approval. Evidence stays in the selected profile's plugin data; no telemetry or model calls.

Hermes Pentest

Run bounded penetration tests against your own disposable local applications
from Hermes, with reproducible evidence and fixed-build regression checks.

Uses the AI provider and model already configured in Hermes. The plugin does not
require a separate AI account or API key and does not select or change your model.

Version 0.3 adds automatic HTML/form/OpenAPI discovery, SQL injection probes,
browser-executed reflected/DOM/stored XSS checks, existing localhost servers,
isolated multi-service applications and native/CLI input tests. The configured
access-control adapter and original reference demo remain available.
Version 0.3.1 adds default-deny owner allowlists for unmanaged host targets.
Version 0.4 adds guided source preparation and fresh human approval before an
isolated assessment of the actual local project.
Version 0.5 adds source input discovery, populated/absent SQL controls, synthetic
identity binding, and authenticated persisted-text XSS checks with explicit
same-user versus cross-user coverage.
Version 0.5.1 distinguishes rejected probes from failed functional controls,
guides type-aware follow-up selection and separates planned/completed stored-XSS
coverage for same-user and cross-user flows.

See the v0.5 release verification and limits for the
ordinary-chat acceptance, actual-application SQL/XSS results and remaining gaps.
The v0.5.1 verification records the follow-up assessment.

TargetExecutionGuide
Local Vite source, optionally with Supabase migrationsFiltered source/dependency snapshot, real owner approval, offline build and disposable servicesGuided projects
Local web/API imagePinned Docker image, private network and bounded resourcesAssessments
Multi-service applicationLocal service images, dependency order and private namespaceAssessments
Existing localhost serverOwner-allowlisted loopback origin and unmanaged acknowledgementAssessments
Linux native/CLIExecutable in a pinned restricted Docker imageNative guide
macOS native/CLIOwner-allowlisted pinned executable under SeatbeltNative guide
Cross-principal access contractsExplicit ordinary identities, fixture markers and policyApplication guide

Coverage is bounded by the plan and check catalogue. It does not establish that
an app is free of vulnerabilities. Native GUI automation, mobile instrumentation,
arbitrary Internet targets and external provider integrations are outside this release.

Install

Requires Python 3.11+, Hermes with supported plugin APIs, and local Docker for
managed web/Linux and browser checks. macOS native supervision requires
sandbox-exec. Existing localhost transport without browser checks needs no
Docker. Target images must exist locally; execution never pulls images.

Use a dedicated profile. Reuse it if it already exists:

hermes profile create pentest-hackathon --no-alias --no-skills
mkdir -p ~/.hermes/profiles/pentest-hackathon/plugins
ln -s /absolute/path/to/hermes-pentest ~/.hermes/profiles/pentest-hackathon/plugins/hermes-pentest
hermes -p pentest-hackathon plugins enable hermes-pentest
hermes -p pentest-hackathon plugins doctor /absolute/path/to/hermes-pentest --ci
hermes -p pentest-hackathon plugins validate /absolute/path/to/hermes-pentest --install-deps

Managed web transport uses pre-existing python:3.13.18-slim-trixie. Prepare the
browser toolchain separately for XSS (this explicit build downloads pinned dependencies):

docker build -f browser/Dockerfile -t hermes-pentest-browser:1.64.1 browser

The browser runs nonroot and network-disabled, with Chromium's sandbox enabled.
Page resources use the controller's bounded same-origin transport. Seccomp
provenance and the documented adjustment are in browser/.

Ask Hermes to test a project

For a supported local Vite project, ask:

Pentest this project. Inspect its actual source and backend, prepare an isolated
environment, show me the scope for approval, then run the checks and report.

Load skill_view("hermes-pentest:guided-project-workflow"). Hermes selects
source-grounded routes and ordinary-user access contracts using pentest_inspect, then calls
pentest_prepare with the project path and optional backend path. Preparation
snapshots accepted regular source files, excludes credentials, pins cached
images and reports setup gaps. It can supply missing Linux esbuild/Rollup packages
from the official npm registry with exact lockfile integrity verification.

pentest_assess then asks the human to approve that specific prepared scope.
After approval, it builds the actual frontend offline, runs bounded browser/web
and selected Supabase checks with synthetic accounts, removes its containers,
and retains Markdown/JSON reports. Hermes polls the supervised run for progress
until it completes; a started run is not a finished result. Native cancellation
stops the associated assessment while preserving evidence and cleanup. There
are no host mounts, published ports or
production credentials. Managed project runs need no unmanaged-target allowlist.
See the guided workflow for the supported recipe, CLI and limits.

Use an explicit application plan

Create a version-2 assessment plan, then:

hermes -p pentest-hackathon pentest preflight --args '{"assessment_path":"/absolute/path/assessment.json"}'
hermes -p pentest-hackathon pentest create --args '{"authorization":"Owner-approved disposable local assessment","assessment_path":"/absolute/path/assessment.json"}'
hermes -p pentest-hackathon pentest execute --args '{"run_id":"RETURNED_RUN_ID"}'
hermes -p pentest-hackathon pentest export --args '{"run_id":"RETURNED_RUN_ID"}'

For inventory alone use pentest discover with authorization and the same plan.
For a corrected build, create with regression_of set to the baseline ID and
the same test contract. Reports retain the original evidence.

Twelve tools are registered in hermes_pentest: pentest_inspect, pentest_prepare,
pentest_assess, pentest_preflight,
pentest_discover, pentest_create, pentest_execute, pentest_status,
pentest_stop, pentest_resume, pentest_cleanup, pentest_export.
The CLI uses the same handlers.

Load skill_view("hermes-pentest:local-assessment-workflow") for the new workflow.
The supplied application-penetration-testing and local-web-api-workflow skills
remain bundled. Session headers belong only in the profile's Test sessions
secret (HERMES_PENTEST_SESSIONS), read through Hermes's public secret API.
Plans contain aliases and public synthetic expectations, never tokens.

Owner permission for unmanaged targets

Localhost and macOS supervised-local are denied by default. Before using
either mode, the owner must explicitly configure the exact targets in this
plugin's settings in the selected Hermes profile. For example:

plugins:
  entries:
    hermes-pentest:
      settings:
        allowed_localhost_origins:
          - http://127.0.0.1:3000
        allowed_native_executables:
          - /absolute/path/to/disposable-test-cli

Both config_schema lists default to []. No wildcard, port range or directory
grant is supported. Localhost names normalize to 127.0.0.1; IPv6 is a separate
origin. A localhost entry authorizes the assessment's GET/POST/PUT/PATCH
requests at that origin, including its configured session headers. Do not
allowlist Hermes dashboards/APIs, local model servers, admin UIs, production
proxies or any other non-disposable service. Native settings must contain
canonical absolute executable paths; symlink aliases are rejected so replacing
an alias cannot silently authorize a different target. For an app bundle, approve its actual
Contents/MacOS/<CFBundleExecutable> path, not the bundle directory.

Plans are untrusted input. disposable, acknowledge_unmanaged, authorization
text and reauthorize record scope but never grant owner permission.
assessment_path and application_path may remain absolute paths outside the
plugin-data directory: their location is not an authorization boundary.
The explicit owner settings gate is the boundary for unmanaged targets;
the older application adapter remains confined to managed Docker targets.
An agent must not add a target to these allowlists to make a denied call pass.

The tool and CLI handlers read the active profile's effective Hermes settings
on each preflight, create, discover, execute and resume invocation, without a
plugin-level cache. Hermes managed sessions deliberately freeze their settings
at session creation, so existing sessions retain their approved targets until
ended. To revoke access, stop affected runs, end affected Hermes sessions, remove
the allowlist entry, and start a new session. A new standalone CLI invocation
also reads the updated settings; a plan's reauthorize flag never refreshes a
frozen session. Unreadable/malformed configuration fails closed; cached
last-known-good grants cannot authorize a new call. Bundle metadata is read only
when an owner-approved entrypoint belongs to that bundle, then its declared
entrypoint is checked again. Validation checks the allowlist before HTTP
requests or native execution. A saved run cannot preserve a grant absent from
the calling Hermes session's effective settings. The trusted worker receives only the
selected target's permission over its private stdin pipe and checks it again;
the grant is never read from a plan or tool argument. An executing attempt uses
that bounded snapshot. Removing an allowlist entry alone does not terminate an
active attempt or revoke an existing managed session.
Status, stop, cleanup and export remain usable after revocation. Docker-only
assessments require neither unmanaged allowlist.

Evidence and lifecycle

Each HTTP request or native command reserves persistent budget before I/O.
Checks are journaled as they finish, finalized attempts are immutable, and
reports include integrity digests. SQL errors, reflected text, response codes
and crashes alone never confirm a vulnerability. XSS requires Chromium marker
execution; SQLi requires controlled differential behavior or a computed literal;
native findings require synthetic effects and working before/after controls.

Stop requests survive recovery. Interrupted managed runs can resume with fresh
runtimes, unchanged source/session identity, reauthorization and remaining
budget. Interrupted unmanaged localhost runs require owner reset and a new run;
uncertain mutations are not replayed. Cleanup touches exact owned resources and
preserves owner images, existing servers and evidence. Failed cleanup blocks
dependent execution. State lives under the selected profile's
plugin-data/hermes-pentest/; integrity hashes are not tamper-proof against the
host/database owner. No telemetry or persistent daemon is installed.

Docker targets have no host mounts, published ports, Docker socket, inherited
host secrets or external egress. Isolation is inspected and probed. Existing
localhost processes remain unmanaged. macOS supervision denies network, fork
and unrelated file access, but its RSS memory watchdog can overshoot. These
distinctions appear in evidence and reports.

Verify locally

The named verification profile must already exist with this checkout enabled.
These commands invoke the installed Hermes runtime without model/API calls:

Full local acceptance additionally requires pre-existing postgres:17 for the
isolated database dependency fixture, and /usr/bin/clang for the macOS fixture.

python3 scripts/run_local.py --profile pentest-hackathon-universal tests
python3 scripts/run_local.py --profile pentest-hackathon-universal --owner-approved-fixtures verify-assessment
python3 scripts/run_local.py --profile pentest-hackathon-universal verify-application
python3 scripts/run_local.py --profile pentest-hackathon-universal verify
python3 scripts/run_local.py --profile pentest-hackathon-universal package-check

Acceptance uses reviewed disposable fixtures and public dummy sessions. It
drives registered tools through vulnerable/fixed web, loopback, two-service,
Linux CLI and compiled macOS CLI targets, plus discovery and export. macOS
coverage requires macOS. Local evidence, profiles and credentials are excluded
from the explicit public archive allowlist.

The unmanaged acceptance cases require the explicit --owner-approved-fixtures
operator flag. Only the reserved pentest-hackathon-universal profile is used,
and its allowlists must start empty. The harness first checks that registered
tools deny plan-only authorization, then temporarily grants its reviewed
bundled fixtures, checks revocation, runs acceptance and restores the previous
settings. This test helper is not a plugin tool or a user-target authorization
route; ordinary assessments never write owner settings.

README from the reviewed commit 6af5fc9; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section