Automated Security Helper

I gave each project its own scan, then brought the results back together without losing which project they belonged to.

A project label does not tell you whether every planned check ran. PR #640 records missing checks; PR #696 records the age of supported scanner data.

Read the two-scan comparisonInspect per-project execution in PR #462
Two projects, one report
ProjectsReport
A Project A scanA Results
B Project B scanB Results
Each result keeps its project label. A missing check in one project doesn’t erase the other project’s findings. Schematic, not scanner output.

Security at scale, with ownership intact.

Teams can plan, scan, and report on a multi-project workspace as one governed system, with traceable project results and recorded failures.

My decision. I kept each project’s identity with its scan results when ASH combined them into a workspace report.

The combined report can trace a result back to the project that produced it. A project label does not tell you whether every planned check ran.

Inspect per-project execution in PR #462 (opens in a new tab)Inspect missing checks in ASH PR #640 (opens in a new tab)What does “zero findings” actually mean?
Who this helps
Platform and security teams responsible for many projects, tools, and agent-driven workflows.
My role
I led the architecture and implementation of workspace orchestration and agent integrations, then strengthened execution boundaries, repeatability, result integrity, and distributed operation.
Current state
ASH v3.7.0 introduced workspace orchestration. Version 3.8.0 makes incomplete checks and stale scanner data visible. More recent work on the main branch treats container images as distinct scan targets and keeps missing observations from reading as fixes.
Public activity
Public contribution activity · 2024 to 2026
Other changes in this project

Recent engineering

What exactly did we inspect?

Changes on the upstream ASH main branch make it easier to identify what ran, what it saw, and what a fair comparison looks like.

Scan targets

A tag is not the thing you scanned.

A container scan should describe the image that was inspected, not the checkout beside it.

A team builds an image locally and scans it under the same tag it uses in a registry. Those two names can point to different builds. If the report identifies the local image with the registry's digest, the findings may be right and the subject of the report wrong.

In Automated Security Helper (ASH), I worked on making a container image a distinct scan target. The scanner can receive a reference, a saved image archive, or an OCI layout. When the scan can identify the image with a digest, a fingerprint for the identified content, it records that identity for the whole run. When it cannot, the submitted reference stays a reference. The report keeps paths inside the image separate from paths in the host checkout.

This gives a reviewer something concrete to reconcile with the build they intend to ship. It does not make every scanner applicable to an image, and a reference is not an offline input. For an offline scan, supply the image itself. The linked changes are on the upstream main branch.

Scan history

A missing finding is not necessarily fixed.

Before treating a quieter report as progress, check whether the next run looked in the same place.

On Monday a scanner reports a finding. On Tuesday that row is gone. I would ask whether the scanner evaluated Tuesday's run before asking who fixed it. An outage and a successful change can both remove a row from a report.

I changed ASH's trend logic so that a finding is marked unobserved when its scanner did not evaluate the later run. That is a different answer from an evaluated scanner no longer reporting it, and neither observation independently establishes the cause. The trend reads the most recent compatible stretch of history and says when it had to leave earlier runs out.

The history also needs to represent actual runs. Cancelled runs should not look completed, and a finished scan split across jobs should count as one run after the results come together. These changes let an operator use the trend to decide what to recheck, without asking the chart to certify a fix.

Performance evidence

Make the comparison fair before making it a gate.

Benchmark the new build, its parent, and the latest release under the same conditions.

If this week's scan and last week's scan ran on different workers, how much of the timing change belongs to the code? I added a comparison that alternates the current build, the previous commit, and the latest release on one CI runner, with the same fixtures. That gives a reviewer two useful references: what this change did, and how the branch compares with what users can install.

The November 28 workflow run completed the timed comparison and uploaded its results. It is a signal to investigate, not a merge gate or a claim that scanning got faster. I would rather give a reviewer a comparison they can repeat than a threshold they have to trust.

How it works / 06 stages

From constraint to a system a team can own.

Six stages connect the original pressure to the system that now exists.

Run checks in parallel. Keep the context.

