T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it says for Amazon seller operations, but it includes live listing price changes with weak safeguards and handles sensitive seller data and credentials.
Review this before installing if the credentials can modify listings. Use least-privilege SP-API credentials, avoid enabling listing-write permission unless needed, pin and lock the npm dependency, store credentials with restrictive permissions, keep exports in a private directory, and do not run price updates without an external confirmation or dry-run process.
SKILL.md:15Unpinned Third-Party Dependency Installation
scripts/orders.js:64Sensitive Seller Data Written Through Unrestricted Output Paths
scripts/listings.js:36Insufficient Validation and Confirmation for Live Price Updates
The description presents a broad SP-API skill for operational seller tasks such as orders, inventory, listings, and pricing across marketplaces. This code chunk does not implement those capabilities. Instead, it provides authentication helpers and a connectivity test that lists marketplace participations for the configured seller account. While this may be a supporting component of such a skill, the supplied code's actual purpose is materially narrower than the declared description, so the description does not accurately represent this chunk on its own.
The description presents a broader multi-capability Amazon SP-API skill, but the supplied code only implements FBA inventory retrieval. It does not fetch orders, manage listings, or manage pricing in this chunk. Its actual behavior is specifically calling the FBA Inventory endpoint, displaying inventory summaries, and optionally exporting results to a local JSON file. While checking FBA inventory is consistent with part of the description, the declared description materially overstates what this code chunk does, so this should be flagged as a mismatch.
The supplied code is narrowly focused on the Orders API. It supports listing orders, retrieving a single order, and retrieving order items, plus optional file output. The description claims a broader multi-function SP-API skill that also checks FBA inventory and manages listings and pricing, but none of those capabilities appear in this code chunk. While over-broad descriptions can be acceptable if other chunks implement the missing features, based on this chunk alone the represented functionality is materially broader than the observed behavior. There are no suspicious undeclared capabilities beyond local file output of fetched data.
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `orders.js` — Orders
Referenced artifact was not completely inspected
### `inventory.js` — FBA Inventory
Referenced artifact was not completely inspected
### `inventory.js` — FBA Inventory
Referenced artifact was not completely inspected
### `inventory.js` — FBA Inventory
Referenced artifact was not completely inspected
### `inventory.js` — FBA Inventory
The skill references environment-variable based configuration (AMAZON_SPAPI_PATH) and operational scripts, but does not declare any explicit tool scope or permissions boundaries. In an agent ecosystem, missing scope declarations can lead to overbroad access assumptions and make it easier for the skill to read sensitive local configuration without clear user consent.
The documentation includes a listing update command that changes live marketplace pricing, but it does not clearly warn users that these actions affect production seller data. In an agent-driven workflow, insufficient warning increases the risk of unintended business-impacting changes, such as accidental repricing or listing modification.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
## Notes
- Tokens auto-refresh via LWA — no manual management
- Keep credential files at `chmod 600`
- Respect SP-API rate limits per endpoint
## Related
No suspicious patterns detected.