Repository Analysis

alibaba/page-agent

JavaScript in-page GUI agent. Control web interfaces with natural language.

2.3 Likely human-written View on GitHub
2.3
Adjusted Score
2.3
Raw Score
100%
Time Factor
2026-05-28
Last Push
18,184
Stars
TypeScript
Language
38,988
Lines of Code
229
Files
26
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 16MEDIUM 0LOW 10

Pattern Findings

26 matches across 4 categories. Click a row to expand file-level details.

Magic Placeholder Names16 hits · 80 pts
SeverityFileLineSnippet
HIGHREADME.md70 apiKey: 'YOUR_API_KEY',
HIGHdocs/developer-guide.md57 LLM_API_KEY=your-api-key
HIGHdocs/README-zh.md69 apiKey: 'YOUR_API_KEY',
HIGHpackages/extension/docs/extension_api.md61 apiKey: 'your-api-key',
HIGH…ges/website/src/pages/docs/advanced/custom-ui/page.tsx251 apiKey: 'your-api-key',
HIGH…bsite/src/pages/docs/advanced/page-agent-core/page.tsx53 apiKey: 'your-api-key',
HIGH…es/website/src/pages/docs/advanced/page-agent/page.tsx59 apiKey: 'your-api-key',
HIGH…bsite/src/pages/docs/advanced/page-controller/page.tsx35 apiKey: 'your-api-key',
HIGH…bsite/src/pages/docs/advanced/page-controller/page.tsx61 apiKey: 'your-api-key',
HIGH…bsite/src/pages/docs/advanced/page-controller/page.tsx287 apiKey: 'your-api-key',
HIGH…bsite/src/pages/docs/introduction/quick-start/page.tsx109 apiKey: 'YOUR_API_KEY',
HIGH…site/src/pages/docs/features/chrome-extension/page.tsx235 apiKey: 'your-api-key',
HIGH…site/src/pages/docs/features/chrome-extension/page.tsx251 apiKey: 'your-api-key',
HIGH…ckages/website/src/pages/docs/features/models/page.tsx136 apiKey: 'your-api-key',
HIGH…ckages/website/src/pages/docs/features/models/page.tsx274 apiKey: 'your-api-key',
HIGH…ckages/website/src/pages/docs/features/models/page.tsx291 apiKey: 'your-api-key',
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippet
LOWpackages/extension/src/lib/history-export.ts10export function buildHistoryExportFilename(task: string, createdAt: number): string {
LOWpackages/extension/src/lib/history-export.ts46function formatTimestampForFilename(createdAt: number): string {
LOWpackages/page-controller/src/dom/dom_tree/index.js775 function doesElementHaveInteractivePointer(element) {
LOWpackages/page-controller/src/dom/dom_tree/index.js1256 function isHeuristicallyInteractive(element) {
LOWpackages/page-controller/src/dom/dom_tree/index.js1300 function isElementDistinctInteraction(element) {
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/build.js22// Step 1: cleanup
LOWscripts/build.js26// Step 2: build all in parallel
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippet
LOWpackages/ui/src/panel/Panel.ts41 #config: PanelConfig
LOWpackages/page-controller/src/actions.ts141 // Not supported:
LOWpackages/page-controller/src/dom/dom_tree/index.js1121 }