Files
openclaw/src/security/audit-extra.ts
2026-02-16 03:04:06 +01:00

36 lines
1.1 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,
collectSandboxDangerousConfigFindings,
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";