MCPcopy Create free account
hub / github.com/CloudAI-X/opencode-workflow / isSensitiveFile

Function isSensitiveFile

plugins/security-scan.ts:18–20  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

16]
17
18function isSensitiveFile(filePath: string): boolean {
19 return SENSITIVE_FILES.some((pattern) => pattern.test(filePath))
20}
21
22export const SecurityScanPlugin = async ({ $ }) => {
23 return {

Callers 1

SecurityScanPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected