Skip to content

Instantly share code, notes, and snippets.

Philip Daian pdaian

Block or report user

Report or block pdaian

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
View ethical_disclosure_casestudy.md

Intro

This is a case study of ethical security disclosure practices in cryptocurrency. We analyze how security experts reacted in disclosing a serious vulnerability in miner hardware to the public, and identify problems with the reaction of several particular experts that we believe violate ethical disclosure norms. It is my hope that by discussing what went wrong in the past, the Bitcoin community can grow into a more secure and robust space that respects appropriate professional ethics in interactions with the public.

The incident below occurred on 26 April 2017, when a vulnerability in Bitcoin miner hardware, Antbleed, was discovered. Soon after discovery, some security professionals opportunistically used this vulnerability to advance false and damaging statements about the nature of the attack to the general public, in a manner that was disseminated widely beyond their control. We describe the facts and consequences of the incident below.

The Facts

View dca.py
# THIS IS PROVIDED WITHOUT ANY WARRANTY EXPLICIT OR IMPLICIT
# THE AUTHORS ARE NOT RESPONSIBLE FOR ANY SECURITY ISSUES OR FINANCIAL LOSSES
# Installing requirements: pip install python-bittrex
# Then, change the next two lines with your Bittrex API info (with limit order & view info access)
BITTREX_PUBLIC = "INSERT BITTREX PUBLIC HERE"
BITTREX_SECRET = "INSERT BITTREX SECRET HERE"
# Finally, see the bottom of this file
# (do not edit below this point)
@pdaian
pdaian / ethereum_graphs.py
Created Feb 13, 2017
Ethereum Fork Market Data Graphing Script
View ethereum_graphs.py
import datetime, requests
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import json, collections, os
UTC_OFFSET = -14400 # Local offset from UTC
START_DATE = "2016-01-01" # Day to start chat
TMP_DIR = "/tmp" # Writable temp directory, without trailing slash
@pdaian
pdaian / gina.js
Last active Nov 16, 2016
Gina : As @RealDonaldTrump intended it to be spelled
View gina.js
// ==UserScript==
// @name Gina - Correct incorrect spellings of Gina
// @namespace ginaftw
// @description Bend the web to your will to properly spell Gina, as @realDonaldTrump intended.
// @include http://*
// @include https://*
// @include file://*
// @exclude http://userscripts.org/scripts/review/*
// @exclude http://userscripts.org/scripts/edit/*
// @exclude http://userscripts.org/scripts/edit_src/*
View gist:915fd53934089c091f9437b1f3ae3397
pragma solidity ^0.4.0;
contract Ballot {
string constant test = "WHEE";
function testFn() constant returns (string output) {
return test;
}
}
View gist:9141fcf800f5cb573bee942daf9b8d71
<center>
**Welcome to the Bitcoin Wiki**,
for all your Bitcoin information needs.
This wiki is maintained by the Bitcoin community, and is the first
strongly distributed and decentralized
Bitcoin Wiki.
</center>
You can’t perform that action at this time.