chore: initialize from frontend template 4dc033c

This commit is contained in:
DongHyeonka
2026-08-13 18:23:26 +09:00
commit 40107eec84
897 changed files with 234824 additions and 0 deletions
@@ -0,0 +1,3 @@
export function Fixture({ value }: { value: string }) {
return <span>{value}</span>;
}
+3
View File
@@ -0,0 +1,3 @@
export function SafeTextFixture({ value }: Readonly<{ value: string }>) {
return <p>{value}</p>;
}
+5
View File
@@ -0,0 +1,5 @@
export function attachScript(source: string) {
const script = document.createElement("script");
script.src = source;
document.head.append(script);
}
+1
View File
@@ -0,0 +1 @@
export const execute = (source: string) => eval(source);
@@ -0,0 +1,3 @@
export function RawHtml({ value }: { value: string }) {
return <div dangerouslySetInnerHTML={{ __html: value }} />;
}
+3
View File
@@ -0,0 +1,3 @@
export function UnsafeHtmlFixture({ value }: Readonly<{ value: string }>) {
return <div dangerouslySetInnerHTML={{ __html: value }} />;
}
@@ -0,0 +1 @@
export const client_secret = "fixture-only-secret-value";
@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"trackedRoots": [
"tests/fixtures/security/secret-detection/forbidden"
],
"generatedRoots": [],
"includedPaths": [
"tests/fixtures/security/secret-detection/forbidden"
],
"excludedPaths": [],
"allowlist": []
}
@@ -0,0 +1,3 @@
{
"client_secret": "synthetic-forbidden-secret"
}
@@ -0,0 +1,2 @@
(globalThis as typeof globalThis & { password: string }).password =
"synthetic-built-secret";
@@ -0,0 +1 @@
export const leaked = "AKIAABCDEFGHIJKLMNOP";
@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"trackedRoots": [
"tests/fixtures/security/secret-detection/forbidden"
],
"generatedRoots": [],
"includedPaths": [
"tests/fixtures/security/secret-detection/misspelled"
],
"excludedPaths": [],
"allowlist": []
}