Build pipeline
Code checks
Package checks
Infrastructure checks
Combined resultsProject context stays attached
Follow a finding from the application project into the combined report. The infrastructure check in another project can still be incomplete.
  1. Constraint

    Workspace scale still needs exact boundaries.

    Workspace support had to preserve project identity, confine agent-selected paths to operator-approved roots, remain portable across operating systems, and distinguish scanner failure from a genuinely clean result.

    • Keep each project execution isolated while retaining workspace policy.
    • Resolve paths canonically and reject symlink escapes.
    • Make scanner supply reproducible without requiring a custom container image.
    • Report incomplete execution as an error, not an empty success.
  2. Decision

    Model the workspace before any tool runs.

    The architecture resolves workspace definitions before execution, gives each project a scoped run, and aggregates typed results afterward. The same control-plane approach uses one validated contract for agent integrations and explicit boundaries for tools, scanners, and failures.

  3. Implementation

    One control plane connects planning, execution, and results.

    The implementation connects workspace planning, per-project execution, agent tooling, and reproducible scanner supply. Shared configuration keeps policy reusable, code-aware exceptions preserve intent, and reviewed output examples make interface changes explicit.

    • Plan validated workspaces and retain project identity through aggregate reports.
    • Generate integrations for fifteen agent platforms and provide installable skills from one source of truth.
    • Let agents resolve and scan local workspaces while preserving project-level progress and result identity.
    • Confine MCP targets to configured roots with session-aware isolation.
    • Pin all ten scanner binaries across Linux and macOS, x86-64 and ARM, with nine participating end to end through Nix mode.
    • Apply nested ignore rules to the correct subtree and stabilize finding paths across Windows drives.
    • Split scanners across AgentCore, ECS Fargate, Lambda, or CodePipeline targets and combine their results.
    • Show skipped projects without counting them as vulnerabilities, and match accepted risks to the exact package version and installation path.
    • Write results atomically and distinguish usable results from incomplete writes or a still-running scanner.
    • Scan hand-authored dependency declarations for secrets, and restrict which environment values project configuration can read into reports.
    • Carry configuration aliases and overrides into configured plugins, share local baselines, and derive command templates from their parameters.
    • Keep approved exceptions attached to named code, and require an explanation when expected reports or agent responses change.
    • Bound scanner access on Linux and macOS while keeping operator policy separate from project inputs.
    • Preserve package versions and advisory meaning across npm, Yarn, and pnpm, and distinguish execution failures from completed checks.
    • Verify selected tool downloads and reusable binaries, keeping installed versions aligned with source and license records.
    • Generate CLI, reporter, and agent references from code, and check the steps readers follow in the tutorial.
    • Defer work that a command does not need and scope commit checks to staged changes.
    Inspect the build (opens in a new tab)
    More links from this decision
  4. State

    From coordinating scans to making their results dependable.

    ASH v3.7.0 introduced governed multi-project workspaces. Version 3.8.0 makes scanner coverage and data freshness visible in the result and adds task-led guides. Following that release, work on main made small commands start with less work, narrowed commit checks to the files being changed, and put the tutorial steps under test.

    See where it works (opens in a new tab)
    More links from this decision
  5. Source

    Follow the system from release to source.

    The releases show where workspace orchestration and scan coverage checks can be used today. Follow the linked reviews to see how startup was measured, how the hook avoids unnecessary setup, and how the tutorial now checks its own steps.

    Follow the public work (opens in a new tab)
    More links from this decision

Public work / Implementation trail

Inspect the work behind the result.

Open the working code, review discussions, exact changes, and documentation behind each part.

I also write about this work on LinkedIn: Give output changes a review trail, on LinkedIn, opens in a new tab on how reports, CLI help and MCP responses change together; Two inputs an offline run can verify, on LinkedIn, opens in a new tab on what an offline scan can check before it starts; and A test harness is a small concurrent system, on LinkedIn, opens in a new tab on the parallel test suite.

What changed

Available in release

Multi-project workspace orchestration is available in ASH v3.7.0.

Implemented

Where this work lives
Available now
Available in the linked upstream release.
Integration
Merged upstream and included in ASH v3.7.0.
What supports it
Release-backed implementation with public review history.

What changed

Integrated

One validated contract produces integrations for fifteen agent platforms.

Implemented

Where this work lives
Available now
Available in the upstream ASH project.
Integration
Merged upstream in ASH #331.
What supports it
Validated by generated-package smoke tests and external schemas.

What changed

Integrated

Teams can split security scanners across AWS execution targets and combine their results without losing per-target failures.

Implemented

Where this work lives
Available now
Available in the upstream ASH project.
Integration
Merged upstream in ASH #494 and #514.
What supports it
Validated implementation with explicit target-failure coverage.

What changed

Integrated

Coding agents can discover a workspace, scan its projects, and return results with project identity intact.

Implemented

Where this work lives
Available now
Available in upstream ASH for local workspace scans.
Integration
Merged upstream in ASH #493; installable agent skills followed in #534.
What supports it
Validated workspace tools with project-level progress and generated-integration checks.

What changed

Integrated

Security reports keep package identity and coverage clear across npm, Yarn, and pnpm, distinguishing findings from checks that could not complete.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
Earlier reporting work is extended by ASH #737, #759, #765, and #767, merged into main on October 7 and 8, 2026.
What supports it
The linked reviews document checks for skipped projects, atomic writes, Windows read retries, explicit process environments, and runtime offline decisions. npm, Yarn, and pnpm findings retain installed versions and advisory ranges; audit errors remain distinct from findings. Offline audits have separate warning or skip behavior, not a promise of current advisory coverage. Package-instance paths require npm v2+ lockfiles; ambiguous copies remain unsuppressed.

What changed

Integrated

Remote agents operate within explicitly granted paths while workspace tools retain session and profile context.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
Integrated in ASH #665.
What supports it
Remote access defaults to denied without a grant; neighboring session directories are refused. Session names separate work, not authenticate callers. Local command-line transport retains its existing access model.

