Files
chrome-use/docs/src/lib/docs-navigation.ts
T
Chris Tate bc1e917e87 add security hardening features (#543)
* add security hardening features

- Add authentication vault (`auth save/login/list/show/delete`) so credentials are stored locally and never exposed to the LLM (fixes Snyk W007)
- Add `--content-boundaries` flag to wrap page-sourced output in structural markers, helping LLMs distinguish tool output from untrusted page content (fixes Snyk W011)
- Add `--allowed-domains` flag to restrict browser navigation to trusted domains
- Add `--action-policy` for static allow/deny gating of action categories, with opt-in `--confirm-actions`/`--confirm-interactive` for orchestrator or human-in-the-loop confirmation
- Add `--max-output` flag to truncate large page outputs, preventing context flooding
- New docs page at /security, updated README, SKILL.md, CLI help text, and templates

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* docs
2026-02-25 15:33:20 -06:00

50 lines
1.2 KiB
TypeScript

export type NavItem = {
name: string;
href: string;
};
export type NavSection = {
title: string | null;
items: NavItem[];
};
export const navigation: NavSection[] = [
{
title: null,
items: [
{ name: "Introduction", href: "/" },
{ name: "Installation", href: "/installation" },
{ name: "Quick Start", href: "/quick-start" },
],
},
{
title: "Reference",
items: [
{ name: "Commands", href: "/commands" },
{ name: "Configuration", href: "/configuration" },
{ name: "Selectors", href: "/selectors" },
{ name: "Snapshots", href: "/snapshots" },
],
},
{
title: "Features",
items: [
{ name: "Sessions", href: "/sessions" },
{ name: "Diffing", href: "/diffing" },
{ name: "CDP Mode", href: "/cdp-mode" },
{ name: "Streaming", href: "/streaming" },
{ name: "Profiler", href: "/profiler" },
{ name: "iOS Simulator", href: "/ios" },
{ name: "Security", href: "/security" },
],
},
{
title: null,
items: [{ name: "Changelog", href: "/changelog" }],
},
];
export const allDocsPages: NavItem[] = navigation.flatMap(
(section) => section.items
);