Bonum Certa Men Certa

Guest Post: Watch Out for “Patented API” Traps, by Jose X

The Trap in a Nutshell



A patented API is short-hand for saying that an API (a software interface) is defined to parallel a patent so that using the API to build applications creates patented material unavoidably.



This is a trap API. Use it, and infringe.

The story:

Q: Can I "work around" the patent? Q: Can I re-implement the API libraries so as not to have to redesign and recode all apps? Q: Can I map or translate the app automatically into something safe?

A: In general, no, you can't, if the trap is a good one.

This covers the trap in a nutshell.

[The disclaimer: I am not a lawyer, and I have never written a patent application. But.. I do know how software works, and I have developed more than just half a clue about how patents work (in the US).]

Further Basic Discussion



For those that want a little more explanation, we have this link.

..as well as a hypothetical "Tetris" Patent Trap example.

Visual Basic function



"Tetris" Patent Trap



Patent Tetris Patent CoolDraw API Tetris API CoolDraw

We have two patents and two API. One patent and one API are high-level (Tetris). The other patent and API are low-level (CoolDraw). The high-level patent and high-level API are designed together as a trap as mentioned above. Ditto for the low level ones.

Let's look at a few more details on the patents and on the APIs. Then, we'll cover the four main scenarios. Do note the interplay of high-level with low-level. When the levels are the same (and matching), we have stepped onto the trap.

-- Patent Tetris: patents any tetris like game.

-- Patent CoolDraw: patents a cool way to draw on the screen from computer memory.

-- API Tetris: a createTetris function produces a tetris game when you input things like block size, colors, number of rows, time, etc.

-- API CoolDraw: a doCoolDraw function uses a cool algorithm to move values onto the screen.

Case 1: -- Patent Tetris -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we violate Patent Tetris, guaranteed.

Case 2: -- Patent Tetris -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we do not violate Patent Tetris unless we write a lot more code so as to create our own tetris game. It would take many lines of code to violate Patent Tetris.

Case 3: -- Patent CoolDraw -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we may violate Patent CoolDraw ..or not. It depends on how API Tetris was implemented. Does createTetris write to the screen the way described by Patent CoolDraw?

Case 4: -- Patent CoolDraw -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we violate Patent CoolDraw, guaranteed.

Quick Analysis

Case 1 (and Case 4) patent and API are at the same level (and matching). This is a trap. To avoid infringement, you have to redesign and re-code the application using a different API.

Case 2 is the case when people consider "working around" the patent. It's an odd event. You have to write many lines of code in order to possibly be infringing. If you are, you then try to code around it, perhaps by building something a little different than tetris. [In general, avoid infringement by make sure some of the properties of the patent claim are not met.]

Case 3 is the case where if a violation were to exist in the API implementation, you can try to re-implement the libraries and this way avoid re-implementing each and every single app as would be required for Cases 1 and 4.

The reason Case 3 allows you to re-implement the libraries and avoid re-coding up every application is fundamentally because you can re-implement the API but keep fixed the same interfaces and specifications enshrined in the API contract and assumed by the applications. This is not possible in Case 1 and Case 4 because any re-implementation of the same specification, for these cases, will infringe in the same exact way as with the original implementation since it's the specification itself (not any implementation of any part of it) that parallels the patent.

The reason Case 2 does not result in automatic infringement as happens with Case 1 and Case 4 is that the API interface and patent requirements don't match. It's that simple. Case 2 is where the application could possibly end up violating if you code enough with that API or with another. The Case 2 patent is high-level while the API is low-level. Case 3 is different in that the patent is low-level while the API is high-level; thus, Case 3 contrasts with Case 2 because in Case 3 the potential violations would not happen within the application (as with Case 2) but rather within the library.

In short, Case 1 and Case 4 are the only cases (of the four) where any API usage, by definition, specifies that the application will acquire all the properties of the matching patent claim. These are the traps.

Random APIs will not shadow any given patent as occurred in Case 1 and in Case 4. Developers normally would not have to worry. They can expect a Case 2 or a Case 3, if anything. However, Case 1 and Case 4 can be designed on purpose when the patent author and API designer are the same entity. Why would this author create this trap for developers? Well...

-- The patent author is determined to file lawsuits as necessary (maybe via proxies) in order to slow down many and/or key competing applications (eg, FOSS applications).

“You can be given a patent license and even GPL code for the core API, but not for the patented API extensions.”If you are using an API designed by such a vendor (regardless of who implemented the libraries), beware. I see lots of redesigning and re-coding in your future, just to get back to the same point (on a per app basis). Remember that the patent might still be in the pipeline, have been sold to a proxy, or have been developed through a partnership under a different company or alias.

The above nutshell and sample analysis omit many details. There are many corner cases and things are not cut and dried. In a second article to follow (possibly), we will look closer into many details of the trap scenario.

