
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@crowdstrike/graphics-core
Advanced tools
WebGL primitives and utility functions that power CrowdStrike's graphs.
Here are some shader fragment we include in our shaders, which THREE.js expands when compiling the shaders.
I've included them here to avoid having going to src/renderers/shaders/ShaderChunk/
, in the THREE.js repo and looking them up.
#ifdef USE_UV #ifdef UVS_VERTEX_ONLY vec2 vUv; #else varying vec2 vUv; #endif
uniform mat3 mapTransform; #endif
#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) attribute vec2 uv2; varying vec2 vUv2;
uniform mat3 uv2Transform; #endif
#ifdef USE_UV vUv = ( mapTransform * vec3( uv, 1 ) ).xy; #endif
#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; #endif
vec3 transformed = vec3(position);
vec4 mvPosition = vec4( transformed, 1.0 );
#ifdef USE_INSTANCING mvPosition = instanceMatrix * mvPosition; #endif
mvPosition = modelViewMatrix * mvPosition;
gl_Position = projectionMatrix * mvPosition;
#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) varying vec2 vUv; #endif
#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) varying vec2 vUv2; #endif
#ifdef USE_MAP uniform sampler2D map; #endif
#ifdef USE_MAP vec4 sampledDiffuseColor = texture2D( map, vUv ); #ifdef DECODE_VIDEO_TEXTURE // inline sRGB decode (TODO: Remove this code when https://crbug.com/1256340 is solved) sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb _ 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb _ 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); #endif diffuseColor *= sampledDiffuseColor; #endif
#ifdef PREMULTIPLIED_ALPHA // Get get normal blending with premultipled, use with CustomBlending, OneFactor, OneMinusSrcAlphaFactor, AddEquation. gl_FragColor.rgb *= gl_FragColor.a; #endif
FAQs
WebGL primitives and utility functions that power CrowdStrike's graphs.
The npm package @crowdstrike/graphics-core receives a total of 406 weekly downloads. As such, @crowdstrike/graphics-core popularity was classified as not popular.
We found that @crowdstrike/graphics-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.