What changed

Integrated

Teams can reuse verified tools and base images, with installed versions connected to their source and license records.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #669 and #670 merged September 29, 2026. The environment work in #692 and #693 is extended by #740, #763, #766, and #777, merged October 7 and 8.
What supports it
The linked reviews document selected download and reusable-binary hash checks, with image tool versions tied to license records. Agent-tool checks include an offline validator, not a logged-in agent session. Hashes establish byte identity, not universal publisher attestation; one CLI pin uses a measured digest. Source-pointer licensing sufficiency remains a maintainer/legal decision. Base-image checks are not whole-image assurance. PR reviews report 113 validation combinations retained across 33 jobs, not measured time savings. An explicit artifact/cache publication inventory guards supported workflow sites, not every possible upload path.

What changed

Available in release

Teams can distinguish complete checks from incomplete coverage or outdated scanner information while retaining the findings.

Implemented

Where this work lives
Available now
Available in ASH v3.8.0.
Integration
ASH #640 and #696 are named in the v3.8.0 release notes.
What supports it
Coverage and declared scanner-data age limits inform scan decisions, with structured reasons and explicit overrides. Valid rule CVSS scores inform severity; malformed GitLab findings are isolated, and container/Nix runs discard stale artifacts before execution unless reuse is requested. Coverage checks follow reported scanner status and target counts; they do not establish that every scanner or converter failure is detected. Age checks cover supported databases and rulesets, not every external input.

What changed

Integrated

Teams can reuse a security baseline and repeat a command without maintaining a second set of options.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #691 merged into main on October 1, 2026; #710 and #712 followed on October 5 and 6.
What supports it
Configuration aliases and overrides reach configured plugin instances through their declared names. Inheritance uses local files with explicit precedence and confined paths; command templates derive from the commands' own parameters. This does not add remote policy retrieval or a new agent protocol.

What changed

Integrated

Approved exceptions can remain attached to a named function or class as nearby code changes.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #707 merged into main on October 5, 2026.
What supports it
Requires the optional symbol parsers and a supported language. Missing parsers, invalid syntax, unresolved symbols, and paths outside the scan root leave findings visible. The linked review records focused parser and scan tests.

What changed

Integrated

Changes to reports, command output, and agent responses become visible decisions in review.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #678, #680, and #689 merged into main on September 30, 2026; #717 followed on October 6.
What supports it
The merged foundation derives CLI, MCP, and reporter references from registered implementations, with schema and freshness checks that reject drift. Operational caveats remain hand-authored. Checked output examples require an explanatory commit trailer when expected content changes; automated checks cannot silently regenerate them. Output-contract coverage excludes container and Nix exit paths and samples live progress at its final frame.

What changed

Integrated

Security scanners can run with bounded working areas and explicitly permitted resources.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #757, #786, and #793 merged into main on October 8 and 9, 2026.
What supports it
Isolation is opt-in and defaults off, with no native Windows backend. Linux filtering supports x86-64 and ARM64; backend protections differ. Network-enabled scanners retain host TCP and UDP access. macOS uses deprecated sandbox-exec and does not reap child processes. Recorded comparison tests cover fixture behavior, including offline missing-tool states, not universal equivalence or a published release.

What changed

Integrated

Project inputs and agent requests remain separate from the operator's authority to grant access.

Implemented

Where this work lives
Available now
Available on the upstream main branch.
Integration
ASH #784 and #795 merged into main on October 9, 2026.
What supports it
Controls cover specified configuration, plugin, tool, and input-reading paths. Independently walking scanners retain their own link behavior; some refused inputs are recorded as skipped rather than failures. Uploaded untrusted configuration is refused in execution modes where its policy cannot apply. Different-checkout handling belongs to separate work in #792.

What changed

Available in release

Task-led guides connect generated references, checked examples, and version-specific instructions.

Implemented

Where this work lives
Available now
Task-led guides and generated references are available in ASH v3.8.0.
Integration
The documentation rewrite reached main through ASH #727. ASH #804 records the earlier proposal.
What supports it
The current release includes the rewritten guides. Follow-up work on main derives the tutorial and its runnable tests from shared steps and generates the scanner reference independently of locally installed scanners. Those follow-ups came after v3.8.0.

What changed

Integrated

Developers get security feedback closer to the commit without asking a hook to scan unchanged files.

Implemented

Where this work lives
Available now
Available on main after ASH v3.8.0.
Integration
ASH #935 added staged-file mode, #936 deferred heavy startup, and #951 skips setup only where no staged file applies.
What supports it
The #936 review measured a same-host median of 1.428 to 0.192 seconds for the version command, not end-to-end scanning. The commit hook retains explicit reporting overrides. CI changes in #965 use measured module durations to balance test jobs without dropping tests; the review reports a replay, not a new CI wall-clock result.

Continue exploring

Compare the decisions across systems.

Move to another result, or return to the complete work collection.

If your team is facing a similar reporting problem, you can find me on LinkedIn (opens in a new tab).