{"data":{"skill":{"slug":"cloudai-x-threejs-lighting","name":"threejs-lighting","icon":"📦","repo":"https://github.com/cloudai-x/threejs-skills/tree/0e181866f095b5f06d005133876e926515390d95/skills/threejs-lighting","status":"approved","author":"cloudai-x","authorVersion":null,"skillstoreRevision":1,"license":null},"licenseCorrection":null,"audit":{"id":"dafee2cf-1cdb-41ab-ae2b-f213ac41c544","skill_id":"74dc8b55-400f-42bf-a883-f16877ce5bdc","version":1,"content_hash":"v3:5a685fd3b2304f9e4cbf5164d3ac3186cd35324e:f12faf79625a7f42952124a5456d338e8399a65e16326c1a6a3239aa8e5ce489:01d56875e0b4ad0a29c584336d08a358b9aa533d7db752253f6baaa33c136b63:736b696c6c732f636c6f756461692d782f74687265656a732d6c69676874696e67:6c1a64fba68e2860efa62037046bb7fb","risk_level":"safe","is_blocked":false,"safe_to_publish":true,"analysis_status":"ok","agent_auto_install_policy":"allowed","manual_install_policy":"allowed","summary":"All 76 shell execution alerts match Markdown fences or inline Three.js examples, not shell or Ruby commands. The three reconnaissance alerts concern scene geometry and light probes, not host inspection. No evidence of prompt injection or unauthorized data access was found in SKILL.md.","remediation":[],"risk_factor_evidence":[{"factor":"external_commands","evidence":[{"file":"SKILL.md","line_end":54,"line_start":12},{"file":"SKILL.md","line_end":69,"line_start":54},{"file":"SKILL.md","line_end":69,"line_start":69},{"file":"SKILL.md","line_end":81,"line_start":73},{"file":"SKILL.md","line_end":85,"line_start":81},{"file":"SKILL.md","line_end":94,"line_start":85},{"file":"SKILL.md","line_end":98,"line_start":94},{"file":"SKILL.md","line_end":98,"line_start":98},{"file":"SKILL.md","line_end":107,"line_start":100},{"file":"SKILL.md","line_end":109,"line_start":107},{"file":"SKILL.md","line_end":109,"line_start":109},{"file":"SKILL.md","line_end":128,"line_start":113},{"file":"SKILL.md","line_end":130,"line_start":128},{"file":"SKILL.md","line_end":130,"line_start":130},{"file":"SKILL.md","line_end":152,"line_start":136},{"file":"SKILL.md","line_end":154,"line_start":152},{"file":"SKILL.md","line_end":158,"line_start":154},{"file":"SKILL.md","line_end":173,"line_start":158},{"file":"SKILL.md","line_end":175,"line_start":173},{"file":"SKILL.md","line_end":175,"line_start":175},{"file":"SKILL.md","line_end":204,"line_start":179},{"file":"SKILL.md","line_end":208,"line_start":204},{"file":"SKILL.md","line_end":208,"line_start":208},{"file":"SKILL.md","line_end":216,"line_start":210},{"file":"SKILL.md","line_end":218,"line_start":216},{"file":"SKILL.md","line_end":218,"line_start":218},{"file":"SKILL.md","line_end":246,"line_start":224},{"file":"SKILL.md","line_end":248,"line_start":246},{"file":"SKILL.md","line_end":248,"line_start":248},{"file":"SKILL.md","line_end":265,"line_start":252},{"file":"SKILL.md","line_end":267,"line_start":265},{"file":"SKILL.md","line_end":267,"line_start":267},{"file":"SKILL.md","line_end":285,"line_start":271},{"file":"SKILL.md","line_end":287,"line_start":285},{"file":"SKILL.md","line_end":287,"line_start":287},{"file":"SKILL.md","line_end":297,"line_start":289},{"file":"SKILL.md","line_end":301,"line_start":297},{"file":"SKILL.md","line_end":313,"line_start":301},{"file":"SKILL.md","line_end":317,"line_start":313},{"file":"SKILL.md","line_end":326,"line_start":317},{"file":"SKILL.md","line_end":328,"line_start":326},{"file":"SKILL.md","line_end":328,"line_start":328},{"file":"SKILL.md","line_end":338,"line_start":330},{"file":"SKILL.md","line_end":342,"line_start":338},{"file":"SKILL.md","line_end":354,"line_start":342},{"file":"SKILL.md","line_end":356,"line_start":354},{"file":"SKILL.md","line_end":367,"line_start":356},{"file":"SKILL.md","line_end":371,"line_start":367},{"file":"SKILL.md","line_end":390,"line_start":371},{"file":"SKILL.md","line_end":394,"line_start":390}]}],"critical_findings":[],"high_findings":[],"medium_findings":[],"low_findings":[],"dangerous_patterns":[],"files_scanned":1,"total_lines":484,"audit_model":"codex","audited_at":"2026-11-21T15:52:37.511+00:00","created_at":"2026-11-25T14:37:28.30451+00:00","static_findings":[{"id":"external_commands:SKILL.md:12:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":54,"severity":"medium","line_start":12},{"id":"external_commands:SKILL.md:54:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":69,"severity":"medium","line_start":54},{"id":"external_commands:SKILL.md:69:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"PointLight and SpotLight intensity is candela with inverse-square falloff (`decay` 2 by default): a ","category":"external_commands","line_end":69,"severity":"medium","line_start":69},{"id":"external_commands:SKILL.md:73:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":81,"severity":"medium","line_start":73},{"id":"external_commands:SKILL.md:81:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":85,"severity":"medium","line_start":81},{"id":"external_commands:SKILL.md:85:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":94,"severity":"medium","line_start":85},{"id":"external_commands:SKILL.md:94:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":98,"severity":"medium","line_start":94},{"id":"external_commands:SKILL.md:98:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"`SunLight` (`three/addons/lights/SunLight.js`) is a parallel light with two cascaded shadow maps, su","category":"external_commands","line_end":98,"severity":"medium","line_start":98},{"id":"external_commands:SKILL.md:100:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":107,"severity":"medium","line_start":100},{"id":"external_commands:SKILL.md:107:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":109,"severity":"medium","line_start":107},{"id":"external_commands:SKILL.md:109:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"The cascades are fitted automatically to slices of the camera's view frustum, up to `sun.shadow.came","category":"external_commands","line_end":109,"severity":"medium","line_start":109},{"id":"external_commands:SKILL.md:113:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":128,"severity":"medium","line_start":113},{"id":"external_commands:SKILL.md:128:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":130,"severity":"medium","line_start":128},{"id":"external_commands:SKILL.md:130:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"`angle` is the cone half-angle in radians with an upper bound of Math.PI / 2; `penumbra` (0 to 1) so","category":"external_commands","line_end":130,"severity":"medium","line_start":130},{"id":"external_commands:SKILL.md:136:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":152,"severity":"medium","line_start":136},{"id":"external_commands:SKILL.md:152:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":154,"severity":"medium","line_start":152},{"id":"external_commands:SKILL.md:154:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Under WebGPURenderer, register the LTC textures with `RectAreaLightTexturesLib` instead (see WebGPU ","category":"external_commands","line_end":158,"severity":"medium","line_start":154},{"id":"external_commands:SKILL.md:158:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":173,"severity":"medium","line_start":158},{"id":"external_commands:SKILL.md:173:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":175,"severity":"medium","line_start":173},{"id":"external_commands:SKILL.md:175:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"`shadow.radius` above 1 widens the PCF filter and the VSM blur; it has no effect with BasicShadowMap","category":"external_commands","line_end":175,"severity":"medium","line_start":175},{"id":"external_commands:SKILL.md:179:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":204,"severity":"medium","line_start":179},{"id":"external_commands:SKILL.md:204:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":208,"severity":"medium","line_start":204},{"id":"external_commands:SKILL.md:208:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"The renderer rebuilds these cameras on every shadow pass: a spot light's shadow fov is `2 × angle × ","category":"external_commands","line_end":208,"severity":"medium","line_start":208},{"id":"external_commands:SKILL.md:210:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":216,"severity":"medium","line_start":210},{"id":"external_commands:SKILL.md:216:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":218,"severity":"medium","line_start":216},{"id":"external_commands:SKILL.md:218:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Visualize a directional or spot light's shadow camera with `new THREE.CameraHelper(light.shadow.came","category":"external_commands","line_end":218,"severity":"medium","line_start":218},{"id":"external_commands:SKILL.md:224:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":246,"severity":"medium","line_start":224},{"id":"external_commands:SKILL.md:246:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":248,"severity":"medium","line_start":246},{"id":"external_commands:SKILL.md:248:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"For a blob that follows the object's silhouette, render depth from below into a render target and bl","category":"external_commands","line_end":248,"severity":"medium","line_start":248},{"id":"external_commands:SKILL.md:252:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":265,"severity":"medium","line_start":252},{"id":"external_commands:SKILL.md:265:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":267,"severity":"medium","line_start":265},{"id":"external_commands:SKILL.md:267:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Every light helper copies the light's color only in `update()`, and DirectionalLightHelper, SpotLigh","category":"external_commands","line_end":267,"severity":"medium","line_start":267},{"id":"external_commands:SKILL.md:271:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":285,"severity":"medium","line_start":271},{"id":"external_commands:SKILL.md:285:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":287,"severity":"medium","line_start":285},{"id":"external_commands:SKILL.md:287:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Both renderers light MeshStandardMaterial and MeshPhysicalMaterial from `scene.environment`; WebGLRe","category":"external_commands","line_end":287,"severity":"medium","line_start":287},{"id":"external_commands:SKILL.md:289:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":297,"severity":"medium","line_start":289},{"id":"external_commands:SKILL.md:297:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":301,"severity":"medium","line_start":297},{"id":"external_commands:SKILL.md:301:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":313,"severity":"medium","line_start":301},{"id":"external_commands:SKILL.md:313:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":317,"severity":"medium","line_start":313},{"id":"external_commands:SKILL.md:317:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":326,"severity":"medium","line_start":317},{"id":"external_commands:SKILL.md:326:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":328,"severity":"medium","line_start":326},{"id":"external_commands:SKILL.md:328:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"`LightProbeGenerator.fromCubeTexture(cubeTexture)` derives one synchronously from an already-loaded ","category":"external_commands","line_end":328,"severity":"medium","line_start":328},{"id":"external_commands:SKILL.md:330:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":338,"severity":"medium","line_start":330},{"id":"external_commands:SKILL.md:338:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":342,"severity":"medium","line_start":338},{"id":"external_commands:SKILL.md:342:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":354,"severity":"medium","line_start":342},{"id":"external_commands:SKILL.md:354:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":356,"severity":"medium","line_start":354},{"id":"external_commands:SKILL.md:356:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":367,"severity":"medium","line_start":356},{"id":"external_commands:SKILL.md:367:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":371,"severity":"medium","line_start":367},{"id":"external_commands:SKILL.md:371:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":390,"severity":"medium","line_start":371},{"id":"external_commands:SKILL.md:390:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":394,"severity":"medium","line_start":390},{"id":"external_commands:SKILL.md:394:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- Both renderers compile the set of lights into every lit material: adding or removing a light (an A","category":"external_commands","line_end":394,"severity":"medium","line_start":394},{"id":"external_commands:SKILL.md:395:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- Every shadow-casting light adds depth passes (six per point light). Leave `castShadow` off where n","category":"external_commands","line_end":396,"severity":"medium","line_start":395},{"id":"external_commands:SKILL.md:396:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- Static scenes: render a light's shadow on demand with `light.shadow.autoUpdate = false; light.shad","category":"external_commands","line_end":396,"severity":"medium","line_start":396},{"id":"external_commands:SKILL.md:398:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- Lights are not filtered per mesh by layers: a light's layers are tested only against the camera's.","category":"external_commands","line_end":402,"severity":"medium","line_start":398},{"id":"external_commands:SKILL.md:402:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Light classes, shadow settings and the scene's environment properties above carry over to WebGPURend","category":"external_commands","line_end":402,"severity":"medium","line_start":402},{"id":"external_commands:SKILL.md:404:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":429,"severity":"medium","line_start":404},{"id":"external_commands:SKILL.md:429:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":431,"severity":"medium","line_start":429},{"id":"external_commands:SKILL.md:431:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":444,"severity":"medium","line_start":431},{"id":"external_commands:SKILL.md:444:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":446,"severity":"medium","line_start":444},{"id":"external_commands:SKILL.md:446:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```javascript","category":"external_commands","line_end":456,"severity":"medium","line_start":446},{"id":"external_commands:SKILL.md:456:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"```","category":"external_commands","line_end":458,"severity":"medium","line_start":456},{"id":"external_commands:SKILL.md:458:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"Colored shadows: with `renderer.shadowMap.transmitted = true`, casters write color and alpha into th","category":"external_commands","line_end":458,"severity":"medium","line_start":458},{"id":"external_commands:SKILL.md:462:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `light.layers.set(1);` → `material.lightsNode = lights([keyLight, fillLight]);`: lights are not fi","category":"external_commands","line_end":462,"severity":"medium","line_start":462},{"id":"external_commands:SKILL.md:463:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `new THREE.PointLight(0xffffff, 1, 100);` → `new THREE.PointLight(0xffffff, 100, 20);`: point and ","category":"external_commands","line_end":463,"severity":"medium","line_start":463},{"id":"external_commands:SKILL.md:464:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `renderer.useLegacyLights = true;` → `const bulb = new THREE.PointLight(0xffffff, 100, 20);`: lega","category":"external_commands","line_end":464,"severity":"medium","line_start":464},{"id":"external_commands:SKILL.md:465:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `renderer.shadowMap.type = THREE.PCFSoftShadowMap;` → `renderer.shadowMap.type = THREE.PCFShadowMa","category":"external_commands","line_end":465,"severity":"medium","line_start":465},{"id":"external_commands:SKILL.md:466:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `lightProbe.copy(LightProbeGenerator.fromCubeRenderTarget(renderer, rt));` → `lightProbe.copy(awai","category":"external_commands","line_end":466,"severity":"medium","line_start":466},{"id":"external_commands:SKILL.md:467:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `new ContactShadows({ opacity: 0.5 });` → `new THREE.Mesh(new THREE.PlaneGeometry(2, 2), new THREE","category":"external_commands","line_end":467,"severity":"medium","line_start":467},{"id":"external_commands:SKILL.md:468:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `scene.environment = pmremGenerator.fromEquirectangular(texture).texture;` → `texture.mapping = TH","category":"external_commands","line_end":468,"severity":"medium","line_start":468},{"id":"external_commands:SKILL.md:469:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `scene.background = hdr;` → `hdr.mapping = THREE.EquirectangularReflectionMapping; scene.backgroun","category":"external_commands","line_end":469,"severity":"medium","line_start":469},{"id":"external_commands:SKILL.md:470:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `import { RGBELoader } from \"three/examples/jsm/loaders/RGBELoader.js\";` → `import { HDRLoader } f","category":"external_commands","line_end":470,"severity":"medium","line_start":470},{"id":"external_commands:SKILL.md:471:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `spotLight.shadow.camera.fov = 30;` → `spotLight.shadow.focus = 0.9;`: the shadow camera's fov is ","category":"external_commands","line_end":471,"severity":"medium","line_start":471},{"id":"external_commands:SKILL.md:472:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `const lamp = new THREE.PointLight(0xffffff, 100, 20); lamp.shadow.camera.far = 50;` → `const lamp","category":"external_commands","line_end":472,"severity":"medium","line_start":472},{"id":"external_commands:SKILL.md:473:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `material.envMapIntensity = 0.5;` → `scene.environmentIntensity = 0.5;`: envMapIntensity scales on","category":"external_commands","line_end":473,"severity":"medium","line_start":473},{"id":"external_commands:SKILL.md:474:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `const clock = new THREE.Clock();` → `const timer = new THREE.Timer(); timer.connect(document);`: ","category":"external_commands","line_end":474,"severity":"medium","line_start":474},{"id":"external_commands:SKILL.md:475:ruby-shell-backtick-execution","file":"SKILL.md","pattern":"Ruby/shell backtick execution","snippet":"- `RectAreaLightUniformsLib.init();` → `THREE.RectAreaLightNode.setLTC(RectAreaLightTexturesLib.init","category":"external_commands","line_end":475,"severity":"medium","line_start":475},{"id":"blocker:SKILL.md:244:system-reconnaissance","file":"SKILL.md","pattern":"System reconnaissance","snippet":"blob.position.y = 0.001; // just above the floor to avoid z-fighting","category":"blocker","line_end":244,"severity":"low","line_start":244},{"id":"blocker:SKILL.md:328:system-reconnaissance","file":"SKILL.md","pattern":"System reconnaissance","snippet":"`LightProbeGenerator.fromCubeTexture(cubeTexture)` derives one synchronously from an already-loaded ","category":"blocker","line_end":328,"severity":"low","line_start":328},{"id":"blocker:SKILL.md:334:system-reconnaissance","file":"SKILL.md","pattern":"System reconnaissance","snippet":"const probeGrid = new LightProbeGridWebGL(10, 4, 10);","category":"blocker","line_end":334,"severity":"low","line_start":334}],"finding_verdicts":[{"id":"external_commands:SKILL.md:12:ruby-shell-backtick-execution","reason":"This fence opens a browser JavaScript example that creates a Three.js renderer, scene, and shadow settings. It does not invoke a shell.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:54:ruby-shell-backtick-execution","reason":"This fence closes the browser quick start after it registers a render loop. The backticks delimit Markdown rather than execute a command.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:69:ruby-shell-backtick-execution","reason":"The inline backticks mark light properties for decay, power, and distance. The prose explains physical lighting units, not command execution.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:73:ruby-shell-backtick-execution","reason":"This JavaScript fence opens an example that adds ambient and hemisphere lights to a scene. It contains no shell invocation.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:81:ruby-shell-backtick-execution","reason":"This Markdown fence closes the ambient and hemisphere light example after the lights are added to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:85:ruby-shell-backtick-execution","reason":"The fence introduces JavaScript that positions a directional light and its target. It does not run a system command.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:94:ruby-shell-backtick-execution","reason":"This is the closing fence for the JavaScript example that adds a directional light and its target to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:98:ruby-shell-backtick-execution","reason":"The backticks format the SunLight class name and its Three.js module path. Neither is a shell command.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:100:ruby-shell-backtick-execution","reason":"The fence opens JavaScript that imports the Three.js SunLight addon and sets its scene position and shadow flag.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:107:ruby-shell-backtick-execution","reason":"The backticks close the Markdown example after SunLight is added to the scene. They are not executable syntax.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:109:ruby-shell-backtick-execution","reason":"The inline backticks identify shadow camera properties and map size in an explanation of cascaded shadows.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:113:ruby-shell-backtick-execution","reason":"This JavaScript fence opens a point and spot light setup that assigns positions, targets, and light power.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:128:ruby-shell-backtick-execution","reason":"The Markdown fence closes the point and spot light example after the JavaScript sets light power.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:130:ruby-shell-backtick-execution","reason":"The inline spans name spotlight settings for cone angle and edge softness. They do not contain shell commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:136:ruby-shell-backtick-execution","reason":"This fence opens a JavaScript area light example that initializes lookup textures and attaches a helper to the light.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:152:ruby-shell-backtick-execution","reason":"This fence closes the area light example after it attaches a helper. It is Markdown formatting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:154:ruby-shell-backtick-execution","reason":"The inline span names the Three.js texture library used for rectangular area lights under WebGPU.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:158:ruby-shell-backtick-execution","reason":"The JavaScript fence opens an example that enables shadow maps on the renderer, light, and scene meshes.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:173:ruby-shell-backtick-execution","reason":"The backticks close the JavaScript shadow setup after the mesh is marked to cast and receive shadows.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:175:ruby-shell-backtick-execution","reason":"The backticks mark properties for shadow filtering and blur samples. The line describes renderer behavior rather than executing commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:179:ruby-shell-backtick-execution","reason":"This fence opens JavaScript that sets a directional light's shadow camera bounds, map size, and bias.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:204:ruby-shell-backtick-execution","reason":"This fence closes the directional shadow tuning example after setting shadow intensity. It does not execute the preceding text.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:208:ruby-shell-backtick-execution","reason":"The backticks mark a field-of-view formula and Three.js properties for spotlight focus and range.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:210:ruby-shell-backtick-execution","reason":"The fence introduces JavaScript that configures a spotlight's shadow map size, focus, and bias.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:216:ruby-shell-backtick-execution","reason":"This is the closing Markdown fence for the spotlight shadow settings. It is not command syntax.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:218:ruby-shell-backtick-execution","reason":"The inline code shows a Three.js camera helper and its update method for visualizing a shadow camera.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:224:ruby-shell-backtick-execution","reason":"This fence opens JavaScript that draws a gradient on a browser canvas and uses it as a contact shadow texture.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:246:ruby-shell-backtick-execution","reason":"This fence closes the browser canvas example after adding the textured shadow plane to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:248:ruby-shell-backtick-execution","reason":"The backticks label a Three.js example, shader names, and an addon path. The text describes rendering and blurring depth.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:252:ruby-shell-backtick-execution","reason":"The fence introduces JavaScript that creates scene lights and visual helpers. No external command is launched.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:265:ruby-shell-backtick-execution","reason":"This Markdown fence closes the JavaScript example after the light helpers are added to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:267:ruby-shell-backtick-execution","reason":"The inline backticks mark the method that refreshes helper color or orientation. It updates only the scene visualization.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:271:ruby-shell-backtick-execution","reason":"This fence opens JavaScript that loads the relative asset sunset.hdr and configures scene lighting and background properties. It does not run commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:285:ruby-shell-backtick-execution","reason":"This Markdown fence closes the HDR example after it sets background rotation. The following text discusses renderer material support.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:287:ruby-shell-backtick-execution","reason":"The inline code marks the scene environment property and a Three.js prefiltering class. Neither is a shell call.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:289:ruby-shell-backtick-execution","reason":"The fence opens JavaScript that generates an environment texture from RoomEnvironment and disposes of temporary rendering resources.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:297:ruby-shell-backtick-execution","reason":"This is the closing fence for generating an environment from a Three.js room scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:301:ruby-shell-backtick-execution","reason":"The JavaScript example loads six relative image assets into a cube texture and assigns it to the scene. It runs no shell commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:313:ruby-shell-backtick-execution","reason":"The backticks close the example that assigns a cube texture as scene lighting and background.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:317:ruby-shell-backtick-execution","reason":"The JavaScript fence opens an example that renders the scene with a cube camera to compute ambient lighting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:326:ruby-shell-backtick-execution","reason":"This fence closes the JavaScript example after adding a generated light probe to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:328:ruby-shell-backtick-execution","reason":"The inline code names light probe APIs, renderer classes, and module paths. It does not contain shell substitution.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:330:ruby-shell-backtick-execution","reason":"This fence opens JavaScript that imports and bakes a Three.js light probe grid for ambient scene lighting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:338:ruby-shell-backtick-execution","reason":"This Markdown fence ends the JavaScript example after the light probe grid bakes scene lighting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:342:ruby-shell-backtick-execution","reason":"The backticks open a JavaScript example that positions three directional lights for key, fill, and rim lighting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:354:ruby-shell-backtick-execution","reason":"This fence closes the JavaScript example after the three directional lights are added to the scene.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:356:ruby-shell-backtick-execution","reason":"The fence opens an outdoor lighting example that combines the SunLight addon with a hemisphere light.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:367:ruby-shell-backtick-execution","reason":"The backticks close the outdoor daylight example after the sun and sky lights are added.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:371:ruby-shell-backtick-execution","reason":"The fence opens browser JavaScript that uses elapsed time to animate a light's position and intensity.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:390:ruby-shell-backtick-execution","reason":"This Markdown fence closes the light animation example after the renderer registers its animation loop.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:394:ruby-shell-backtick-execution","reason":"The inline spans mark lighting flags and classes in a discussion of shader recompilation. They are not shell commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:395:ruby-shell-backtick-execution","reason":"The inline backticks mark the castShadow flag. The recommendation concerns reducing rendering passes.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:396:ruby-shell-backtick-execution","reason":"The semicolon-separated statements assign JavaScript shadow update flags. They are inline renderer settings, not shell commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:398:ruby-shell-backtick-execution","reason":"The backticks mark a node material property for selecting which scene lights affect a material.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:402:ruby-shell-backtick-execution","reason":"The inline spans identify a cube render target and renderer properties while explaining WebGPU compatibility.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:404:ruby-shell-backtick-execution","reason":"The JavaScript fence opens a browser example that initializes a WebGPU renderer, scene, and directional light.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:429:ruby-shell-backtick-execution","reason":"This fence ends the WebGPU setup example after it registers the browser rendering loop.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:431:ruby-shell-backtick-execution","reason":"The fence opens JavaScript that registers area light textures, a SunLight node, and clustered lighting with the renderer.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:444:ruby-shell-backtick-execution","reason":"This closing fence follows a JavaScript renderer assignment that enables clustered lighting. It is Markdown syntax.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:446:ruby-shell-backtick-execution","reason":"The JavaScript fence introduces a TSL example that assigns one point light to a node material.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:456:ruby-shell-backtick-execution","reason":"This fence closes the TSL example after the selected light is assigned to the material.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:458:ruby-shell-backtick-execution","reason":"The inline spans name a renderer flag and shader node inputs for colored shadows. They do not invoke a command interpreter.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:462:ruby-shell-backtick-execution","reason":"The inline JavaScript compares light layers with node material light selection. It controls which lights affect rendered meshes.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:463:ruby-shell-backtick-execution","reason":"The backticks display two point light constructor calls with different intensity and range values.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:464:ruby-shell-backtick-execution","reason":"The inline snippets compare an obsolete renderer flag with a point light configured in candela.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:465:ruby-shell-backtick-execution","reason":"The inline snippets compare two Three.js shadow map types using JavaScript renderer assignments.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:466:ruby-shell-backtick-execution","reason":"The inline JavaScript shows why the light probe Promise must be awaited before copying the probe.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:467:ruby-shell-backtick-execution","reason":"The backticks show a contact shadow example that uses a textured plane rather than a nonexistent Three.js class.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:468:ruby-shell-backtick-execution","reason":"The inline snippets compare manual texture prefiltering with direct scene environment assignment.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:469:ruby-shell-backtick-execution","reason":"The backticks mark JavaScript assignments that set HDR texture mapping and the scene background.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:470:ruby-shell-backtick-execution","reason":"The inline snippets compare two JavaScript imports from Three.js. They do not install packages or invoke the shell.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:471:ruby-shell-backtick-execution","reason":"The inline assignments compare a spotlight shadow camera field of view with the supported focus setting.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:472:ruby-shell-backtick-execution","reason":"The inline JavaScript compares a point light's range with a manual shadow camera distance override.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:473:ruby-shell-backtick-execution","reason":"The inline assignments distinguish material-specific environment intensity from scene-wide environment intensity.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:474:ruby-shell-backtick-execution","reason":"The inline JavaScript shows a browser animation timer replacing the deprecated Three.js Clock. It does not invoke external commands.","verdict":"false_positive","confidence":0.99},{"id":"external_commands:SKILL.md:475:ruby-shell-backtick-execution","reason":"The inline snippets compare lookup texture initialization for area lights across the two renderers.","verdict":"false_positive","confidence":0.99},{"id":"blocker:SKILL.md:244:system-reconnaissance","reason":"The assignment raises a contact shadow mesh slightly above the virtual floor to avoid depth overlap. It does not inspect the host system.","verdict":"false_positive","confidence":0.99},{"id":"blocker:SKILL.md:328:system-reconnaissance","reason":"The documented API derives ambient lighting from an already-loaded scene texture. The probe measures scene light, not host or network state.","verdict":"false_positive","confidence":0.99},{"id":"blocker:SKILL.md:334:system-reconnaissance","reason":"The constructor defines a 10 by 4 by 10 volume for sampling ambient light in a Three.js scene. It does not enumerate system resources.","verdict":"false_positive","confidence":0.99}],"semantic_findings":[],"subject_marketplace_commit_sha":"5a685fd3b2304f9e4cbf5164d3ac3186cd35324e","subject_content_hash":"f12faf79625a7f42952124a5456d338e8399a65e16326c1a6a3239aa8e5ce489","subject_tree_hash":"01d56875e0b4ad0a29c584336d08a358b9aa533d7db752253f6baaa33c136b63","subject_plugin_path":"skills/cloudai-x/threejs-lighting","audit_payload_hash":"6c1a64fba68e2860efa62037046bb7fb","confirmed_risk_level":"safe","scanner_version":"3.0.0","policy_version":"skillstore-security-audit-policy-v1","subject":{"marketplaceCommitSha":"5a685fd3b2304f9e4cbf5164d3ac3186cd35324e","contentHash":"f12faf79625a7f42952124a5456d338e8399a65e16326c1a6a3239aa8e5ce489","treeHash":"01d56875e0b4ad0a29c584336d08a358b9aa533d7db752253f6baaa33c136b63","pluginPath":"skills/cloudai-x/threejs-lighting","auditPayloadHash":"6c1a64fba68e2860efa62037046bb7fb"},"scannerVersion":"3.0.0","policyVersion":"skillstore-security-audit-policy-v1"},"auditTranslation":null,"localization":{"requestedLocale":"en","contentLocale":"en","availableLocales":["en"],"fallbackToEnglish":false},"attestation":{"availability":"issued","url":"/api/skills/cloudai-x-threejs-lighting/audits/1/attestation","status":"active"},"trust":{"publicState":"public","auditState":"complete","auditCurrentness":null,"confirmedRiskLevel":"safe","confirmedFindingCount":0,"capabilityReviewCount":0,"needsReviewCount":0,"falsePositiveCount":0,"agentAutoInstallPolicy":"allowed","manualInstallPolicy":"allowed","artifactSignatureState":"available","attestationState":"active","verificationState":"not_verified"},"isLatest":true}}