registry  /  @arcgis/portal-components  /  5.1.9

@arcgis/portal-components@5.1.9

ArcGIS Portal Components

Static Scan Results

scanned 6d ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessDynamicRequireEnvironmentVarsNetwork
Supply chain
HighEntropyStringsMinifiedObfuscatedProtestwareUrlStrings
Manifest
NoLicense
scanned 92 file(s), 1.92 MB of source, external domains: apac.smith.langchain.com, api.openai.com, api.smith.langchain.com, auth.openai.com, aws.smith.langchain.com, beta.smith.langchain.com, dev.smith.langchain.com, docs.expo.dev, docs.langchain.com, eu.smith.langchain.com, github.com, help.openai.com, js.arcgis.com, js.langchain.com, json-schema.org, platform.openai.com, smith.langchain.com, status.arcgis.com, www.arcgis.com, www.w3.org

Source & flagged code

3 flagged · loading source
dist/cdn/VX5R3DJI.jsView file
8\u2514-> https://js.langchain.com/docs/how_to/custom_tools#tool-function`,` L9: `].join(" "));let n=await xl(r),o=n?.getParentRunId();n!==void 0&&o!==void 0&&await n.handleCustomEvent?.(t,e,o)}var ee=async(t,e)=>{await Ma("trace_message",t,e)},_e=async(t,e)=>{... L10:
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/cdn/VX5R3DJI.jsView on unpkg · L8
dist/cdn/YJK6JAPE.jsView file
1/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */ L2: import{a as vn,b as bn,c as pa}from"./CFDTXKJ6.js";var cS=vn((q9,sS)=>{"use strict";sS.exports=function(e,t){if(typeof e!="string")throw new TypeError("Expected a string");return t... L3: L4: Troubleshooting URL: https://docs.langchain.com/oss/javascript/langgraph/${t.lc_error_code}/ L5: `),super(r),this.lc_error_code=t?.lc_error_code}},Xm=class extends Jr{get is_bubble_up(){return!0}},Ym=class extends Jr{constructor(e,t){super(e,t),this.name="GraphRecursionError"}... L6: L7: Troubleshooting URL: https://docs.langchain.[redacted]/${t}/ L8: `,e}var Nl=MS.sub("error"),yh=class extends Nl.brand(Error){name="LangChainError";constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},... L9: `)}var bh=Symbol.for("langchain.message");function YS(e){return Array.isArray(e)?e:typeof e=="string"?e===""?[]:[{type:"text",text:e}]:e==null?[]:[e]}function At(e,t){if(typeof e==... ... L20: Received: ${JSON.stringify(e,null,2)}`),"MESSAGE_COERCION_FAILURE")}}function St(e){if(typeof e=="string")return new Ye(e);if(Je(e))return e;if(Array.isArray(e)){let[t,r]=e;retu
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

dist/cdn/YJK6JAPE.jsView on unpkg · L1
dist/cdn/assets/portal-item-thumbnail/urbanmodel.avifView file
path = dist/cdn/assets/portal-item-thumbnail/urbanmodel.avif kind = high_entropy_blob sizeBytes = 39345 magicHex = [redacted]
High
Ships High Entropy Blob

Package ships high-entropy non-source blobs.

dist/cdn/assets/portal-item-thumbnail/urbanmodel.avifView on unpkg

Findings

2 High5 Medium4 Low
HighCloud Metadata Accessdist/cdn/YJK6JAPE.js
HighShips High Entropy Blobdist/cdn/assets/portal-item-thumbnail/urbanmodel.avif
MediumDynamic Requiredist/cdn/VX5R3DJI.js
MediumNetwork
MediumEnvironment Vars
MediumProtestware
MediumStructural Risk Force Deep Review
LowObfuscated
LowHigh Entropy Strings
LowUrl Strings
LowNo License