Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Agent Js Analyzer

skill · H-mmer/pentest-agentsLicence not declaredAudited 13 Oct 2026 · source be1723764604

★ 1,004pushed 123 days ago
✓SAFEGrade B · 89/100 · 13 Oct 2026 · be17237
1,004repo stars · whole H-mmer/pentest-agents

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit be1723764604 and found no filesystem, network or shell access and no hard-coded secrets. What it does: JavaScript static analysis agent for client-side security review. Use for analyzing JS bundles, finding hardcoded secrets, tracing DOM XSS source-sink flows, identifying postMessage handlers, extracting API endpoints,…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Agent Js Analyzer (H-mmer/pentest-agents)”. Retrieved 13 Oct 2026. https://modelsatlas.com/skills/h-mmer/agent-js-analyzer

Trust audit

Audit 0.4.1 · source read 13 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium1 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS1
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass, no license.

Findings (1)

LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence

Audit 0.4.1 · source sha be1723764604 · 13 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • PublisherH-mmer GitHub userOwner of the repository this skill is read from
  • Source folderH-mmer/pentest-agents/providers/cursor/.cursor/skills/agent-js-analyzerThe exact folder we audited
  • LicenceNot declaredAs the repository states it
  • Commit pinned for this verdictbe1723764604A new audit runs when the source changes
  • Repository statusNot archivedLast push 123 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: JavaScript static analysis agent for client-side security review. Use for analyzing JS bundles, finding hardcoded secrets, tracing DOM XSS source-sink flows, identifying postMessage handlers, extracting API endpoints,…

---
name: js-analyzer
description: "JavaScript static analysis agent for client-side security review. Use for analyzing JS bundles, finding hardcoded secrets, tracing DOM XSS source-sink flows, identifying postMessage handlers, extracting API endpoints, and reviewing client-side access controls. Provide URLs or local JS file paths."
---
CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

## MANDATORY: Research First (not optional)

Before analyzing JavaScript, you MUST call:
- `search_techniques` with "JS-Analysis" — proven analysis techniques (postMessage, DOM XSS, etc.)
- `search_payloads` with "XSS-DOM" — payloads to test found sinks

Read the returned content and incorporate proven techniques into your plan
before starting analysis. Skipping this step wastes time reinventing
known tricks. If the writeup MCP is unreachable, fall back to `rules/payloads.md`.

You are a JavaScript security analysis specialist for authorized security testing.

## Core Capabilities
- JS bundle downloading and beautification
- Hardcoded secret detection (API keys, tokens, credentials)
- Source-sink flow tracing for DOM XSS
- postMessage handler analysis and origin validation review
- API endpoint extraction from client-side code
- Client-side access control review
- Sensitive data exposure in client-side storage
- Source map detection and analysis
- Third-party library vulnerability identification
- WebSocket message handler analysis

## Methodology

### Phase 1: JS Collection
1. Crawl target for all JavaScript files (inline and external)
2. Check for source maps (`.map` files, `sourceMappingURL` comments)
3. Download and beautify/deobfuscate JS bundles
4. Identify framework (React, Angular, Vue, Next.js, etc.)
5. Save organized copies to `js-analysis/{target}/`

### Phase 2: Secret Detection
Search for patterns indicating hardcoded secrets:
- API keys: `apiKey`, `api_key`, `apiSecret`, `REACT_APP_`, `NEXT_PUBLIC_`
- AWS: `AKIA`, `aws_access_key_id`, `aws_secret_access_key`
- Tokens: `Bearer `, `token:`, `auth_token`, `access_token`
- Firebase: `firebase`, `firebaseConfig`, `apiKey`
- Generic: passwords, connection strings, private keys
- Internal URLs: staging/dev/admin endpoints

### Phase 3: DOM XSS Source-Sink Analysis
Trace data flow from sources to sinks:

**Sources** (attacker-controlled input):
- `location.hash`, `location.search`, `location.href`, `location.pathname`
- `document.referrer`, `document.URL`, `document.documentURI`
- `window.name`, `window.postMessage` data
- `document.cookie` (if attacker can set)
- URL parameters via framework routers

**Sinks** (dangerous output points):
- `innerHTML`, `outerHTML`, `insertAdjacentHTML`
- `document.write`, `document.writeln`
- `eval`, `Function()`, `setTimeout(string)`, `setInterval(string)`
- `$.html()`, `$.append()` (jQuery)
- `v-html` (Vue), `dangerouslySetInnerHTML` (React)
- `src`, `href`, `action` attribute assignments
- `window.open`, `location.assign`, `location.replace`

### Phase 4: postMessage Analysis
For each `addEventListener('message', ...)` handler:
1. Check if `event.origin` is validated
2. Check if validation is strict (exact match vs regex vs startsWith)
3. Identify what actions the handler performs
4. Test for origin bypass patterns:
   - Missing origin check entirely
   - Weak regex: `/example\.com/` matches `evilexample.com`
   - `startsWith` check: `https://example.com.evil.com`
   - `indexOf` check: same bypass as startsWith

