security(chronicle): PAT not exposed in input.value, fix manifest icon purpose
- GitHub PAT: replaced input.value with placeholder to avoid exposing token in DOM - manifest.json: split 'any maskable' into two separate icon entries per spec Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ffc144fd31
commit
ccc60626bb
|
|
@ -512,7 +512,7 @@ function getGhPat() { return localStorage.getItem(GH_PAT_KEY) || ''; }
|
|||
const status = document.getElementById('ghPatStatus');
|
||||
const pat = getGhPat();
|
||||
if (pat) {
|
||||
input.value = pat;
|
||||
input.placeholder = '設定済み(変更する場合は再入力)';
|
||||
status.textContent = '設定済み';
|
||||
status.style.color = 'var(--accent)';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
"orientation": "portrait-primary",
|
||||
"categories": ["productivity"],
|
||||
"icons": [
|
||||
{ "src": "/logo.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any maskable" }
|
||||
{ "src": "/logo.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" },
|
||||
{ "src": "/logo.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "maskable" }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue