본문으로 건너뛰기
Skillpedia
보안81k · #1684

analyze-app

하는 일

이 스킬은 소유하거나 사용권을 가진 JavaScript 또는 Electron 앱의 소스를 읽고 기능의 동작을 설명합니다. 사용이 허가된 코드로 기능을 이해하거나 다시 만들려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓내 앱의 기능이 어떻게 만들어졌는지 이해하고 싶을 때.
  • ✓사용권이 있는 앱의 소스를 바탕으로 기능을 다시 만들고 싶을 때.
  • ✓Electron 앱의 모듈과 연결 관계를 지도로 보고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 Electron 앱의 내보내기 기능이 어떻게 동작하는지 파일과 줄 번호를 붙여 설명해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 먼저 사용자가 코드를 검토할 권한이 있는지 확인합니다. 그다음 앱을 실행하지 않고 파싱해서 모듈과 연결 관계를 지도로 만들고, 설명한 기능의 코드를 찾아 각 발견 사항에 참조를 붙입니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Analyze App (ruRE — JS/Electron and native-binary and .NET static analysis)

Uses the ruRE tools (server ruflo-rure): rure_extract_asar, rure_analyze_js_app, rure_find_feature, rure_analyze_binary, rure_analyze_dotnet, rure_analyze_evm, rure_analyze_cuda, rure_cuda_launch_plan.

Authorization check — do first, every time. This skill is for understanding and reimplementing functionality you're authorized to study: your own application, a target you've properly licensed, or an explicit CTF/security-research context. If that isn't clearly the case, say so and stop before calling any tool. Refuse requests aimed at circumventing DRM, license checks, anti-tamper mechanisms, or paid-feature gates — reframe or decline those, don't attempt a workaround.

  1. If the target is a packaged .asar file, call rure_extract_asar first and use its unpackedPath for the next step. If truncated: true came back, the archive exceeded the size/file-count cap — tell the user and stop; do not attempt a partial analysis.
  2. Call rure_analyze_js_app on the directory. This returns modules, an import/export graph, and Electron process-boundary findings (main vs. renderer, ipcMain/ipcRenderer/contextBridge usage) — every finding carries a file + line-range evidence pointer.
  3. If the user described a specific feature, call rure_find_feature with that description to narrow down where it likely lives, rather than reading the whole analysis.
  4. When explaining a feature, always cite the evidence (file + line range) the tools returned — never assert how something works without a source pointer.
  5. If a snippet in the tool output says redacted or is the literal string [content redacted by AIDefence — threat or PII detected], say explicitly that part of the analysis was withheld; do not guess at what it might have said.
  6. When asked to "build a version for my project," propose an original implementation informed by the understanding gained — not a copy of the analyzed code — and say so.
  7. For a native ELF/PE/Mach-O file (for example a .node addon or helper executable bundled with the app), call rure_analyze_binary for its format, architecture, sections, linked libraries and imported/exported symbols. It inspects the container only: it does not disassemble, and it never runs the file. A non-empty warnings array means part of the file was malformed or out of range; report that rather than filling the gap.
  8. For a managed .NET assembly (.dll/.exe with a CLR header), call rure_analyze_dotnet for its assembly references, types, P/Invoke native imports and string literals. It reads metadata only: no IL disassembly, nothing is loaded or run. isManaged: false means the file is native; use rure_analyze_binary instead.
  9. For EVM contract bytecode (inline hex or a file), call rure_analyze_evm for the exposed selectors, hazardous opcodes, embedded addresses and topics, proxy status and revert strings. Report hazardous opcodes as inventory, not as vulnerabilities, and say when selector names are missing because the selector is not in the small built-in table. It cannot tell you whether anything is exploitable.
  10. For a CUDA program (a host ELF/PE that carries a .nv_fatbin section, or a standalone .fatbin, .cubin or .ptx), call rure_analyze_cuda for the fatbin entries (PTX or cubin, target sm_NN, compression), each kernel's mangled name, code size, register count and constant/shared/local memory, and the PTX version, target and kernel names. Use rure_analyze_binary first when it is not known whether a file holds CUDA code (its sections will include .nv_fatbin). It parses only: no SASS decoding, nothing run, no CUDA toolkit needed. An entry that says read: false was compressed and could not be read (its note says why, for example a Node without zstd); say so rather than inferring its contents. Register counts and instruction estimates are inventory, not performance claims.
  11. To decide what to benchmark in a CUDA program, call rure_cuda_launch_plan on the same file (ADR-501): per kernel and architecture it works out theoretical occupancy at several block sizes (which resource limits it: registers, shared memory, warps or block slots), the block sizes that reach the most, and flags (local memory, register- or shared-memory-limited). Pass dynamicSharedBytes if the launch will use dynamic shared memory (it is not in the file), and includeHarness: true to also get the text of a s
자주 묻는 질문

앱을 실행하나요?

아니요. 원본에 따르면 이 스킬은 코드를 파싱할 뿐 대상을 실행하지 않습니다.

라이선스 확인을 우회하는 데 도움이 되나요?

아니요. 이 스킬은 DRM, 라이선스 확인, 유료 기능 제한을 우회하는 요청을 거절합니다.

압축 파일이 너무 크면 어떻게 하나요?

이 스킬은 부분 분석을 내놓지 않고, 너무 크다고 말하고 멈춥니다.

상세 정보

작성자의 원본 설명

Statically inspect a local JavaScript or Electron app you are authorized to study and explain how a feature works with file+line evidence. Use when the user wants to understand or reimplement a feature from an app whose source they have. Parses only; never executes the target.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1684
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