Files
Moltbot/src/security/audit-extra.ts
Nick Taylor 1fb52b4d7b feat(gateway): add trusted-proxy auth mode (#15940)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 279d4b304f83186fda44dfe63a729406a835dafa
Co-authored-by: nickytonline <833231+nickytonline@users.noreply.github.com>
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Reviewed-by: @steipete
2026-02-14 12:32:17 +01:00

35 lines
1.0 KiB
TypeScript

/**
* Re-export barrel for security audit collector functions.
*
* Maintains backward compatibility with existing imports from audit-extra.
* Implementation split into:
* - audit-extra.sync.ts: Config-based checks (no I/O)
* - audit-extra.async.ts: Filesystem/plugin checks (async I/O)
*/
// Sync collectors
export {
collectAttackSurfaceSummaryFindings,
collectExposureMatrixFindings,
collectGatewayHttpSessionKeyOverrideFindings,
collectHooksHardeningFindings,
collectMinimalProfileOverrideFindings,
collectModelHygieneFindings,
collectNodeDenyCommandPatternFindings,
collectSandboxDockerNoopFindings,
collectSecretsInConfigFindings,
collectSmallModelRiskFindings,
collectSyncedFolderFindings,
type SecurityAuditFinding,
} from "./audit-extra.sync.js";
// Async collectors
export {
collectIncludeFilePermFindings,
collectInstalledSkillsCodeSafetyFindings,
collectPluginsCodeSafetyFindings,
collectPluginsTrustFindings,
collectStateDeepFilesystemFindings,
readConfigSnapshotForAudit,
} from "./audit-extra.async.js";