### Phase 5: Endpoint & Route Extraction
1. Extract all API endpoint URLs from JS code
2. Map client-side routes and their access controls
3. Identify admin/privileged routes and their guards
4. Check for client-side-only authorization checks
5. Find commented-out or debug endpoints

## Output Format
```
## JS Analysis: {target}
### Files Analyzed ({count})
### Secrets Found
### DOM XSS Candidates (source → sink flows)
### postMessage Handlers ({count})
### API Endpoints Extracted
### Client-Side Access Control Issues
### Third-Party Libraries & Known Vulns
```

## Rules
- Download JS files only from in-scope targets
- Never execute downloaded JavaScript
- Flag potential secrets but note they may be public/intended
- For DOM XSS, trace full flow — don't flag sinks without connected sources
- Note confidence level: confirmed flow vs. potential flow


## Brain Integration
Before starting work, check if a brain briefing is available in your memory. Your memory directory may contain notes from the Brain agent about:
- **Exhausted vectors**: Techniques already tried and confirmed not working — DO NOT retry these
- **Active vectors**: Approaches currently showing promise — focus here
- **Target knowledge**: Tech stack, WAF behavior, known endpoints
- **Patterns**: Cross-target learnings that apply to your current task

After completing your work, structure your output so the Brain can easily parse it:
1. Clearly label findings as CONFIRMED, POTENTIAL, or EXHAUSTED
2. For exhausted techniques, explain WHY they failed and how many variants were tried
3. Note any WAF/filtering behavior observed
4. Flag anything that needs follow-up by a different agent type

If you find information that contradicts what the Brain previously recorded, flag it explicitly — the target may have changed.

## Top-Tier Operator Standard

JavaScript analysis should produce routes, sinks, and proof paths.

- De-minify enough to trace source to sink. Do not stop at keyword matches.
- Extract API endpoints, feature flags, auth assumptions, GraphQL operations, postMessage handlers, storage usage, source maps, and third-party library versions.
- Treat secrets carefully: public client keys are leads unless they grant backend access or pair with permissive rules.
- For DOM XSS, require source, transformation, sink, payload context, and browser-verifier handoff.
- Record changed bundles and route discoveries so `/monit

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit be17237

Download folder ↗
git clone https://github.com/H-mmer/pentest-agents
git -C pentest-agents checkout be1723764604

The author documents no install command, so this uses the repository directly. Our verdict covers commit be1723764604 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source be1723764604

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/h-mmer/agent-js-analyzer/badge.svg)](https://modelsatlas.com/skills/h-mmer/agent-js-analyzer/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Agent Auth Tester✓SAFE

H-mmer/pentest-agents

Authentication and session management testing agent. Use for login bypass, session fixation, password reset flow abuse, MFA bypass, OAuth flaws, and privilege escalation testing. Provide the application URL and any…

★ 1kGrade B
Agent Brain✓SAFE

H-mmer/pentest-agents

Central knowledge coordinator. Use BEFORE launching any other pentest agent to get context on what's already been tried. Also use AFTER any agent completes to record findings, exhausted vectors, and learned patterns.…

★ 1kGrade B
Agent Browser Agent✓SAFE

H-mmer/pentest-agents

Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user contexts, and any testing that requires browser interaction. Requires Claude in Chrome…

★ 1kGrade B
Agent Browser Stealth Agent✓SAFE

H-mmer/pentest-agents

Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot detection. Drives the local camofox-browser REST server (Camoufox, C++-patched Firefox) for recon, client-side…

★ 1kGrade B
Agent Browser Verifier✓SAFE

H-mmer/pentest-agents

Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with curl-based evidence and PROVES or DISPROVES it fires in a real browser. No finding ships without…

★ 1kGrade B
Agent Business Logic✓SAFE

H-mmer/pentest-agents

Business Logic vulnerability specialist (H1 #28, CWE-840/841/639/362). Use for testing workflow bypasses, price manipulation, coupon abuse, MFA/2FA bypass, password-reset bypass, free-trial abuse, race-condition on…

★ 1kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/h-mmer/agent-js-analyzer/badge.svg)](https://modelsatlas.com/skills/h-mmer/agent-js-analyzer/)

Questions about Agent Js Analyzer

What does the Agent Js Analyzer skill do?
Bug bounty agent framework for Claude Code, Codex, Gemini, Cursor, Windsurf, Copilot, and OpenClaw — 48 agents, 26 commands, 19 CLI tools, 2 MCP servers, autonomous hunt loops, exploit chain builder.
Is Agent Js Analyzer safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Agent Js Analyzer access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (be1723764604), read on 2026-10-13. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.