Home/Tools/@tpmjs/tools-hardening-checklist-web

hardeningChecklistWebTool

@tpmjs/tools-hardening-checklist-web

Generate a web security hardening checklist based on configuration

Official
security
v0.2.0
MIT

Interactive Playground

Test @tpmjs/tools-hardening-checklist-web (hardeningChecklistWebTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-hardening-checklist-web
pnpm add @tpmjs/tools-hardening-checklist-web
yarn add @tpmjs/tools-hardening-checklist-web
bun add @tpmjs/tools-hardening-checklist-web
deno add npm:@tpmjs/tools-hardening-checklist-web

2. Import the tool

import { hardeningChecklistWebTool } from '@tpmjs/tools-hardening-checklist-web';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { hardeningChecklistWebTool } from '@tpmjs/tools-hardening-checklist-web';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { hardeningChecklistWebTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(config: { csp: boolean; sri: boolean; cors: boolean; hsts: boolean; https: boolean }) => Promise<unknown>

Tags

based
checklist
configuration
generate
hardening
security
tpmjs
web
web-security

Parameters

Available configuration options

Auto-extracted
config
Required
Type: object

Security configuration with boolean flags for various features

Schema extracted: 3/1/2026, 4:29:09 AM

README

ERROR: No README data found!

Statistics

Downloads/month

6

GitHub Stars

0

Quality Score

73%

Bundle Size

NPM Keywords

tpmjs
security
hardening
web-security
checklist

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai