maintainx-debug-bundle
Provides a comprehensive debugging toolkit for troubleshooting MaintainX integrations with detailed logging and diagnostic scripts.
Install this skill
Security score
The maintainx-debug-bundle skill was audited on Feb 28, 2026 and we found 40 security issues across 3 threat categories, including 1 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
Direct command execution function call
| 520 | npmVersion: execSync('npm --version').toString().trim(), |
Template literal with variable interpolation in command context
| 81 | message: `Cannot reach API: ${error.message}`, |
Template literal with variable interpolation in command context
| 92 | 'Authorization': `Bearer ${apiKey}`, |
Template literal with variable interpolation in command context
| 110 | message: `Authentication failed: HTTP ${status || error.message}`, |
Template literal with variable interpolation in command context
| 122 | message: `Node.js ${nodeVersion} (18+ recommended)`, |
Template literal with variable interpolation in command context
| 138 | console.log(`\n${category}:`); |
Template literal with variable interpolation in command context
| 143 | console.log(` ${icon} ${r.check}: ${r.message}`); |
Template literal with variable interpolation in command context
| 153 | console.log(`Passed: ${passed}, Failed: ${failed}, Warnings: ${warned}`); |
Template literal with variable interpolation in command context
| 194 | this.logFile = path.join(logDir, `maintainx-debug-${Date.now()}.json`); |
Template literal with variable interpolation in command context
| 201 | const requestId = `req_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`; |
Template literal with variable interpolation in command context
| 211 | url: `${config.baseURL}${config.url}`, |
Template literal with variable interpolation in command context
| 219 | console.log(`[${requestId}] ${entry.method} ${entry.url}`); |
Template literal with variable interpolation in command context
| 241 | console.log(`[${entry.requestId}] ${response.status} (${entry.duration}ms)`); |
Template literal with variable interpolation in command context
| 257 | console.error(`[${entry.requestId}] ERROR: ${error.response?.status || error.message}`); |
Template literal with variable interpolation in command context
| 287 | console.log(`Total requests: ${this.logs.length}`); |
Template literal with variable interpolation in command context
| 288 | console.log(`Log file: ${this.logFile}`); |
Template literal with variable interpolation in command context
| 292 | console.log(`\nErrors (${errors.length}):`); |
Template literal with variable interpolation in command context
| 294 | console.log(` - [${e.requestId}] ${e.method} ${e.url}: ${e.responseStatus || e.error}`); |
Template literal with variable interpolation in command context
| 305 | ```bash |
Template literal with variable interpolation in command context
| 392 | issue: `Overdue since ${dueDate.toLocaleDateString()}`, |
Template literal with variable interpolation in command context
| 456 | console.log(`ERRORS (${errors.length}):`); |
Template literal with variable interpolation in command context
| 457 | errors.forEach(i => console.log(` [${i.resource}:${i.resourceId}] ${i.issue}`)); |
Template literal with variable interpolation in command context
| 461 | console.log(`\nWARNINGS (${warnings.length}):`); |
Template literal with variable interpolation in command context
| 462 | warnings.forEach(i => console.log(` [${i.resource}:${i.resourceId}] ${i.issue}`)); |
Template literal with variable interpolation in command context
| 466 | console.log(`\nINFO (${infos.length}):`); |
Template literal with variable interpolation in command context
| 467 | infos.forEach(i => console.log(` [${i.resource}:${i.resourceId}] ${i.issue}`)); |
Template literal with variable interpolation in command context
| 470 | console.log(`\nTotal: ${errors.length} errors, ${warnings.length} warnings, ${infos.length} info`); |
Template literal with variable interpolation in command context
| 553 | const bundlePath = `maintainx-support-bundle-${Date.now()}.json`; |
Template literal with variable interpolation in command context
| 556 | console.log(`Support bundle generated: ${bundlePath}`); |
Node child_process module reference
| 498 | import { execSync } from 'child_process'; |
Access to .env file
| 46 | const apiKey = process.env.MAINTAINX_API_KEY; |
Access to .env file
| 516 | NODE_ENV: process.env.NODE_ENV || 'development', |
Access to .env file
| 517 | MAINTAINX_API_KEY: process.env.MAINTAINX_API_KEY ? '[SET]' : '[NOT SET]', |
External URL reference
| 69 | await axios.get('https://api.getmaintainx.com', { timeout: 5000 }); |
External URL reference
| 89 | 'https://api.getmaintainx.com/v1/users?limit=1', |
External URL reference
| 329 | BASE_URL="https://api.getmaintainx.com" |
External URL reference
| 486 | "https://api.getmaintainx.com/v1/workorders?limit=1" 2>&1 | tee maintainx-debug.log |
External URL reference
| 597 | - [MaintainX Help Center](https://help.getmaintainx.com/) |
External URL reference
| 598 | - [MaintainX API Status](https://status.getmaintainx.com) |
External URL reference
| 599 | - [MaintainX Community](https://community.getmaintainx.com/) |