Documentation
¶
Overview ¶
Package baseline implements accepted-findings files (.sandtrap.json).
A baseline records the behavioral findings a team has reviewed and accepted (esbuild's postinstall, vue-demi's version switcher…). Scans then fail only on findings NOT in the baseline — which is precisely the signature of a hijacked release: a trusted package suddenly doing something new.
Index ¶
Constants ¶
View Source
const DefaultFile = ".sandtrap.json"
DefaultFile is auto-loaded from the scan directory when present.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.