Finally, there is a more insidious trap that exists. You can be given a patent license and even GPL code for the core API, but not for the patented API extensions. You may then find that you can create only simple applications safely (with that core API), even if you decide not to use the patented extension API but build your own. This is more insidious because the patent and copyright licenses given for the core API give the illusion of safety (a green light to proliferate), and is insidious and dangerous all the more so since you might purposely avoid the patented extensions. The trap happens if you use the "safe" core with any extension whatsoever (since the extended patented properties can be very general in nature). The details of this extended insidious trap may form the subject of a third article later on. It's also described further here.

Comments

Recent Techrights' Posts

How to Dehumanise a Triple National
Don't be easily incited against those who sacrifice a lot to inform the public of suppressed topics
IBM CEO Says IBM Won't be Bankrupt by 2028 or 2029 (When He Reaches Retirement Age)
IBM has no path to survival
Big Blue's Quiet Axe - Poem Regarding IBM "RAs"
No idea who posted this, but it is profound
 
Gemini Links 05/08/2026: No to Slop, Dangers of Clown Computing, and Reducing Internet Usage
Links for the day
analytics.usa.gov Says 7% of Sessions Come From GNU/Linux and ChromeOS. If ~40% (Mobile) Get Omitted, It's More Like 11%.
In desktops and in laptops GNU/Linux has become a big player
The Register MS Takes Money From NVIDIA and HP to Promote Their Ponzi Scheme, "AI", in a Fake 'Article' That Says "AI" 42 Times
"The media"... selling us scams for profit
Fertility app privacy, Britain's teenage pregnancies & faith based schooling
Reprinted with permission from Daniel Pocock
In Chile, GNU/Linux Approaches 4%
Let's see if it can exceed 5% by year's end
No Room for Misogyny and Incels in Free Software
How can we ever trust men whose own family and their own partners cannot trust?
In El Salvador, ChromeOS and GNU/Linux Now Measured at Around 12%
signs of gradual and steady adoption of GNU/Linux
Software in the Public Interest (SPI) Starts Spending Big Money in an Effort to Resist Lawsuit From Daniel Pocock
They've lost over half a million dollars in the latest 3 years
The Establishment, Cambridge, Steve McIntyre & Debian suicide cluster
Reprinted with permission from Daniel Pocock
Links 05/08/2026: Internet Archive Harmed by Slop Bot, "EBay And Former Execs Agree to Pay $56 Million For Trying to ‘Crush’ a Journalist"
Links for the day
Luxembourg and Software Freedom
Luxembourg's adoption of GNU/Linux has quite consistently been higher than the European average
The Free Software Foundation (FSF) Web Site is Online, GNU's Site Having Issues (Ongoing Issues)
We hope they can rectify the issues with the GNU Web site
Freedom Includes the Liberty to Disagree (and be Listened to, Not Censored)
Freedom is our collective strength
Tanzania: GNU/Linux Now Seen on 8% on Desktops/Laptops (User Clients)
numbers have more than doubled
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, August 04, 2026
IRC logs for Tuesday, August 04, 2026
Gemini Links 05/08/2026: Being Good, Tildeverse and Tilde.pink, Games
Links for the day
Links 04/08/2026: GAFAM Expressing Concerns About Dangerous Disinformation by Slop, Bill Epsteingate-Connected Litigation Firm Salivating Over Europe
Links for the day
Gemini Links 04/08/2026: Root Shell and "Duty of Care"
Links for the day
Alternate Data (Not IBM's Headcount) to Show Mass Layoffs' Effect at IBM (Despite Many Acquired Workers Via M&A)
mass layoffs at Hashicorp and at Confluent this year (media did not cover either).
Growing Proportion of Linux Commits Being Made by LLMs Not a Sign of LLMs Working, It's a Sign of Linux Development Being Shifted From Community to GAFAM and Other Slop Pushers
antagonist became apologist
Worse Than "Taking Your Job", the Slop Pyramid Scheme Will "Take Your Pension"
This will not end well
Abundance of Fake (Sometimes Paid-for) 'News' About IBM Will Discredit the Media as a Whole
In 'the news' today
Microsoft is Trying Vapourware Again (to Keep Developers and Gamers From Fleeing)
For XBox, the main thing over the horizon is additional layoffs
statCounter Reckons 12.33% of Web Traffic in Gambia Can be Attributed to GNU/Linux, Even 15% If Adding ChromeOS
Will this be sustainable?
Reminder: The Pedophilia Problem Comes From the Accusers
Attacks on Richard Stallman are a distraction; his accusers are themselves the culprits
SLAPP Censorship - Part 139 Out of 200: Solicitors Regulation Authority (SRA) Needs More Public Scrutiny (New Management Changed Nothing, It's Costing a Lot of Taxpayers' Money)
millions or maybe billions of pounds wasted
Rumours of Further IBM Shutdowns
IBM is going out of existence
Brigading Against Women - Part II - Threatening Women Using the Human Rights Tribunal of Ontario (HRTO) and Then False Threats Miscarrying the Name of a Court
In this series we intend to show the threats, the outcomes of those threats, the response to those threats
Collapse of MElon Companies a Taste of What's to Come for Slop Bubble and GAFAM (Trillions in Debt, Justified as Slop "Investments")
One good example of this was SpaceX
The 'Hyperinflation' in Hardware Dooms Video Hosting (Very Large Files)
a terabyte of video files would be expensive
Rumours of Silent Layoffs in Microsoft This Month (August 2026), PIPs and Global Voluntary Separation Agreement (GVSA), aka "Buyouts"
Will any investigative journalism follow or just shallow puff pieces and LLM trash from slopfarms?
Links 04/08/2026: "Framework for Musician Burnout" and Alexa+ "is a Buggy Embarrassment"
Links for the day
Signs That XBox as a Console is Coming to an End, Windows Gaming Will be Called "XBox"
"XBox" is the next "Surface"
Microsoft's Share in Search Falls Sharply in Europe
The layoffs at Microsoft's Bing will carry on
Romania: GNU/Linux Reaches 4% (Less Than EU Average)
We expect this same upward trend to carry on
Microsoft Sites or Sites Sponsored by Microsoft Angry That GNU/Linux is Gaining
The Microsofters cannot easily dismiss reports of GNU/Linux growth as "bots" or just allege that statCounter alone is wrong
Ableism in the Free Software Movement Typically Comes From GAFAM Operatives and Proprietary Software Apologists
And their hired guns
Afghanistan: GNU/Linux Steadily Rises to 9%
Windows is steadily declining
IBM Innovation: It Has Invented New Methods of Silent Layoffs or Secret RAs
How IBM disguises mass layoffs now
Many Anniversaries
Many anniversaries in quick succession
LLM Slop Won't Replace People and Jobs (in the Long Run)
At the end of the day, people who know their job offer more useful information, whereas LLMs waste people's time (typically an 'externality' to the entity deploying chatbots)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, August 03, 2026
IRC logs for Monday, August 03, 2026
Over 3,500 Known Gemini Capsules Accessible and Active According to Lupa
It finally happened this morning
Gemini Links 04/08/2026: Library Cards, Dead Ends in Software Development, and DOS on USB Key
Links for the day
IBM Has Embraced and Rewarded Liars
The IBM culture vanished
statCounter Estimates GNU/Linux at 5.32% in Kuwait, Years Ago It Was Near 0%
Kuwait rose to fame in the 1990s because of a war
Swatting People Who Write About Corruption, Misogyny, Criminal Misuse of Funds
we've given ourselves a decade to cover all those stories
GNU/Linux Rises Above 6% in Colombia
In Colombia, which is a large south American country, GNU/Linux has risen steadily in recent years
SLAPP Censorship - Part 138 Out of 200: Garrett Has Basically "Lost" and It is "Embarrassing" to Them
they just wound up costing hundreds of thousands of pounds
Gemini Links 03/08/2026: Great Exodus, xkcd as Text, and Dead Ends
Links for the day
GNU/Linux Has Surged to 6.3% in Madagascar
Madagascar's adoption of Free software is a subject we covered a lot in past years
Microsoft's Slop Bet is Killing the XBox Even Faster
LLMs destroy almost anything they touch
The Cyber Show on "Weaponised Antisocial Technology"
by Andy
Alexandre Oliva on Slippery Slop (LLMs)
By Alexandre Oliva
RMS Won the Argument and Now GNU Wins Over Computer Users
He can look back at nearly 43 years of GNU and say, "I was right..."
statCounter Corrects GNU/Linux Estimates, Now Measured at 9% Worldwide
Windows has sunk like a rock
GNU/Linux-Centric Blogs Belatedly Pick Up News About GNU/Linux Gains: 4-8% Depending on the Surveyor
more people will get curious and give it a go
Links 03/08/2026: Strike By Flight Attendants (WestJet) and Greedflation
Links for the day
Links 03/08/2026: EU Curtailed Slop, Frank Zappa Recalled
Links for the day
Daniel Pocock on Sky News This Morning
No harm done
Morten Linderud Has Helped Microsoft Put Locks (and Kill Switches) on the PCs of Arch Linux Users
"the first rule of "secure boot" is to disable "secure boot"
In Poor Peru, GNU/Linux Surges From 1% to 5% in a Few Years
Windows is dying
All Social Control Media is a Weapon (Against Its Users, Serving the Real Owners)
That social control networks are weaponised isn't a new concept
Fanning the Flames of Journalism
This week we have several surprises coming
Forcing the Slop Bubble to Implode Fully to Save the Economy From an Even Greater Collapse and Societal Harm
Let's blow up the bubble. The sooner, the better
GNU/Linux at 8% in Croatia
somewhat of a GNU/Linux adoption hotbed
It's Easy to Predict Microsoft Layoffs for October 2026 Because of the Financial 'Results' That Month (More Faking, More Secret Debt and Buzzwords to Perfume This Debt as "Investment")
From what we've read, Microsoft is silently laying off people this month based on LITE, which leads to PIPs
Not Hard to Guess Who Will Pay for IBM's Collapse (Due to False Statements Made to Shareholders), Red Hat May Disappear
IBM's leadership is never being punished for its failures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, August 02, 2026
IRC logs for Sunday, August 02, 2026
Gemini Links 03/08/2026: Collectibles, Cities of the Red Night, and Lali Lambda
Links for the day