Skip to main content

Security feedback at work

How familiar installation and editor feedback can bring the same ASH security checks into a developer's day.

Updated 3 min readMarkdown
Security feedback at work

Make installation fit the platform, keep one scanning contract, and bring the findings back to the editor.

A useful engineering capability needs a useful path into somebody's day. For security tooling, that path includes installation, execution, and the place a person reads the result. Improving one part while making another unfamiliar can move the friction rather than remove it.

The native packaging and VS Code work in ASH connects those steps. Operating-system packages provide a familiar installation shape. The editor invokes the existing ASH command and reads the reports it produces. The integration is deliberately a bridge to the scanner, not another copy of it.

Make the package boundary easy to check.

The native package builders define a deliberately narrow payload: the project's own wheel, with dependencies resolved separately at installation. The package checks inspect the built artifact, rather than relying only on a review of the script that produced it.

The design has format-specific details, but the important idea is consistent. A package should be able to explain what it carries, how the installed environment is created, and what happens during an upgrade or removal. Homebrew uses a different source-based shape, so its contract is documented separately rather than forced into the same rule.

A check belongs at the boundary it describes.

  1. Build the package
  2. Inspect its actual contents
  3. Exercise install and scan behavior

Source-level intent and the contents of the artifact are separate things to validate.

Let the editor consume the scanner's result.

The VS Code integration runs ASH over the open workspace and turns its SARIF report into entries in the Problems panel. It ships no copy of ASH, scanner, or rules. That keeps the integration's job understandable: find the configured executable, run it, and interpret the result.

Keep different results distinct.

It also keeps different outcomes distinct. A scan with no findings, an incomplete scan, a cancelled run, and an unavailable report are not interchangeable editor states. The implementation preserves that distinction while letting a person cancel work and return to it later.

A good experience includes clear permission.

The editor does not run a scan in an untrusted workspace. Scanning can load the project's own configuration and plugin modules, so workspace trust is part of the execution decision, not just a cosmetic editor preference.

I like integrations that make the main path straightforward and the boundaries visible. A person should not have to become a packaging expert to install a tool, or a report-format expert to read a finding. But the details should still be available when they need to understand what will run and what the result means.

What I take from it

Bring the scanner's findings into the editor without treating an incomplete, cancelled, or missing report as a clean scan.

Code and further reading

Read the illustrated essay on mh0pe.github.io

About the author

  • Principal AI Architect. I help teams govern, ship, and scale AI, security, cloud, and developer systems. Illustrated essays and selected work at https://mh0pe.github.io/

No comments yet. Be the first to comment.