- Home
- Skills
- Frontend & Web Apps
- Web Shield
Web Shield
by v kiet
Frontend code is exposed by design, making it trivial for competitors to clone landing pages or scrape proprietary 3D assets.
Free
Web Shield
Example session with this skill installed
Run a strict shield on my ./dist folder. Lock it to app.com and vault all 3D assets. I need to test it on localhost too.
- Read your context and instructions
- Compiled the web shield
I have completed the hardening process for your static build. The assets have been vaulted and the domain lock is active.
Shielding Report: app.com
| Metric | Result |
|---|---|
| Framework Detected | Vite / React |
| Protection Mode | strict |
| Allowed Domains | app.com, localhost |
| Source Maps Purged | 12 files |
| Vaulted Assets (.vlt) | 4 (hero.vlt, map-data.vlt, shader-core.vlt, scene.vlt) |
| Anti-Bot Status | Active (Headless Blocked) |
| Integrity Watermark | WS-8829-XQ-001 |
| Verification | PASS |
# Verification Details
node skills/web-shield/scripts/verify.mjs --dir ./dist-shielded --domain app.com --json
{
"status": "success",
"checks": {
"domain_lock": "verified",
"asset_encryption": "AES-256-GCM",
"hydration_integrity": "preserved",
"leaked_maps": 0
}
}
Next steps
- Deploy the contents of
./dist-shieldedto your production environment. - Visit the site on an unauthorized domain to verify the
--action blankbehavior. - Check the browser console to confirm all sensitive
debuggerandconsolelogs are stripped.
Connects securely to your tools. The creator never sees your data.
About this skill
Hardens compiled static websites (Vite, Next.js static export, Astro, plain HTML/JS/WebGL) against automated scraping, source-map leaks, unauthorized domain rehosting, and raw asset theft (.glb, .json, shaders) using zero-dependency Node.js scripts and AES-256-GCM asset vaulting.
Frontend code is exposed by design, making it trivial for competitors to clone landing pages or scrape proprietary 3D assets. This skill hardens compiled static builds against unauthorized rehosting and asset theft.
What it does
- Source Map Purging identifies and removes
.mapfiles andsourceMappingURLreferences to prevent original source code reconstruction. - Domain Locking injects polymorphic XOR guards that prevent the site from functioning if hosted on unauthorized domains.
- Asset Vaulting encrypts sensitive static files like
.glb,.gltf, and.jsonusing AES-256-GCM, unlocking them only at runtime on allowed hosts. - Anti-Bot Protection blocks headless automation and
navigator.webdriversignatures while maintaining compatibility with major search engine crawlers. - Scraper Honeypots implements WCAG-safe invisible elements to trigger detection for automated scraping tools.
How it works
- Reconnaissance runs a discovery script against the build directory to detect the framework (Vite, Next.js, Astro) and locate leaked maps or vaultable assets.
- Mode Selection determines the protection level—Light, Balanced, or Strict—based on the threat model and asset sensitivity.
- Shielding applies the selected transformations to the compiled artifacts, specifying allowed deployment domains and unauthorized access behaviors like redirects or overlays.
- Verification executes the build in a sandboxed VM to ensure integrity watermarks are present and domain locks function as expected.
Frameworks & tools
This tool works with any static build output including Vite, Next.js static exports, Astro, and plain HTML/JS/WebGL. It integrates with javascript-obfuscator for AST-level hardening.
Why this beats prompting it yourself
Manual obfuscation often breaks framework hydration or destroys SEO. This skill follows framework-specific rules to ensure protection doesn't interfere with React/Next.js runtime chunks or accessibility standards.
Use cases
- Client Previews prevent clients from hosting a project before the final invoice is paid.
- 3D WebGL Showcases protect expensive proprietary
.glbmodels and custom shaders from being downloaded and reused. - Commercial Templates stop unauthorized mirrors and clones of high-value landing page designs.
Known limitations
Does not mutate src/ files directly. Requires a compiled build directory as input. Advanced obfuscation requires javascript-obfuscator to be installed in the project.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
- serve
Node.js
Permissions
What's inside
Creator
v kiet
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.