Nuisance-causing passwords or technology at US borders
<p>My question pertains to the somewhat recent emergence/increase of technological searches present at US borders. The premise I am operating under is that, <strong>a)</strong>, while there are limits to this, border agents can demand passwords to phones, laptops or similar devices, and <strong>b)</strong>, you face annoying to potentially serious consequences (being detained, not allowed to enter the US, and/or having your device confiscated for a period of time or indefinitely). I don't have what I would consider sufficient sources for this information (i.e. for documenting what is actually legal*, certainly there are many sources documenting that such events have occurred).</p>

<p>*I am aware that the law in this case may change or become more clearly defined, as matters seem to have a degree of fuzziness now.</p>

<p>All of that out of the way, consider somebody (a US citizen) crossing the US border who, knowing they might be stopped and asked for their password by border agents, set an unusually long password. Specifically, one occupying several letter-sized pages. When asked for their password, they provide a pre-printed copy of this password (the rationale is that typing such a password would likely take many attempts and be highly irritating, since you cannot see mistakes on most computer login screens - the individual perhaps intends this to be a protest). <strong>What, if any, legal consequences could result from doing this?</strong> I am aware that there are significant risks of <em>practical</em> consequences resulting from this, such as being detained regardless of law, however, I am interested in the legal aspect.</p>

<p>In a different scenario, someone (again a US citizen) chooses to instead infect their computer with malware which is programmed to spread to any connected devices (say, if border agents connect USB devices with forensic tools to collect data). Perhaps this person too thinks of this as a protest. <strong>What are the potential legal consequences of doing this?</strong></p>

<p>I should specify that while I am somewhat flexible with my language by saying "potential" consequences, an answer merely stating the relevant computer misuse laws for the latter, or failure-to-comply laws for the former isn't exactly what I am looking for - I am interested in an analysis that specifically accounts for the context of these border searches.</p>

<p>I have no intention of doing any of these things, nor would I endorse them being done.</p>

<p>As a citizen, you cannot be denied entry into the US, so you can simply refuse to comply with a demand to unlock your phone, or give them the password. They may (temporarily, some number of weeks) confiscate the device until it is determined to not be a problem (whatever the security issue is). They cannot compel you to unlock it or reveal the password, though a court order could have that result. The consequences of having a 400 character long password are probably similar to the consequences of a refusal, save for the court order part: you can be delayed, and it will cost you something (shipping) to get your device back. <a href="https://www.aclu.org/blog/privacy-technology/privacy-borders-and-checkpoints/can-border-agents-search-your-electronic" rel="nofollow noreferrer">This ACLU article</a> spells out the difference between what you'd hope for and what is.</p>

<p>CBP has a <a href="https://www.cbp.gov/sites/default/files/documents/inspection-electronic-devices-tearsheet.pdf" rel="nofollow noreferrer">leaflet</a> explaining that you may be searched, some of what their statutory authority is (8 USC 1357, 19 USC 1499,1581,1582). As they say, "failure to provide information to assist CBP or ICE in the copying of information from the electronic device may result in its detention and/or seizure". A more detailed document is <a href="https://www.dhs.gov/xlibrary/assets/privacy/privacy_pia_cbp_laptop.pdf" rel="nofollow noreferrer">here</a>: is it almost 10 years old, so things may have changed. However it indicates that seized devices should normally be returned within 30 days; they should be conducted with the knowledge or presence of the traveler; consent is not necessary. See p. 8 for a bit of discussion of the possibility that it may be impossible or imprudent to get a password from a traveler – they can just copy the storage device.</p>

<p>As for leaving a computational booby trap is concerned, that presumes more technical knowledge about how CBP works and what such a trap would be like than I have. Infecting another computer is a crime.  </p>

united-states data-protection borders