mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-21 09:21:21 +03:00
auto-claude: subtask-1-1 - Add warning in guarded_skill_install.mjs when checksum verification is disabled
This commit is contained in:
@@ -146,6 +146,12 @@ async function loadFeed() {
|
||||
);
|
||||
}
|
||||
|
||||
if (!verifyChecksumManifest) {
|
||||
process.stderr.write(
|
||||
"WARNING: CLAWSEC_VERIFY_CHECKSUM_MANIFEST=0 is enabled. Checksum verification for the advisory feed manifest is disabled. This reduces security guarantees.\n",
|
||||
);
|
||||
}
|
||||
|
||||
const publicKeyPem = allowUnsigned ? "" : await fs.readFile(feedPublicKeyPath, "utf8");
|
||||
|
||||
const remoteFeed = await loadRemoteFeed(feedUrl, {
|
||||
|
||||
Reference in New Issue
Block a user