MCPcopy Create free account

hub / github.com/antgroup/agent-aegis / functions

Functions667 in github.com/antgroup/agent-aegis

↓ 4 callersFunctionmatchesUnsafeLine
( lines: string[], patterns: readonly RegExp[], compactPatterns: readonly RegExp[] = [], )
src/scan-worker.ts:31
↓ 4 callersFunctionmatchesUnsafeLine
(lines, patterns, compactPatterns = [])
src/scan-worker.js:15
↓ 4 callersFunctionnormalizeToolParamsForGuard
(params)
src/rules.js:1274
↓ 4 callersFunctionnormalizeWhitespace
(value: string)
src/encoding-guard.ts:81
↓ 4 callersFunctionnormalizeWhitespace
(value)
src/encoding-guard.js:33
↓ 4 callersFunctionnoteTextSignals
(text: string | undefined, label: string)
src/rules.ts:1864
↓ 4 callersFunctionnoteTextSignals
(text, label)
src/rules.js:1337
↓ 4 callersMethodpeekRunSecurityState
(runId)
src/state.js:470
↓ 4 callersMethodpeekRunToolCalls
(runId)
src/state.js:457
↓ 4 callersMethodpersistTrustedSkills
()
src/state.js:169
↓ 4 callersMethodrecordFailure
(error: unknown, meta?: Record<string, unknown>)
src/scan-service.ts:243
↓ 4 callersMethodrecordFailure
(error, meta)
src/scan-service.js:151
↓ 4 callersMethodrememberSkillAssessment
(record)
src/state.js:230
↓ 4 callersFunctionrequest
(path: string, init?: RequestInit, retried = false)
web/frontend/src/api/client.ts:48
↓ 4 callersFunctionresolveClawAegisPluginConfig
(api)
src/config.js:288
↓ 4 callersFunctionserializeLogMeta
(meta)
src/handlers.js:160
↓ 4 callersFunctionserializeLogMeta
(meta: Record<string, unknown> | undefined)
src/handlers.ts:263
↓ 3 callersFunctionapplyTextSanitizer
(text: string)
src/rules.ts:2755
↓ 3 callersFunctionapplyTextSanitizer
(text)
src/rules.js:2057
↓ 3 callersFunctionbuildMemoryWriteText
( toolName: string, params: Record<string, unknown>, )
src/rules.ts:1489
↓ 3 callersFunctionbuildMemoryWriteText
(toolName, params)
src/rules.js:1104
↓ 3 callersFunctionbuildObservedSecretVariants
(secret)
src/encoding-guard.js:488
↓ 3 callersFunctioncollectPatternRiskFlags
( text: string, rules: readonly PatternRiskRule[], )
src/rules.ts:469
↓ 3 callersFunctioncollectPatternRiskFlags
(text, rules)
src/rules.js:323
↓ 3 callersFunctioncompactGuardText
(value: string)
src/rules.ts:432
↓ 3 callersFunctioncompactGuardText
(value)
src/rules.js:301
↓ 3 callersFunctioncontainsSecretReference
(text: string | undefined)
src/rules.ts:505
↓ 3 callersFunctioncontainsSecretReference
(text)
src/rules.js:341
↓ 3 callersMethodfallbackToInlineScan
(reason: string)
src/scan-service.ts:192
↓ 3 callersMethodfallbackToInlineScan
(reason)
src/scan-service.js:105
↓ 3 callersFunctionflush
()
src/encoding-guard.ts:125
↓ 3 callersFunctionflush
()
src/encoding-guard.js:65
↓ 3 callersMethodgetDefenseEventsPath
()
web/api/src/services/state-service.ts:47
↓ 3 callersMethodgetEvents
(params?: { limit?: number; offset?: number; defense?: string; result?: string; })
web/api/src/services/event-service.ts:25
↓ 3 callersMethodgetOrCreateRunSecurityState
(runId, sessionKey, now)
src/state.js:373
↓ 3 callersMethodgetOrCreateRunSecurityState
( runId: string, sessionKey: string | undefined, now: number, )
src/state.ts:462
↓ 3 callersMethodgetSkillScanEventsPath
()
web/api/src/services/state-service.ts:51
↓ 3 callersFunctionhasSensitivePathOperation
(text: string)
src/rules.ts:1289
↓ 3 callersFunctionhasSensitivePathOperation
(text)
src/rules.js:946
↓ 3 callersMethodisCooldownActive
(now = this.now())
src/scan-service.ts:123
↓ 3 callersMethodisCooldownActive
(now = this.now())
src/scan-service.js:50
↓ 3 callersFunctionisHexChar
(char: string)
src/encoding-guard.ts:161
↓ 3 callersFunctionisHexChar
(char)
src/encoding-guard.js:99
↓ 3 callersFunctionisOutboundToolCall
( toolName: string, params: Record<string, unknown>, options?: { previous?: boolean }, )
src/rules.ts:1807
↓ 3 callersFunctionisOutboundToolCall
(toolName, params, options)
src/rules.js:1308
↓ 3 callersFunctionisRestrictedOpenClawBinary
(token: string | undefined)
src/rules.ts:1201
↓ 3 callersFunctionisRestrictedOpenClawBinary
(token)
src/rules.js:873
↓ 3 callersFunctionmatchesPatternRiskRule
(variants, rule)
src/rules.js:316
↓ 3 callersFunctionmatchesProtectedPathTarget
(candidatePath: string, protectedRoots: string[])
src/rules.ts:1310
↓ 3 callersFunctionmatchesProtectedPathTarget
(candidatePath, protectedRoots)
src/rules.js:952
↓ 3 callersFunctionnormalizeSensitiveKeyword
(value: string)
src/rules.ts:550
↓ 3 callersFunctionnormalizeSensitiveKeyword
(value)
src/rules.js:379
↓ 3 callersFunctionnormalizeStringArray
(value: unknown)
web/api/src/services/config-service.ts:158
↓ 3 callersFunctionnormalizeStringList
(value: unknown, resolvePath: (input: string) => string)
src/config.ts:286
↓ 3 callersFunctionnormalizeStringList
(value, resolvePath)
src/config.js:233
↓ 3 callersMethodnoteToolResult
(sessionKey, outcome)
src/state.js:259
↓ 3 callersFunctionparseApplyPatchPaths
(input: string)
src/rules.ts:1984
↓ 3 callersFunctionparseApplyPatchPaths
(input)
src/rules.js:1447
↓ 3 callersMethodreadPluginJson
()
web/api/src/services/config-service.ts:35
↓ 3 callersMethodresolveConfig
(userConfig: Record<string, unknown>)
web/api/src/services/config-service.ts:61
↓ 3 callersFunctionresolveProtectedPathCandidates
(toolName, params, baseDir = process.cwd())
src/rules.js:1615
↓ 3 callersFunctionsanitizeSensitiveOutputText
(text, options = {})
src/rules.js:549
↓ 3 callersFunctionscanSkillText
(text)
src/scan-worker.js:60
↓ 3 callersFunctionstringifyToolParamsForSearch
(params: Record<string, unknown>, budget = 4096)
src/rules.ts:1803
↓ 3 callersFunctionstringifyToolParamsForSearch
(params, budget = 4096)
src/rules.js:1305
↓ 3 callersFunctionutf8BufferLooksTextual
(buffer: Buffer)
src/encoding-guard.ts:296
↓ 3 callersFunctionutf8BufferLooksTextual
(buffer)
src/encoding-guard.js:217
↓ 2 callersFunctionappendRecord
(candidatePath: string, candidateText: string | undefined)
src/rules.ts:2467
↓ 2 callersFunctionappendRecord
(candidatePath, candidateText)
src/rules.js:1811
↓ 2 callersFunctionappendWithinBudget
(parts: string[], value: string, budget: number)
src/rules.ts:1415
↓ 2 callersFunctionappendWithinBudget
(parts, value, budget)
src/rules.js:1036
↓ 2 callersFunctionatomicWriteJson
(filePath, value)
src/state.js:36
↓ 2 callersFunctionatomicWriteJson
(filePath: string, value: unknown)
src/state.ts:72
↓ 2 callersFunctionboundedJsonStringify
( value: unknown, remainingBudget: number, options: { maxDepth: number; maxArrayItems: number;
src/rules.ts:1346
↓ 2 callersFunctionboundedJsonStringify
(value, remainingBudget, options = { maxDepth: TOOL_RESULT_MAX_DEPTH, maxArrayItems: TOOL_RESULT_MAX_A
src/rules.js:982
↓ 2 callersMethodbuildAssessment
( request: SkillScanRequest, result: SkillScanResult, skillId: string, )
src/scan-service.ts:158
↓ 2 callersMethodbuildAssessment
(request, result, skillId)
src/scan-service.js:80
↓ 2 callersFunctionbuildCommandCandidates
(command: string, baseDir = process.cwd())
src/rules.ts:1436
↓ 2 callersFunctionbuildCommandCandidates
(command, baseDir = process.cwd())
src/rules.js:1055
↓ 2 callersFunctionbuildDynamicPromptContext
(state)
src/rules.js:1584
↓ 2 callersFunctionbuildStaticSystemContext
(params)
src/rules.js:1563
↓ 2 callersMethodclearRunSecurityState
(runId)
src/state.js:494
↓ 2 callersMethodclearRunToolCalls
(runId)
src/state.js:491
↓ 2 callersFunctioncollectBaseSkillFindings
(text: string)
src/scan-worker.ts:71
↓ 2 callersFunctioncollectBaseSkillFindings
(text)
src/scan-worker.js:42
↓ 2 callersFunctioncollectScriptArtifactRecords
(toolName, params, context)
src/rules.js:1805
↓ 2 callersFunctioncollectSensitiveOutputValues
(text)
src/rules.js:493
↓ 2 callersFunctioncollectShellDeleteTargets
(tokens: string[], baseDir: string)
src/rules.ts:2017
↓ 2 callersFunctioncollectShellDeleteTargets
(tokens, baseDir)
src/rules.js:1478
↓ 2 callersMethodconsumePromptState
(sessionKey)
src/state.js:525
↓ 2 callersFunctiondefinePluginEntry
({ id, name, description, kind, configSchema, register, })
runtime-api.js:9
↓ 2 callersFunctionderiveSkillIdFromPath
(value)
src/state.js:24
↓ 2 callersFunctionderiveSkillIdFromPath
(value: string)
src/state.ts:59
↓ 2 callersFunctiondetectCandidateKind
(token: string)
src/encoding-guard.ts:277
↓ 2 callersFunctiondetectCandidateKind
(token)
src/encoding-guard.js:199
↓ 2 callersFunctiondetectHighRiskCommand
(command: string | undefined)
src/rules.ts:2330
↓ 2 callersFunctiondetectHighRiskCommand
(command)
src/rules.js:1708
↓ 2 callersFunctiondetectUserRiskFlags
(text)
src/rules.js:1556
↓ 2 callersFunctiondoWrite
()
src/handlers.js:244
↓ 2 callersFunctiondoWrite
()
src/handlers.ts:400
← previousnext →101–200 of 667, ranked by callers