Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
stepsecurity-dev-machine-guard
command
|
|
|
stepsecurity-dev-machine-guard-task
command
Command stepsecurity-dev-machine-guard-task is a GUI-subsystem launcher that invokes a console-subsystem child under CREATE_NO_WINDOW.
|
Command stepsecurity-dev-machine-guard-task is a GUI-subsystem launcher that invokes a console-subsystem child under CREATE_NO_WINDOW. |
|
internal
|
|
|
aiagents
Package aiagents is the root of the AI coding agent hooks domain.
|
Package aiagents is the root of the AI coding agent hooks domain. |
|
aiagents/adapter
Package adapter defines the contract every per-agent integration (Claude Code, Codex) implements.
|
Package adapter defines the contract every per-agent integration (Claude Code, Codex) implements. |
|
aiagents/adapter/claudecode
Package claudecode implements the Adapter interface for Claude Code.
|
Package claudecode implements the Adapter interface for Claude Code. |
|
aiagents/adapter/codex
Package codex implements the Adapter interface for OpenAI Codex.
|
Package codex implements the Adapter interface for OpenAI Codex. |
|
aiagents/cli
Package cli houses entry points for the AI-agent hooks domain: `hooks install`, `hooks uninstall`, and the hidden `_hook` runtime.
|
Package cli houses entry points for the AI-agent hooks domain: `hooks install`, `hooks uninstall`, and the hidden `_hook` runtime. |
|
aiagents/configedit
Package configedit provides byte-preserving edits of user-owned JSON and TOML settings files.
|
Package configedit provides byte-preserving edits of user-owned JSON and TOML settings files. |
|
aiagents/enrich/mcp
Package mcp classifies MCP-related shell-launched activity.
|
Package mcp classifies MCP-related shell-launched activity. |
|
aiagents/enrich/npm
Package npm classifies and enriches npm-ecosystem package manager activity observed in shell commands.
|
Package npm classifies and enriches npm-ecosystem package manager activity observed in shell commands. |
|
aiagents/enrich/secrets
Package secrets implements a self-contained transcript secret scanner.
|
Package secrets implements a self-contained transcript secret scanner. |
|
aiagents/event
Package event defines the canonical AI-agent event schema.
|
Package event defines the canonical AI-agent event schema. |
|
aiagents/hook
Package hook implements the bounded, fail-open hot path invoked by `stepsecurity-dev-machine-guard _hook <agent> <hookEvent>`.
|
Package hook implements the bounded, fail-open hot path invoked by `stepsecurity-dev-machine-guard _hook <agent> <hookEvent>`. |
|
aiagents/identity
Package identity computes AI-event identity for a hook invocation.
|
Package identity computes AI-event identity for a hook invocation. |
|
aiagents/ingest
Package ingest owns the AI-agent telemetry upload path: the stricter enterprise-config gate (this file) and the HTTP client that POSTs events to /v1/{customer_id}/ai-agents/events.
|
Package ingest owns the AI-agent telemetry upload path: the stricter enterprise-config gate (this file) and the HTTP client that POSTs events to /v1/{customer_id}/ai-agents/events. |
|
aiagents/policy
Package policy holds the policy data model and pure decision evaluator.
|
Package policy holds the policy data model and pure decision evaluator. |
|
aiagents/redact
Package redact removes likely secrets from strings and JSON-shaped values before they are written to disk or sent over the wire.
|
Package redact removes likely secrets from strings and JSON-shaped values before they are written to disk or sent over the wire. |
|
aiagents/state
Package state owns the server-driven hook enable/disable cache.
|
Package state owns the server-driven hook enable/disable cache. |
|
atomicfile
Package atomicfile writes files using a temp-file + rename discipline so readers never observe a half-written state.
|
Package atomicfile writes files using a temp-file + rename discipline so readers never observe a half-written state. |
|
detector
Disk-based Node.js package discovery.
|
Disk-based Node.js package discovery. |
|
detector/browserext
Package browserext inventories the extensions installed in a developer's browsers.
|
Package browserext inventories the extensions installed in a developer's browsers. |
|
detector/credentials
Package credentials inventories the places a developer's tools keep credentials.
|
Package credentials inventories the places a developer's tools keep credentials. |
|
detector/rules
Package rules implements the malicious-file detection engine for the enterprise agent.
|
Package rules implements the malicious-file detection engine for the enterprise agent. |
|
devicepolicy
Package devicepolicy implements the dev-machine-guard agent side of Developer MDM on-device policy enforcement (PRD: "Dev Machine Guard Agent: IDE Extension Enforcement").
|
Package devicepolicy implements the dev-machine-guard agent side of Developer MDM on-device policy enforcement (PRD: "Dev Machine Guard Agent: IDE Extension Enforcement"). |
|
execguard
Package execguard decides whether a detector may safely launch a third-party binary on this machine.
|
Package execguard decides whether a detector may safely launch a third-party binary on this machine. |
|
featuregate
Package featuregate gates capabilities whose corresponding backend support has not yet shipped.
|
Package featuregate gates capabilities whose corresponding backend support has not yet shipped. |
|
heartbeat
Package heartbeat writes a small last-run.json "I started" breadcrumb to the install dir at the very top of a telemetry run — before the enterprise-config gate and before the singleton lock is acquired.
|
Package heartbeat writes a small last-run.json "I started" breadcrumb to the install dir at the very top of a telemetry run — before the enterprise-config gate and before the singleton lock is acquired. |
|
launcher
Package launcher resolves the child process the GUI-subsystem launcher (cmd/stepsecurity-dev-machine-guard-task) should spawn for a given invocation.
|
Package launcher resolves the child process the GUI-subsystem launcher (cmd/stepsecurity-dev-machine-guard-task) should spawn for a given invocation. |
|
paths
Package paths owns the single source of truth for "where does the agent put its files." It resolves a base directory (the install dir) from a layered set of sources so callers can stop deriving ~/.stepsecurity independently:
|
Package paths owns the single source of truth for "where does the agent put its files." It resolves a base directory (the install dir) from a layered set of sources so callers can stop deriving ~/.stepsecurity independently: |
|
progress/filelog
Package filelog tees the agent's stderr stream to a file on disk so that when agent-api is unreachable (network failure, firewall, expired credentials), the customer can be asked to share the local log file with support.
|
Package filelog tees the agent's stderr stream to a file on disk so that when agent-api is unreachable (network failure, firewall, expired credentials), the customer can be asked to share the local log file with support. |
|
rungate
Package rungate implements the server-driven run gate: on every invocation the agent asks the backend's run-directive endpoint whether a full scan is due and exits quietly when it isn't.
|
Package rungate implements the server-driven run gate: on every invocation the agent asks the backend's run-directive endpoint whether a full scan is due and exits quietly when it isn't. |
|
safepath
Package safepath opens a file through a chain of path components it has verified itself, and refuses any target that resolves outside a declared set of roots.
|
Package safepath opens a file through a chain of path components it has verified itself, and refuses any target that resolves outside a declared set of roots. |
|
schedinfo
Package schedinfo gathers and logs the agent's own scheduler state — launchd on macOS, Task Scheduler on Windows, systemd on Linux — for troubleshooting.
|
Package schedinfo gathers and logs the agent's own scheduler state — launchd on macOS, Task Scheduler on Windows, systemd on Linux — for troubleshooting. |
|
state
Package state manages the device-side scan state used to skip re-uploading unchanged npm and Python project scans across telemetry runs.
|
Package state manages the device-side scan state used to skip re-uploading unchanged npm and Python project scans across telemetry runs. |
|
tcc
Package tcc identifies macOS TCC (Transparency, Consent, and Control) protected directories so filesystem walks can skip them and avoid triggering system permission prompts on a user's machine.
|
Package tcc identifies macOS TCC (Transparency, Consent, and Control) protected directories so filesystem walks can skip them and avoid triggering system permission prompts on a user's machine. |
|
versionmeta
Package versionmeta resolves installed-tool versions from on-disk metadata — npm package manifests, version-encoded install layouts (<tool>/versions/<v>, Homebrew Cellar/Caskroom), and macOS app bundles — so detectors can avoid launching third-party binaries.
|
Package versionmeta resolves installed-tool versions from on-disk metadata — npm package manifests, version-encoded install layouts (<tool>/versions/<v>, Homebrew Cellar/Caskroom), and macOS app bundles — so detectors can avoid launching third-party binaries. |
|
winproc
Package winproc adjusts the OS-process attributes attached to an *exec.Cmd.
|
Package winproc adjusts the OS-process attributes attached to an *exec.Cmd. |
Click to show internal directories.
Click to hide internal directories.