api-security
Audited by Socket on May 11, 2026
18 alerts found:
AnomalySecurityx8Malwarex9No actual package source code was provided—only an exploitation/weaponization write-up with example GraphQL operations for auth bypass, SQL/NoSQL injection, JWT/token manipulation, and privilege escalation. As a result, specific supply-chain malware/backdoor/network exfiltration behavior cannot be verified. However, the content is strongly aligned with malicious operational intent and, if found in a dependency, would be cause for serious security review (risk of enabling unauthorized access or exploitation of vulnerable systems).
No software supply-chain malware can be inferred from this artifact because it is not package code—it's an exploitation write-up. However, it is highly actionable and centers on unauthorized invocation of privileged/destructive endpoints via exposed Swagger/OpenAPI documentation, indicating a serious authorization/documentation exposure issue in the described scenario. Treat any inclusion of such material in a repository/package as a high-security hygiene concern (and review provenance), but do not interpret it as evidence of embedded malware within a dependency.
No executable package code is present—this fragment is an attack/abuse guide for causing GraphQL denial-of-service via deep nesting, alias flooding, and batching (including potentially destructive mutations). While it lacks indicators of stealthy malware or exfiltration, its actionable nature makes it high risk if distributed as part of a dependency or documentation set, as it meaningfully enables availability disruption and possible integrity damage.
No direct malware/backdoor behavior is evident in the provided fragment; it does not show system compromise, data exfiltration, or persistence. However, it is explicitly actionable offensive guidance to enumerate and reconstruct a GraphQL schema using Apollo error-message suggestions, including an authenticated mode and automated generation of a reusable schema artifact. If this appears in a distributed dependency/repository, it constitutes a significant security misuse risk (recon/enumeration enablement), even though malware probability is low for this specific snippet.
No executable code is present; therefore there are no direct supply-chain malware behaviors to validate (no runtime execution, exfiltration, or backdoor mechanisms). However, the content is explicitly an offensive exploitation playbook for hidden HTTP method enumeration and authorization/privilege boundary abuse to tamper with protected API data and complete fraudulent transactions. If embedded in a dependency, it represents a high-risk misuse vector rather than traditional malware.
SUSPICIOUS. The skill is internally consistent, but its stated purpose is to equip an AI agent for offensive API security testing, including exploit techniques with real-world impact. There is no clear supply-chain or credential-theft behavior in the supplied text, yet the offensive capability itself makes this a high-risk skill.
This fragment is an attacker-oriented, highly actionable exploitation/testing playbook for attempting WebSocket authentication bypass and handshake manipulation by forging Origin/IP-related headers and spoofing session/CSRF-like token values. It provides concrete tool commands, success criteria, and minimal client code to reproduce the behavior. While it does not contain embedded malicious code (no library implementation is shown), its content substantially increases the ability to misuse weak WebSocket authentication/authorization in real deployments. No supply-chain embedded backdoor indicators are present because the input is not a package source module.
No package/library code was provided—only an offensive GraphQL CSRF/content-type confusion exploitation writeup with PoC payloads. Therefore, there is insufficient evidence to assess supply-chain malware within a dependency. The content is highly security-relevant for web application risk (state-changing GraphQL mutations under authenticated cookies without robust CSRF/Origin controls), but it does not demonstrate malicious code execution in an npm module.
No actual package code is provided; the content is a direct exploitation guide for REST path traversal that would enable internal API discovery and extraction of sensitive account-reset tokens (and subsequent password reset/account takeover) if similar vulnerable path-handling logic exists in the target application. As written, it is high-risk security guidance consistent with malicious intent, not benign functionality. For supply-chain purposes, this is strong evidence of exploitability of a specific weakness pattern, but it does not demonstrate that any dependency itself contains malware.
This fragment is an explicit offensive playbook for abusing an LLM-to-database SQL execution tool using prompt injection to bypass “safe query” guardrails, enabling SQLi-like data exfiltration (including password extraction patterns) and destructive/privilege-escalating database modifications. It also includes examples of database-native OS command execution (e.g., xp_cmdshell), indicating potential escalation beyond the database. Even if the snippet is “just instructions,” its inclusion would represent a serious supply-chain security risk by providing actionable exploitation guidance for a high-impact attack path.
This fragment is high-risk malicious content that enables evasion of GraphQL request-level rate limiting and scales guessing/brute-force attempts via aliased mutations (login, 2FA/OTP verification, and promo-code testing). It functions as an attack payload generator rather than benign application/library code. If present in a supply chain, it should be treated as intentionally harmful or for attacker tooling and rejected/quarantined.
The fragment is highly maliciously actionable offensive content: it is a payload/exploitation playbook for OS command injection via an LLM tool argument flowing into unsafe shell command execution, including clear paths to data theft (DNS/HTTP exfiltration), destructive actions, and reverse shells (Linux and Windows/PowerShell). No benign library behavior is evidenced because the provided content is not executable module code; nonetheless, its specificity and breadth of capability make it a serious security concern if present in a dependency or repository distributed to users.
This code fragment is an explicit, weaponized Mattermost exploitation PoC. It authenticates, triggers a custom slash-command dialog, recovers otherwise-redacted hidden dialog/webhook workflow details from a WebSocket open_dialog event, and then forges a submission to /api/v4/actions/dialogs/submit with attacker-controlled fields to induce server-side webhook/integration execution. This is highly indicative of malicious intent and dangerous behavior (potential SSRF/pivot/credential-capture outcomes depending on the configured webhook/plugin).
This fragment is unambiguously an offensive CSWSH exploit/payload generator. It establishes a cross-origin WebSocket connection and immediately exfiltrates sensitive received message contents (event.data) to an attacker-controlled endpoint using fetch() with no-cors, including a GET-based logging alternative. If present in a dependency or supply-chain artifact, it represents a critical data-theft risk and should be treated as malicious.
The content describes high-risk attack techniques (content-type confusion enabling XXE/SSRF and data exfiltration) that are actionable if enabled in a library or service. It should be treated as dangerous guidance requiring mitigations: disable DOCTYPE/XXE processing, enforce single content-type parsing, implement strict input validation, and consider safe parsers or content-type normalization before processing user input. The assessment warrants elevated security review for any dependencies or services that auto-dispatch on Content-Type and support multi-format parsing.
This fragment is an offensive WAF-bypass and exploitation playbook containing explicit SQL-injection-style payloads, tamper/evasion strategies, trust-boundary header spoofing, and framework middleware/rate-limit bypass guidance. While it does not demonstrate runtime malware in this snippet, its content is highly actionable for compromising applications and defeating defenses. As a supply-chain inclusion, it represents a severe misuse/malicious-inclusion risk.
The provided content is an explicit XSS exploitation payload and impact-oriented guidance document. It is designed to be used in a scenario where attacker-influenced LLM output is rendered into the DOM without sanitization, enabling JavaScript execution, sensitive data exfiltration (cookies/localStorage/DOM content), keylogging, and automated destructive actions (form submission/click), including examples of remote hook loading. If this fragment appears in any dependency or runtime-distributed asset, it is a severe security concern and should be treated as malicious or attacker-ready material.
The provided content is strongly indicative of malicious intent: it delivers an exploitation methodology and automation to abuse GraphQL IDOR for mass user enumeration and sensitive data extraction, and it includes example unauthorized mutations for account/resource takeover and deletion. No benign defensive or legitimate application logic is present. This should be treated as harmful exploit material rather than safe software.