smooth-scroll

Pass

Audited by Gen Agent Trust Hub on Feb 28, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements a UI-focused functionality using standard React hooks and browser APIs. The JavaScript code for handling smooth scroll is self-contained and does not perform any network operations or access sensitive local files.
  • [SAFE]: The logic correctly accounts for user accessibility preferences by checking 'prefers-reduced-motion' before applying animations.
  • [SAFE]: No prompt injection, obfuscation, or persistence mechanisms were detected in the instructions or the provided code snippets.
  • [SAFE]: The use of 'document.querySelector' is restricted to local anchor links starting with '#', which is a standard and safe web development practice for implementing navigation offsets.
Audit Metadata
Risk Level
SAFE
Analyzed
Feb 28, 2026, 08:38 PM