Skip to content

JS: Model Sails Action2 inputs as remote sources#22142

Open
theinfosecguy wants to merge 1 commit into
github:mainfrom
theinfosecguy:js-sails-action2-inputs
Open

JS: Model Sails Action2 inputs as remote sources#22142
theinfosecguy wants to merge 1 commit into
github:mainfrom
theinfosecguy:js-sails-action2-inputs

Conversation

@theinfosecguy

Copy link
Copy Markdown

Fixes #21773.

This adds a Sails Action2 controller model for bulk-exported action objects under api/controllers. Declared inputs property reads from the action fn parameter are treated as server request parameters, while helper-shaped modules outside controllers and undeclared input reads are not modeled.

Validation:

  • codeql test run javascript/ql/test/library-tests/frameworks/Sails javascript/ql/test/query-tests/Security/CWE-022/TaintedPath --search-path=/Users/keshavmalik/Documents/codeql --threads=0
  • git diff --check

@theinfosecguy theinfosecguy requested review from a team as code owners July 9, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Javascript: js/path-injection misses Sails Action2 request-derived inputs

1 participant