Skip to content

Instantly share code, notes, and snippets.

Isaac Evans ievans

Block or report user

Report or block ievans

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ievans
ievans / index.js
Created Jun 6, 2019
electron-native-notify-1.1.6 malicious source code
View index.js
const MainProcessNotification = require("electron").Notification;
const isRenderer = process && process.type === "renderer";
const isSupported = () => isRenderer ? "Notification" in window : MainProcessNotification.isSupported();
const renderNotify = (title, body) => {
const notification = new Notification(title, {
body: body
});
return notification
};
try {
View gist:3085c20601a4c6823209
### Keybase proof
I hereby claim:
* I am ievans on github.
* I am ine (https://keybase.io/ine) on keybase.
* I have a public key whose fingerprint is 0648 2CC1 32C2 7605 DCA2 58FC 1C15 BAC3 828F 78C2
To claim this, I am signing this object:
You can’t perform that action at this time.