FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: user input from actor in main.js by anupamme · Pull Request #1 · orgupdate/Apify-Upwork-Jobs-Scraper · GitHub

Repository navigation

fix: user input from actor in main.js - #1

Open
anupamme wants to merge 1 commit into
orgupdate:mainfrom
anupamme:fix-repo-apify-upwork-jobs-scraper-v-001-whitelist-api-input
Open

anupamme wants to merge 1 commit into
orgupdate:mainfrom
anupamme:fix-repo-apify-upwork-jobs-scraper-v-001-whitelist-api-input

Conversation

anupamme commented Sep 3, 2026

Copy link
Copy Markdown

Summary

Fix high severity security issue in main.js.

Vulnerability

Field Value
ID V-001
Severity HIGH
Scanner multi_agent_ai
Rule V-001
File main.js:39
Assessment Likely exploitable

Description: User input from Actor.getInput() is spread directly into an external API POST request without validation, sanitization, or field whitelisting. The spread operator (...input) passes all properties from user input to the external API, allowing injection of arbitrary parameters.

Evidence

Exploitation scenario: An attacker who can execute the Apify Actor provides malicious input via Actor.getInput() containing unexpected properties such as prototype pollution payloads or URL-like fields that the external.

Scanner confirmation: multi_agent_ai rule V-001 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a Node.js library - vulnerabilities affect downstream consumers who use this package.

Changes

  • main.js

Behavior Preservation

The change is scoped to 1 file on the vulnerable path.


Automated security fix by OrbisAI Security

Automated security fix generated by OrbisAI Security
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL