aquasecurity / aquasecurity/cloudsploit

RangeError: Invalid array length

Open
#322 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

root@ch:/usr/local/scans# ./index.js --config ./config.js --plugin maxPasswordAge

RangeError: Invalid array length
at /usr/local/scans/node_modules/tty-table/src/format.js:172:15
at Array.map ()
at Object.module.exports.wrapCellText (/usr/local/scans/node_modules/tty-table/src/format.js:156:35)
at Object.module.exports.buildCell (/usr/local/scans/node_modules/tty-table/src/render.js:287:39)
at /usr/local/scans/node_modules/tty-table/src/render.js:171:26
at Array.map ()
at Object.module.exports.buildRow (/usr/local/scans/node_modules/tty-table/src/render.js:170:13)
at /usr/local/scans/node_modules/tty-table/src/render.js:47:24
at Array.map ()
at Object.module.exports.stringifyData (/usr/local/scans/node_modules/tty-table/src/render.js:46:45)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with `./index.js --config ./config.js --plugin maxPasswordAge`, then inspect the stack path through `node_modules/tty-table/src/format.js:172` and `src/render.js`. Done means the maxPasswordAge scan completes without `RangeError` and renders its output successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.