javascript-analysis

Analyze JavaScript assets to identify API endpoints, hardcoded secrets, and source maps.

846|152|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill javascript-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: javascript-analysis
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/reconnaissance/javascript-analysis
Command: npx skills add https://github.com/xalgord/xalgorix --skill javascript-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

JavaScript projects often expose API endpoints, hardcoded credentials, and source maps that attackers can leverage. This skill provides a structured approach to uncover endpoints, secrets, and source-map references directly from JavaScript assets to enhance security visibility.

Core Features & Use Cases

  • Endpoint discovery: extract API endpoints from JS files and related source maps to map application surface area.
  • Secrets detection: identify exposed keys, tokens, and credentials within JavaScript sources.
  • Source-map analysis: locate and interpret source maps to reveal original code for thorough security review.
  • Use Case: In a web application, run this skill against the deployed bundle to surface endpoints and potential secrets for remediation.

Quick Start

Scan a JavaScript bundle to identify endpoints, secrets, and source maps and output a concise report.

Frequently Asked Questions about javascript-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract API endpoints from JavaScript files for security analysis?

To extract API endpoints from JavaScript files for security analysis, you can scan deployed bundles and source maps to map the application surface area. This process identifies exposed routes directly from the minified or source-mapped JS assets.

What is the best way to detect hardcoded secrets and credentials in JavaScript bundles?

Detecting hardcoded secrets in JavaScript bundles involves analyzing the source code to identify exposed keys, tokens, and credentials. This targeted security scan reveals potential secret leakage within your web project's assets.

Can I use source maps to reveal original code during a vulnerability review?

Yes, you can use source maps to reveal original code during a vulnerability review. Source-map analysis locates and interprets these maps to trace minified JavaScript back to its original source for thorough security auditing.

What do I need to parse JavaScript assets and identify security vulnerabilities?

To parse JavaScript assets and identify security vulnerabilities, you need access to the JS files and source maps, along with basic tooling to fetch and parse these assets. This enables structured reporting of endpoints and secrets.

Are there limitations when scanning minified JavaScript for hidden API endpoints?

When scanning minified JavaScript for hidden API endpoints, limitations arise if source maps are unavailable, making it harder to trace original logic. Accurate endpoint discovery relies on parsing both the bundle and its associated source maps.