Socket
Socket
Sign inDemoInstall

octoflare

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octoflare - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

8

dist/verifyRequest.js

@@ -17,8 +17,2 @@ import crypto from 'node:crypto';

}
const headerSignature = headers.get('X-Hub-Signature-256');
if (!headerSignature) {
return new Response(null, {
status: 403
});
}
const signature = crypto

@@ -28,3 +22,3 @@ .createHmac('sha256', env.OCTOFLARE_WEBHOOK_SECRET)

.digest('hex');
if (`sha256=${signature}` !== headerSignature) {
if (`sha256=${signature}` !== headers.get('X-Hub-Signature-256')) {
return new Response(null, {

@@ -31,0 +25,0 @@ status: 403

2

package.json
{
"name": "octoflare",
"version": "0.2.5",
"version": "0.2.6",
"description": "A framework for building GitHub Apps with Cloudflare Worker",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc