자동 스캔 결과입니다. 설치 전에 소스를 확인하세요. 등급은 기능 범위를 나타내며 안전 인증이 아닙니다.
스캔이 완료되지 않았습니다.외부 의존성 스캔 안 됨:; 외부 의존성 스캔 안 됨: fs 표시된 등급은 하한선이며, 분석하지 못한 부분에는 더 높은 권한이 있을 수 있습니다.
감지 위치 보기 (76)
파일 읽기 · 줄444 줄plugin/hooks/register.tsxconst stat = await $.fs.stat(dir, { resolve: true })
파일 쓰기 · 줄688 줄plugin/hooks/register.tsxawait $.fs.write(`${await debugDirOf($)}/${name}.json`, `${JSON.stringify(state, null, 2)}\n`)
도구 호출 가로채기 · 줄898 줄plugin/hooks/register.tsxconst ran = await $.tool.call({ tool: call.tool, ...call.input } as unknown as Parameters<EngineInterface['tool']['call']>[0])
프롬프트 제출 · 줄1063 줄plugin/hooks/register.tsxvoid $.prompt.submit({ text: said, asUser: true }).then(
명령 실행 · 줄1176 줄plugin/hooks/register.tsxconst first = /^.*?[.!?](?=\s|$)/.exec(said)?.[0] ?? said
프롬프트 제출 · 줄1234 줄plugin/hooks/register.tsxvoid $.prompt.submit({ text: prompt, asUser: true }).then(
파일 읽기 · 줄1602 줄plugin/hooks/register.tsxconst stat = await $.fs.stat(path)
파일 읽기 · 줄1604 줄plugin/hooks/register.tsxreturn $.fs.read(path)
파일 읽기 · 줄1867 줄plugin/hooks/register.tsxkeep(await $.fs.read(path))
파일 읽기 · 줄1915 줄plugin/hooks/register.tsxconst text = await $.fs.read(`${root}/web/fixtures/state.v2.json`)
환경 변수 · 줄1974 줄plugin/hooks/register.tsxoverride: await read(() => $.env.get('APIARIUS_SESSIONS')),
환경 변수 · 줄1975 줄plugin/hooks/register.tsxapiariusHome: await read(() => $.env.get('APIARIUS_HOME')),
환경 변수 · 줄1976 줄plugin/hooks/register.tsxconfigDir: await read(() => $.env.get('CLAUDE_CONFIG_DIR')),
환경 변수 · 줄1977 줄plugin/hooks/register.tsxhome: (await read(() => $.env.get('USERPROFILE'))) ?? (await read(() => $.env.get('HOME'))),
환경 변수 · 줄1978 줄plugin/hooks/register.tsxwtSession: await read(() => $.env.get('WT_SESSION')),
환경 변수 · 줄1979 줄plugin/hooks/register.tsxtermProgram: await read(() => $.env.get('TERM_PROGRAM')),
파일 쓰기 · 줄1983 줄plugin/hooks/register.tsxwrite: (path, text) => $.fs.write(path, text),
파일 읽기 · 줄1984 줄plugin/hooks/register.tsxlist: path => $.fs.list(path),
파일 읽기 · 줄1985 줄plugin/hooks/register.tsxstat: path => $.fs.stat(path),
명령 실행 · 줄1988 줄plugin/hooks/register.tsxnode: args => $.process.run(['node', ...args], { timeoutMs: 10_000, ...(nodeCwd() ? { cwd: nodeCwd() } : {}) }),
도구 호출 가로채기 · 줄2612 줄plugin/hooks/register.tsxon('tool.call', async ($, e, next) => {
파일 읽기 · 줄2764 줄plugin/hooks/register.tsxif (plan.trim() === '' && typeof record?.filePath === 'string' && record.filePath !== '') plan = await $.fs.read(record.filePath)
명령 실행 · 줄589 줄plugin/hooks/background.tsconst lead = CHDIR.exec(rest) ?? PS_ASSIGN.exec(rest) ?? ASSIGN.exec(rest) ?? JOIN.exec(rest)
명령 실행 · 줄397 줄plugin/hooks/model.tsconst suffix = / \d+$/.exec(label)?.[0] ?? ''
명령 실행 · 줄407 줄plugin/hooks/model.tsconst found = /^([^:]{1,18}?)\s*(?::\s+|\s[-–—]\s+)(\S.*)$/.exec(oneLine(description))
명령 실행 · 줄1343 줄plugin/hooks/model.tsconst named = /permission to use (.+)$/i.exec(message.trim())?.[1]?.trim().toLowerCase()
명령 실행 · 줄1460 줄plugin/hooks/model.tsconst said = new RegExp(`<${name}>([\\s\\S]*?)</${name}>`).exec(body)?.[1]?.trim()
명령 실행 · 줄2119 줄plugin/hooks/model.tsfor (let found = stops.exec(line); found; found = stops.exec(line)) {
명령 실행 · 줄2507 줄plugin/hooks/model.tsfor (let start = PASTE_START.exec(rest); start; start = PASTE_START.exec(rest)) {
명령 실행 · 줄2511 줄plugin/hooks/model.tsconst next = ownAt >= 0 ? null : PASTE_END.exec(body)
명령 실행 · 줄2574 줄plugin/hooks/model.tsconst name = ECHO_NAME.exec(text)?.[1]
명령 실행 · 줄2575 줄plugin/hooks/model.tsreturn name ? commandOf({ name, args: ECHO_ARGS.exec(text)?.[1] ?? '' }) : ''
명령 실행 · 줄3057 줄plugin/hooks/model.tsconst head = /^\s{0,3}(#{1,6})\s+(.*?)\s*#*\s*$/.exec(raw)
명령 실행 · 줄3062 줄plugin/hooks/model.tsconst numbered = /^(\s*)\d+[.)]\s+(.*)$/.exec(raw)
명령 실행 · 줄3067 줄plugin/hooks/model.tsconst bullet = /^(\s*)[-*+]\s+(?:\[[ xX]\]\s+)?(.*)$/.exec(raw)
명령 실행 · 줄3174 줄plugin/hooks/model.tsconst found = /^[\w$.+-]+/.exec(s.slice(i, i + 256))?.[0]
명령 실행 · 줄3248 줄plugin/hooks/model.tsconst found = /\bmeta\s*=\s*\{/.exec(script)
명령 실행 · 줄3701 줄plugin/hooks/model.tsconst tool = isPermission ? /permission to use (.+)$/i.exec(needs.text.trim())?.[1]?.trim() : undefined
명령 실행 · 줄3882 줄plugin/hooks/model.tsconst found = /<([a-z][\w-]*-message)\b([^>]*)>([\s\S]*?)<\/\1>/i.exec(text)
명령 실행 · 줄3885 줄plugin/hooks/model.tsconst from = /\b(?:from|sender|teammate_id|teammate)\s*=\s*"([^"]*)"/i.exec(found[2] ?? '')?.[1]?.trim()
명령 실행 · 줄280 줄plugin/hooks/web.tsconst family = /^([a-z]+)-(\d+)-(\d+)$/.exec(name)
명령 실행 · 줄282 줄plugin/hooks/web.tsconst old = /^(\d+)-(\d+)-([a-z]+)$/.exec(name)
명령 실행 · 줄284 줄plugin/hooks/web.tsconst major = /^(\d+)-([a-z]+)$/.exec(name)
명령 실행 · 줄1797 줄plugin/hooks/web.tsconst at = /^@(\S+)\s*([\s\S]*)$/.exec(said)
명령 실행 · 줄2025 줄plugin/hooks/web.tsreturn /^[pf]-([0-9a-f]{16})(?:-[0-9a-f]{8})?-[0-9a-f]{32}$/.exec(ticket)?.[1] ?? ''
명령 실행 · 줄694 줄plugin/hooks/inspect.tsconst home = /^(?:[A-Za-z]:)?\/(?:Users|home)\/[^/]+(\/.*)$/i.exec(slashed)
환경 변수 · 줄101 줄plugin/hooks/webServer.tsoverride: await read(() => $.env.get('APIARIUS_SESSIONS')),
환경 변수 · 줄102 줄plugin/hooks/webServer.tsapiariusHome: await read(() => $.env.get('APIARIUS_HOME')),
환경 변수 · 줄103 줄plugin/hooks/webServer.tsconfigDir: await read(() => $.env.get('CLAUDE_CONFIG_DIR')),
환경 변수 · 줄104 줄plugin/hooks/webServer.tshome: (await read(() => $.env.get('USERPROFILE'))) ?? (await read(() => $.env.get('HOME'))),
명령 실행 · 줄116 줄plugin/hooks/webServer.tsconst ran = await $.process.run(W.homeArgvOf(`${$.plugin.root.replace(/[\\/]+$/, '')}/web/home.js`, request), { timeoutMs: 10_000, ...(nodeCwd() ? { cwd: nodeCwd() } : {}) })
파일 쓰기 · 줄359 줄plugin/hooks/webServer.tsawait $.fs.write(path, text)
명령 실행 · 줄426 줄plugin/hooks/webServer.tsconst ran = await $.process.run(['node', '-p', 'process.ppid'], { timeoutMs: 10_000, ...(nodeCwd() ? { cwd: nodeCwd() } : {}) })
명령 실행 · 줄515 줄plugin/hooks/webServer.tslet ran = await spawnWeb($, W.serverArgvOf(script, web.dir, web.pid, web.port, SR.registryDir()))
명령 실행 · 줄518 줄plugin/hooks/webServer.tsran = await spawnWeb($, W.serverArgvOf(script, web.dir, web.pid, 0, SR.registryDir()))
명령 실행 · 줄561 줄plugin/hooks/webServer.tsasync function spawnWeb($: EngineInterface, argv: readonly string[]): Promise<WebRun> {
명령 실행 · 줄570 줄plugin/hooks/webServer.tsconst child = $.process.spawn({ argv, input: `${web.secret}\n`, ...(nodeCwd() ? { cwd: nodeCwd() } : {}) })
도구 호출 가로채기 · 줄815 줄plugin/hooks/webServer.tsconst called = await $.tool.call({ tool: 'mcp__Claude_Browser__preview_start', url } as unknown as Parameters<EngineInterface['tool']['call']>[0])
명령 실행 · 줄961 줄plugin/hooks/webServer.tsconst ran = await $.process.run(['node', `${$.plugin.root.replace(/[\\/]+$/, '')}/web/open.js`], { stdin: `${W.webUrlOf(web.port, ticket)}\n`, timeoutMs: 10_000, ...(nodeCwd() ? { cwd: nodeCwd() } : {
파일 읽기 · 줄124 줄plugin/hooks/gitRunner.tsreturn { place, stat: await $.fs.stat(joinPath(root, place)) }
파일 읽기 · 줄146 줄plugin/hooks/gitRunner.tstexts.push(await $.fs.read(one.abs))
환경 변수 · 줄181 줄plugin/hooks/gitRunner.tsif (userHome === null) userHome = ((await $.env.get('USERPROFILE').catch(() => undefined)) ?? (await $.env.get('HOME').catch(() => undefined)) ?? '').trim()
명령 실행 · 줄228 줄plugin/hooks/gitRunner.tsconst ran = await $.process.run(argv, { env: G.GIT_ENV, timeoutMs: ms })
파일 읽기 · 줄294 줄plugin/hooks/gitRunner.tsnames = R.childDirsOf(await $.fs.list(dir))
파일 읽기 · 줄303 줄plugin/hooks/gitRunner.tsconst stat = await $.fs.stat(R.childOf(R.childOf(dir, name), '.git'))
파일 읽기 · 줄393 줄plugin/hooks/gitRunner.tsconst stat = await $.fs.stat(root, { resolve: true })
파일 읽기 · 줄422 줄plugin/hooks/gitRunner.tsconst stat = await $.fs.stat(abs, { resolve: true })
명령 실행 · 줄463 줄plugin/hooks/gitRunner.tsconst ran = await $.process.run(FB.filesArgvOf(script), { stdin: FB.requestTextOf({ root, paths, most, textMost }), timeoutMs: 15_000, ...(nodeCwd() ? { cwd: nodeCwd() } : {}) })
명령 실행 · 줄31 줄plugin/hooks/diff.tsconst header = HEADER.exec(line)
명령 실행 · 줄183 줄plugin/hooks/diff.tsconst match = /^diff --git a\/(.*) b\/(.*)$/.exec(line)
명령 실행 · 줄265 줄plugin/hooks/git.tsconst match = /^filter\.(.+)\.([^.]+)$/i.exec(key)
명령 실행 · 줄457 줄plugin/hooks/git.tsconst match = /^(-|\d+)\t(-|\d+)\t([\s\S]*)$/.exec(part)
명령 실행 · 줄514 줄plugin/hooks/git.tsconst files = /(\d+) files? changed/.exec(text)
명령 실행 · 줄515 줄plugin/hooks/git.tsconst added = /(\d+) insertions?\(\+\)/.exec(text)
명령 실행 · 줄516 줄plugin/hooks/git.tsconst removed = /(\d+) deletions?\(-\)/.exec(text)
명령 실행 · 줄91 줄plugin/hooks/ui/v2/fit.tsconst share = typeof width === 'string' ? /^(\d+(?:\.\d+)?)%$/.exec(width) : null