Skip to content

Instantly share code, notes, and snippets.

@voteblake
Last active September 21, 2017 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voteblake/b3bed4929081e001b3ec932f8ac48180 to your computer and use it in GitHub Desktop.
Save voteblake/b3bed4929081e001b3ec932f8ac48180 to your computer and use it in GitHub Desktop.
{
"title": "Rust Infrastructure",
"version": "0.1.0",
"date": "2017-09-20T21:53:07.388Z",
"authors": "WG-infra-secure",
"configuration": {
"dataClassificationOptions": [
"public",
"internal",
"restricted",
"secret"
],
"securityControlOptions": [
"confidentiality",
"integrity",
"availability"
],
"severityOptions": [
"Low",
"Medium",
"High"
]
},
"threats": [
{
"name": "Rustup contains malicious code",
"severity": "High",
"description": "Rustup executable bundled with malicious code by an attacker",
"$$hashKey": "object:259"
},
{
"name": "Rust build contains malicious code",
"severity": "High",
"description": "Rust builds fetched by rustup are bundled with malicious code by an attacker",
"$$hashKey": "object:262"
}
],
"notes": "",
"assumptions": [],
"diagrams": [
{
"id": "a0502b45-b96e-477d-8148-e207eba64c36",
"title": "Data Flow",
"elements": [
{
"id": "949bfe40-1d0d-48dd-ab70-52dc90ad4d06",
"title": "Rust User",
"icon": "images/icons/user91.svg",
"category": "External",
"class": "c",
"location": {
"top": 280,
"left": 80
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "circle",
"codeType": "Managed",
"runningAs": "Administrator",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "62656aa0-09f1-4b6e-919d-bed63aee264a",
"title": "Desktop Computer",
"icon": "images/icons/monitor97.svg",
"category": "Process",
"class": "c",
"location": {
"top": 400,
"left": 240
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "rectange",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "665077ca-671f-4fcb-8931-3a9e770fde7a",
"title": "rustup",
"icon": "images/icons/category.svg",
"category": "Process",
"class": "c",
"location": {
"top": 600,
"left": 380
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "rectange",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "54b7bf9f-b0db-4bc7-a51e-f1554232368e",
"title": "doc.rust-lang.org",
"icon": "images/icons/server11.png",
"category": "External",
"class": "c",
"location": {
"top": 140,
"left": 500
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "circle",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "494f249c-d320-459d-96f0-f011b9112677",
"title": "rustup.rs",
"icon": "images/icons/sitemap1.svg",
"category": "External",
"class": "c",
"location": {
"top": 277,
"left": 379
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "circle",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "b3707b9c-470d-4b2f-a96a-0aad6b1ef063",
"title": "static.rust-lang.org",
"icon": "images/icons/server11.svg",
"category": "Store",
"class": "c",
"location": {
"top": 368,
"left": 581
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "rectange",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
},
{
"id": "ed3ce0b3-0fc2-4a7a-8192-8e0552f7a53b",
"title": "rust-central-station",
"icon": "images/icons/server11.png",
"category": "External",
"class": "c",
"location": {
"top": 148,
"left": 698
},
"tags": [],
"scale": 1,
"notes": "There is no available notes.",
"attributes": {
"shape": "circle",
"codeType": "Managed",
"runningAs": "Kernel",
"acceptsInput": "Kernel, System, or Local Admin",
"authenticationScheme": {
"uses": false,
"description": null
},
"authorizationScheme": {
"uses": false,
"description": null
},
"communicationProtocol": {
"uses": false,
"description": null
},
"dataClassifications": [],
"securityControls": []
}
}
],
"flows": [
{
"sourceUuid": "949bfe40-1d0d-48dd-ab70-52dc90ad4d06-BottomCenter",
"targetUuid": "62656aa0-09f1-4b6e-919d-bed63aee264a-LeftMiddle",
"properties": {
"label": "Accesses",
"tags": []
}
},
{
"sourceUuid": "494f249c-d320-459d-96f0-f011b9112677-TopCenter",
"targetUuid": "54b7bf9f-b0db-4bc7-a51e-f1554232368e-LeftMiddle",
"properties": {
"label": "Runs on",
"tags": []
}
},
{
"sourceUuid": "62656aa0-09f1-4b6e-919d-bed63aee264a-BottomCenter",
"targetUuid": "665077ca-671f-4fcb-8931-3a9e770fde7a-LeftMiddle",
"properties": {
"label": "Executes",
"tags": []
}
},
{
"sourceUuid": "494f249c-d320-459d-96f0-f011b9112677-BottomCenter",
"targetUuid": "62656aa0-09f1-4b6e-919d-bed63aee264a-RightMiddle",
"properties": {
"label": "Serves rustup binary",
"tags": []
}
},
{
"sourceUuid": "b3707b9c-470d-4b2f-a96a-0aad6b1ef063-BottomCenter",
"targetUuid": "665077ca-671f-4fcb-8931-3a9e770fde7a-RightMiddle",
"properties": {
"label": "Serves rust builds",
"tags": []
}
},
{
"sourceUuid": "ed3ce0b3-0fc2-4a7a-8192-8e0552f7a53b-BottomCenter",
"targetUuid": "b3707b9c-470d-4b2f-a96a-0aad6b1ef063-RightMiddle",
"properties": {
"label": "Populates",
"tags": []
}
}
],
"boundaries": [],
"zoom": 1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment